Skip to content

Commit

Permalink
fixed import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
facchettos committed May 24, 2024
1 parent 83603ab commit 1189e72
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion cmd/vclusterctl/cmd/platform/access_key.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/loft-sh/api/v4/pkg/product"
"github.com/loft-sh/log"
"github.com/loft-sh/vcluster/pkg/cli/flags"
client "github.com/loft-sh/vcluster/pkg/loftclient"
client "github.com/loft-sh/vcluster/pkg/platform/loftclient"
"github.com/spf13/cobra"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/pkg/apis/clientauthentication/v1beta1"
Expand Down
8 changes: 4 additions & 4 deletions cmd/vclusterctl/cmd/platform/add/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import (
"time"

"github.com/loft-sh/log"
"github.com/loft-sh/vcluster/pkg/clihelper"
"github.com/loft-sh/vcluster/pkg/kube"
client "github.com/loft-sh/vcluster/pkg/loftclient"
"github.com/loft-sh/vcluster/pkg/loftclient/helper"
"github.com/loft-sh/vcluster/pkg/platform/clihelper"
"github.com/loft-sh/vcluster/pkg/platform/kube"
client "github.com/loft-sh/vcluster/pkg/platform/loftclient"
"github.com/loft-sh/vcluster/pkg/platform/loftclient/helper"
"github.com/sirupsen/logrus"
kerrors "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/util/wait"
Expand Down
6 changes: 3 additions & 3 deletions cmd/vclusterctl/cmd/platform/connect/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
"github.com/loft-sh/api/v4/pkg/product"
"github.com/loft-sh/log"
"github.com/loft-sh/vcluster/pkg/cli/flags"
"github.com/loft-sh/vcluster/pkg/kubeconfig"
client "github.com/loft-sh/vcluster/pkg/loftclient"
"github.com/loft-sh/vcluster/pkg/loftclient/helper"
"github.com/loft-sh/vcluster/pkg/platform/kubeconfig"
client "github.com/loft-sh/vcluster/pkg/platform/loftclient"
"github.com/loft-sh/vcluster/pkg/platform/loftclient/helper"
"github.com/loft-sh/vcluster/pkg/upgrade"
"github.com/mgutz/ansi"
"github.com/spf13/cobra"
Expand Down
2 changes: 1 addition & 1 deletion cmd/vclusterctl/cmd/platform/connect/connect.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package connect
import (
"github.com/loft-sh/api/v4/pkg/product"
"github.com/loft-sh/vcluster/pkg/cli/flags"
"github.com/loft-sh/vcluster/pkg/platformdefaults"
platformdefaults "github.com/loft-sh/vcluster/pkg/platform/defaults"
"github.com/spf13/cobra"
)

Expand Down
6 changes: 3 additions & 3 deletions cmd/vclusterctl/cmd/platform/get/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (

managementv1 "github.com/loft-sh/api/v4/pkg/apis/management/v1"
"github.com/loft-sh/vcluster/pkg/cli/flags"
client "github.com/loft-sh/vcluster/pkg/loftclient"
"github.com/loft-sh/vcluster/pkg/loftclient/naming"
config "github.com/loft-sh/vcluster/pkg/loftconfig"
client "github.com/loft-sh/vcluster/pkg/platform/loftclient"
"github.com/loft-sh/vcluster/pkg/platform/loftclient/naming"
config "github.com/loft-sh/vcluster/pkg/platform/loftconfig"
"github.com/spf13/cobra"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/util/wait"
Expand Down
2 changes: 1 addition & 1 deletion cmd/vclusterctl/cmd/platform/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/loft-sh/log"
"github.com/loft-sh/vcluster/pkg/cli"
"github.com/loft-sh/vcluster/pkg/cli/flags"
loftctlUtil "github.com/loft-sh/vcluster/pkg/loftutils"
"github.com/loft-sh/vcluster/pkg/platform"
loftctlUtil "github.com/loft-sh/vcluster/pkg/platform/loftutils"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/vclusterctl/cmd/platform/list/clusters.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/loft-sh/log"
"github.com/loft-sh/log/table"
"github.com/loft-sh/vcluster/pkg/cli/flags"
client "github.com/loft-sh/vcluster/pkg/loftclient"
client "github.com/loft-sh/vcluster/pkg/platform/loftclient"
"github.com/spf13/cobra"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/util/duration"
Expand Down
2 changes: 1 addition & 1 deletion cmd/vclusterctl/cmd/platform/pro.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/loft-sh/log"
"github.com/loft-sh/vcluster/cmd/vclusterctl/cmd/platform/connect"
"github.com/loft-sh/vcluster/pkg/cli/flags"
"github.com/loft-sh/vcluster/pkg/platformdefaults"
platformdefaults "github.com/loft-sh/vcluster/pkg/platform/defaults"
"github.com/spf13/cobra"
)

Expand Down
10 changes: 5 additions & 5 deletions pkg/platform/loftclient/helper/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ import (
"strings"

"github.com/loft-sh/api/v4/pkg/client/clientset_generated/clientset/scheme"
"github.com/loft-sh/vcluster/pkg/loftclient/naming"
"github.com/loft-sh/vcluster/pkg/platform/loftclient/naming"
authorizationv1 "k8s.io/api/authorization/v1"

clusterv1 "github.com/loft-sh/agentapi/v4/pkg/apis/loft/cluster/v1"
managementv1 "github.com/loft-sh/api/v4/pkg/apis/management/v1"
"github.com/loft-sh/log"
"github.com/loft-sh/log/survey"
"github.com/loft-sh/vcluster/pkg/clihelper"
"github.com/loft-sh/vcluster/pkg/kube"
"github.com/loft-sh/vcluster/pkg/kubeconfig"
client "github.com/loft-sh/vcluster/pkg/loftclient"
"github.com/loft-sh/vcluster/pkg/platform/clihelper"
"github.com/loft-sh/vcluster/pkg/platform/kube"
"github.com/loft-sh/vcluster/pkg/platform/kubeconfig"
client "github.com/loft-sh/vcluster/pkg/platform/loftclient"
"github.com/mgutz/ansi"
kerrors "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down

0 comments on commit 1189e72

Please sign in to comment.