1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

feat(libhelm) update missed package paths [EE-4650] (#8134)

* add missing pkg paths

* fix go tests

* fixed pkg paths
This commit is contained in:
Matt Hook 2022-12-05 10:38:16 +13:00 committed by GitHub
parent cbaba43842
commit d6a3fe23e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 48 additions and 46 deletions

View file

@ -2,7 +2,8 @@ package binary
import (
"github.com/pkg/errors"
"github.com/portainer/libhelm/options"
"github.com/portainer/portainer/pkg/libhelm/options"
)
// Get runs `helm get` with specified get options.

View file

@ -7,7 +7,7 @@ import (
"runtime"
"github.com/pkg/errors"
"github.com/portainer/libhelm/options"
"github.com/portainer/portainer/pkg/libhelm/options"
)
// helmBinaryPackageManager is a wrapper for the helm binary which implements HelmPackageManager

View file

@ -4,8 +4,8 @@ import (
"encoding/json"
"github.com/pkg/errors"
"github.com/portainer/libhelm/options"
"github.com/portainer/libhelm/release"
"github.com/portainer/portainer/pkg/libhelm/options"
"github.com/portainer/portainer/pkg/libhelm/release"
)
// Install runs `helm install` with specified install options.

View file

@ -6,7 +6,7 @@ import (
"path/filepath"
"testing"
"github.com/portainer/libhelm/options"
"github.com/portainer/portainer/pkg/libhelm/options"
"github.com/stretchr/testify/assert"
)

View file

@ -4,8 +4,8 @@ import (
"encoding/json"
"github.com/pkg/errors"
"github.com/portainer/libhelm/options"
"github.com/portainer/libhelm/release"
"github.com/portainer/portainer/pkg/libhelm/options"
"github.com/portainer/portainer/pkg/libhelm/release"
)
// List runs `helm list --output json --filter <filter> --selector <selector> --namespace <namespace>` with specified list options.

View file

@ -12,7 +12,7 @@ import (
"time"
"github.com/pkg/errors"
"github.com/portainer/libhelm/options"
"github.com/portainer/portainer/pkg/libhelm/options"
"gopkg.in/yaml.v3"
)

View file

@ -3,8 +3,8 @@ package binary
import (
"testing"
"github.com/portainer/libhelm/libhelmtest"
"github.com/portainer/libhelm/options"
"github.com/portainer/portainer/pkg/libhelm/libhelmtest"
"github.com/portainer/portainer/pkg/libhelm/options"
"github.com/stretchr/testify/assert"
)

View file

@ -2,7 +2,7 @@ package binary
import (
"github.com/pkg/errors"
"github.com/portainer/libhelm/options"
"github.com/portainer/portainer/pkg/libhelm/options"
)
var errRequiredShowOptions = errors.New("chart, repo and output format are required")

View file

@ -5,9 +5,9 @@ import (
"strings"
"github.com/pkg/errors"
"github.com/portainer/libhelm/options"
"github.com/portainer/libhelm/release"
"github.com/portainer/portainer/api/pkg/libhelm"
"github.com/portainer/portainer/pkg/libhelm"
"github.com/portainer/portainer/pkg/libhelm/options"
"github.com/portainer/portainer/pkg/libhelm/release"
"gopkg.in/yaml.v3"
)

View file

@ -2,7 +2,7 @@ package binary
import (
"github.com/pkg/errors"
"github.com/portainer/libhelm/options"
"github.com/portainer/portainer/pkg/libhelm/options"
)
var errRequiredUninstallOptions = errors.New("release name is required")