feat(libhttp): move into the Portainer repository EE-5475 (#10231)

This commit is contained in:
andres-portainer
2023-09-01 19:27:02 -03:00
committed by GitHub
parent 090fa4aeb3
commit 8cc5e0796c
249 changed files with 1059 additions and 639 deletions

View File

@@ -4,10 +4,6 @@ import (
"net/http"
"time"
"github.com/pkg/errors"
httperror "github.com/portainer/libhttp/error"
"github.com/portainer/libhttp/request"
"github.com/portainer/libhttp/response"
portainer "github.com/portainer/portainer/api"
gittypes "github.com/portainer/portainer/api/git/types"
"github.com/portainer/portainer/api/git/update"
@@ -15,6 +11,11 @@ import (
"github.com/portainer/portainer/api/http/security"
"github.com/portainer/portainer/api/stacks/deployments"
"github.com/portainer/portainer/api/stacks/stackutils"
httperror "github.com/portainer/portainer/pkg/libhttp/error"
"github.com/portainer/portainer/pkg/libhttp/request"
"github.com/portainer/portainer/pkg/libhttp/response"
"github.com/pkg/errors"
)
type stackGitUpdatePayload struct {