diff --git a/cmd/cofidectl/cmd/federation/federation.go b/cmd/cofidectl/cmd/federation/federation.go index 3199c5b..f5d7b12 100644 --- a/cmd/cofidectl/cmd/federation/federation.go +++ b/cmd/cofidectl/cmd/federation/federation.go @@ -11,7 +11,7 @@ import ( trust_zone_proto "github.com/cofide/cofide-api-sdk/gen/go/proto/trust_zone/v1alpha1" cmdcontext "github.com/cofide/cofidectl/pkg/cmd/context" - "github.com/cofide/cofidectl/internal/pkg/spire" + "github.com/cofide/cofidectl/pkg/spire" kubeutil "github.com/cofide/cofidectl/pkg/kube" "github.com/cofide/cofidectl/pkg/provider/helm" "github.com/olekukonko/tablewriter" diff --git a/cmd/cofidectl/cmd/trustzone/trustzone.go b/cmd/cofidectl/cmd/trustzone/trustzone.go index 41a4dbf..9302fc5 100644 --- a/cmd/cofidectl/cmd/trustzone/trustzone.go +++ b/cmd/cofidectl/cmd/trustzone/trustzone.go @@ -17,7 +17,7 @@ import ( trust_provider_proto "github.com/cofide/cofide-api-sdk/gen/go/proto/trust_provider/v1alpha1" trust_zone_proto "github.com/cofide/cofide-api-sdk/gen/go/proto/trust_zone/v1alpha1" - "github.com/cofide/cofidectl/internal/pkg/spire" + "github.com/cofide/cofidectl/pkg/spire" kubeutil "github.com/cofide/cofidectl/pkg/kube" cofidectl_plugin "github.com/cofide/cofidectl/pkg/plugin" helmprovider "github.com/cofide/cofidectl/pkg/provider/helm" diff --git a/internal/pkg/workload/workload.go b/internal/pkg/workload/workload.go index d097425..1224ea3 100644 --- a/internal/pkg/workload/workload.go +++ b/internal/pkg/workload/workload.go @@ -8,7 +8,7 @@ import ( "fmt" "time" - "github.com/cofide/cofidectl/internal/pkg/spire" + "github.com/cofide/cofidectl/pkg/spire" kubeutil "github.com/cofide/cofidectl/pkg/kube" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/pkg/plugin/provision/spirehelm/spirehelm.go b/pkg/plugin/provision/spirehelm/spirehelm.go index 8128c1b..c15276a 100644 --- a/pkg/plugin/provision/spirehelm/spirehelm.go +++ b/pkg/plugin/provision/spirehelm/spirehelm.go @@ -10,12 +10,12 @@ import ( trust_zone_proto "github.com/cofide/cofide-api-sdk/gen/go/proto/trust_zone/v1alpha1" "github.com/cofide/cofidectl/cmd/cofidectl/cmd/statusspinner" - "github.com/cofide/cofidectl/internal/pkg/spire" kubeutil "github.com/cofide/cofidectl/pkg/kube" "github.com/cofide/cofidectl/pkg/plugin" "github.com/cofide/cofidectl/pkg/plugin/provision" "github.com/cofide/cofidectl/pkg/provider" "github.com/cofide/cofidectl/pkg/provider/helm" + "github.com/cofide/cofidectl/pkg/spire" ) // Type check that SpireHelm implements the Provision interface. diff --git a/internal/pkg/spire/spire.go b/pkg/spire/spire.go similarity index 100% rename from internal/pkg/spire/spire.go rename to pkg/spire/spire.go diff --git a/internal/pkg/spire/spire_server_cli.go b/pkg/spire/spire_server_cli.go similarity index 100% rename from internal/pkg/spire/spire_server_cli.go rename to pkg/spire/spire_server_cli.go diff --git a/internal/pkg/spire/spire_server_cli_test.go b/pkg/spire/spire_server_cli_test.go similarity index 100% rename from internal/pkg/spire/spire_server_cli_test.go rename to pkg/spire/spire_server_cli_test.go diff --git a/internal/pkg/spire/spire_test.go b/pkg/spire/spire_test.go similarity index 100% rename from internal/pkg/spire/spire_test.go rename to pkg/spire/spire_test.go