Merge pull request #1668 from 24sama/master

feat: modify go mod path
This commit is contained in:
KubeSphere CI Bot 2022-12-19 14:36:51 +08:00 committed by GitHub
commit db8aca4fb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
338 changed files with 1297 additions and 1348 deletions

View File

@ -122,11 +122,11 @@ linters-settings:
- pkg: sigs.k8s.io/cluster-api/internal/webhooks/runtime
alias: runtimewebhooks
# CAPKK
- pkg: github.com/kubesphere/kubekey/api/v1beta1
- pkg: github.com/kubesphere/kubekey/v3/api/v1beta1
alias: infrav1
- pkg: github.com/kubesphere/kubekey/bootstrap/k3s/api/v1beta1
- pkg: github.com/kubesphere/kubekey/v3/bootstrap/k3s/api/v1beta1
alias: infrabootstrapv1
- pkg: github.com/kubesphere/kubekey/controlplane/k3s/api/v1beta1
- pkg: github.com/kubesphere/kubekey/v3/controlplane/k3s/api/v1beta1
alias: infracontrolplanev1
nolintlint:
allow-unused: false

View File

@ -241,7 +241,7 @@ verify-gen: generate ## Verify go generated files are up to date
.PHONY: kk
kk:
CGO_ENABLED=0 go build -trimpath -tags "$(BUILDTAGS)" -ldflags "$(LDFLAGS)" -o $(BIN_DIR)/kk github.com/kubesphere/kubekey/cmd/kk;
CGO_ENABLED=0 go build -trimpath -tags "$(BUILDTAGS)" -ldflags "$(LDFLAGS)" -o $(BIN_DIR)/kk github.com/kubesphere/kubekey/v3/cmd/kk;
ALL_MANAGERS = capkk k3s-bootstrap k3s-control-plane
@ -250,15 +250,15 @@ managers: $(addprefix manager-,$(ALL_MANAGERS)) ## Run all manager-* targets
.PHONY: manager-capkk
manager-capkk: ## Build the capkk manager binary into the ./bin folder
go build -trimpath -ldflags "$(LDFLAGS)" -o $(BIN_DIR)/manager github.com/kubesphere/kubekey
go build -trimpath -ldflags "$(LDFLAGS)" -o $(BIN_DIR)/manager github.com/kubesphere/kubekey/v3
.PHONY: manager-k3s-bootstrap
manager-k3s-bootstrap: ## Build the k3s bootstrap manager binary into the ./bin folder
go build -trimpath -ldflags "$(LDFLAGS)" -o $(BIN_DIR)/k3s-bootstrap-manager github.com/kubesphere/kubekey/bootstrap/k3s
go build -trimpath -ldflags "$(LDFLAGS)" -o $(BIN_DIR)/k3s-bootstrap-manager github.com/kubesphere/kubekey/v3/bootstrap/k3s
.PHONY: manager-k3s-control-plane
manager-k3s-control-plane: ## Build the k3s control plane manager binary into the ./bin folder
go build -trimpath -ldflags "$(LDFLAGS)" -o $(BIN_DIR)/k3s-control-plane-manager github.com/kubesphere/kubekey/controlplane/k3s
go build -trimpath -ldflags "$(LDFLAGS)" -o $(BIN_DIR)/k3s-control-plane-manager github.com/kubesphere/kubekey/v3/controlplane/k3s
.PHONY: docker-pull-prerequisites
docker-pull-prerequisites:

View File

@ -48,12 +48,12 @@ import (
"sigs.k8s.io/controller-runtime/pkg/handler"
"sigs.k8s.io/controller-runtime/pkg/source"
infrabootstrapv1 "github.com/kubesphere/kubekey/bootstrap/k3s/api/v1beta1"
"github.com/kubesphere/kubekey/bootstrap/k3s/pkg/cloudinit"
"github.com/kubesphere/kubekey/bootstrap/k3s/pkg/locking"
k3stypes "github.com/kubesphere/kubekey/bootstrap/k3s/pkg/types"
kklog "github.com/kubesphere/kubekey/util/log"
"github.com/kubesphere/kubekey/util/secret"
infrabootstrapv1 "github.com/kubesphere/kubekey/v3/bootstrap/k3s/api/v1beta1"
"github.com/kubesphere/kubekey/v3/bootstrap/k3s/pkg/cloudinit"
"github.com/kubesphere/kubekey/v3/bootstrap/k3s/pkg/locking"
k3stypes "github.com/kubesphere/kubekey/v3/bootstrap/k3s/pkg/types"
kklog "github.com/kubesphere/kubekey/v3/util/log"
"github.com/kubesphere/kubekey/v3/util/secret"
)
// InitLocker is a lock that is used around kubeadm init.

View File

@ -42,9 +42,9 @@ import (
"sigs.k8s.io/controller-runtime/pkg/controller"
"sigs.k8s.io/controller-runtime/pkg/healthz"
infrabootstrapv1 "github.com/kubesphere/kubekey/bootstrap/k3s/api/v1beta1"
"github.com/kubesphere/kubekey/bootstrap/k3s/controllers"
infracontrolplanev1 "github.com/kubesphere/kubekey/controlplane/k3s/api/v1beta1"
infrabootstrapv1 "github.com/kubesphere/kubekey/v3/bootstrap/k3s/api/v1beta1"
"github.com/kubesphere/kubekey/v3/bootstrap/k3s/controllers"
infracontrolplanev1 "github.com/kubesphere/kubekey/v3/controlplane/k3s/api/v1beta1"
//+kubebuilder:scaffold:imports
)

View File

@ -17,7 +17,7 @@
package cloudinit
import (
"github.com/kubesphere/kubekey/util/secret"
"github.com/kubesphere/kubekey/v3/util/secret"
)
const (

View File

@ -23,7 +23,7 @@ import (
"github.com/jinzhu/copier"
kubeyaml "sigs.k8s.io/yaml"
infrabootstrapv1 "github.com/kubesphere/kubekey/bootstrap/k3s/api/v1beta1"
infrabootstrapv1 "github.com/kubesphere/kubekey/v3/bootstrap/k3s/api/v1beta1"
)
// MarshalInitServerConfiguration marshals the ServerConfiguration object into a string.

View File

@ -22,15 +22,13 @@ import (
"strconv"
"strings"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/pkg/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/logger"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/logger"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util"
)
// ClusterSpec defines the desired state of Cluster

View File

@ -21,7 +21,7 @@ import (
"os"
"strings"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util"
)
const (

View File

@ -19,7 +19,7 @@ package add
import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
)
type AddOptions struct {

View File

@ -19,10 +19,10 @@ package add
import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/pipelines"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/pipelines"
)
type AddNodesOptions struct {

View File

@ -19,7 +19,7 @@ package alpha
import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/alpha/cri"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/alpha/cri"
)
// NewAlphaCmd create a new Alpha command

View File

@ -19,8 +19,8 @@ package alpha
import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/create/phase"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/create/phase"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
)
type CreateOptions struct {
@ -42,6 +42,6 @@ func NewCmdCreate() *cobra.Command {
}
o.CommonOptions.AddCommonFlag(cmd)
cmd.AddCommand(phase.NewPhaseCommand())
cmd.AddCommand(phase.NewPhaseCommand())
return cmd
}

View File

@ -19,7 +19,7 @@ package cri
import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
)
type MigrateOptions struct {

View File

@ -21,10 +21,10 @@ import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/pipelines"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/pipelines"
)
type MigrateCriOptions struct {

View File

@ -17,13 +17,14 @@ limitations under the License.
package alpha
import (
"github.com/kubesphere/kubekey/cmd/kk/cmd/upgrade/phase"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/upgrade/phase"
)
type UpgradeOptions struct {
CommonOptions *options.CommonOptions
CommonOptions *options.CommonOptions
}
func NewUpgradeOptions() *UpgradeOptions {
@ -43,4 +44,3 @@ func NewCmdUpgrade() *cobra.Command {
cmd.AddCommand(phase.NewPhaseCommand())
return cmd
}

View File

@ -19,8 +19,8 @@ package artifact
import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/artifact/images"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/artifact/images"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
)
type ArtifactOptions struct {

View File

@ -21,10 +21,10 @@ import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/pipelines"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/pipelines"
)
type ArtifactExportOptions struct {

View File

@ -19,7 +19,7 @@ package images
import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
)
type ArtifactImagesOptions struct {

View File

@ -23,14 +23,14 @@ import (
"github.com/pkg/errors"
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/artifact"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/module"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/pipeline"
"github.com/kubesphere/kubekey/cmd/kk/pkg/filesystem"
"github.com/kubesphere/kubekey/cmd/kk/pkg/images"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/artifact"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/module"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/pipeline"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/filesystem"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/images"
)
type ArtifactImagesPushOptions struct {

View File

@ -21,10 +21,10 @@ import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/phase/artifact"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/phase/artifact"
)
type ArtifactImportOptions struct {

View File

@ -19,7 +19,7 @@ package cert
import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
)
type CertOptions struct {

View File

@ -19,10 +19,10 @@ package cert
import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/pipelines"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/pipelines"
)
type CertListOptions struct {

View File

@ -19,10 +19,10 @@ package cert
import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/pipelines"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/pipelines"
)
type CertRenewOptions struct {

View File

@ -21,7 +21,7 @@ import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
)
// CompletionOptions is the option of completion command

View File

@ -22,12 +22,12 @@ import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/pipelines"
"github.com/kubesphere/kubekey/cmd/kk/pkg/version/kubernetes"
"github.com/kubesphere/kubekey/cmd/kk/pkg/version/kubesphere"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/pipelines"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/version/kubernetes"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/version/kubesphere"
)
type CreateClusterOptions struct {

View File

@ -21,11 +21,11 @@ import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/config"
"github.com/kubesphere/kubekey/cmd/kk/pkg/version/kubesphere"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/config"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/version/kubesphere"
)
type CreateConfigOptions struct {

View File

@ -19,7 +19,7 @@ package create
import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
)
type CreateOptions struct {

View File

@ -26,10 +26,10 @@ import (
"github.com/spf13/cobra"
"k8s.io/client-go/util/homedir"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/artifact"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/artifact"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
)
type CreateManifestOptions struct {

View File

@ -21,11 +21,11 @@ import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/phase/binary"
"github.com/kubesphere/kubekey/cmd/kk/pkg/version/kubernetes"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/phase/binary"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/version/kubernetes"
)
type CreateBinaryOptions struct {

View File

@ -21,10 +21,10 @@ import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/phase/kubernetes"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/phase/kubernetes"
)
type CreateConfigureKubernetesOptions struct {

View File

@ -19,10 +19,10 @@ package phase
import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/phase/etcd"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/phase/etcd"
)
type CreateEtcdOptions struct {

View File

@ -21,10 +21,10 @@ import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/phase/images"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/phase/images"
)
type CreateImagesOptions struct {

View File

@ -21,10 +21,10 @@ import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/phase/kubernetes"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/phase/kubernetes"
)
type CreateInitClusterOptions struct {

View File

@ -21,10 +21,10 @@ import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/phase/kubernetes"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/phase/kubernetes"
)
type CreateJoinNodesOptions struct {

View File

@ -22,11 +22,11 @@ import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
alpha "github.com/kubesphere/kubekey/cmd/kk/pkg/phase/kubesphere"
"github.com/kubesphere/kubekey/cmd/kk/pkg/version/kubesphere"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
alpha "github.com/kubesphere/kubekey/v3/cmd/kk/pkg/phase/kubesphere"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/version/kubesphere"
)
type CreateKubeSphereOptions struct {

View File

@ -19,10 +19,10 @@ package phase
import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/phase/os"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/phase/os"
)
type ConfigOSOptions struct {

View File

@ -19,7 +19,7 @@ package delete
import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
)
type DeleteOptions struct {

View File

@ -19,10 +19,10 @@ package delete
import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/pipelines"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/pipelines"
)
type DeleteClusterOptions struct {

View File

@ -22,10 +22,10 @@ import (
"github.com/pkg/errors"
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/pipelines"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/pipelines"
)
type DeleteNodeOptions struct {

View File

@ -19,7 +19,7 @@ package init
import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
)
type InitOptions struct {

View File

@ -19,10 +19,10 @@ package init
import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/pipelines"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/pipelines"
)
type InitOsOptions struct {

View File

@ -19,10 +19,10 @@ package init
import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/pipelines"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/pipelines"
)
type InitRegistryOptions struct {

View File

@ -29,7 +29,7 @@ import (
cmdutil "k8s.io/kubectl/pkg/cmd/util"
"k8s.io/kubectl/pkg/util/i18n"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
)
type PluginListOptions struct {

View File

@ -19,7 +19,7 @@ package plugin
import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
)
var (

View File

@ -26,18 +26,18 @@ import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/add"
"github.com/kubesphere/kubekey/cmd/kk/cmd/alpha"
"github.com/kubesphere/kubekey/cmd/kk/cmd/artifact"
"github.com/kubesphere/kubekey/cmd/kk/cmd/cert"
"github.com/kubesphere/kubekey/cmd/kk/cmd/completion"
"github.com/kubesphere/kubekey/cmd/kk/cmd/create"
"github.com/kubesphere/kubekey/cmd/kk/cmd/delete"
initOs "github.com/kubesphere/kubekey/cmd/kk/cmd/init"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/plugin"
"github.com/kubesphere/kubekey/cmd/kk/cmd/upgrade"
"github.com/kubesphere/kubekey/cmd/kk/cmd/version"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/add"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/alpha"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/artifact"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/cert"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/completion"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/create"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/delete"
initOs "github.com/kubesphere/kubekey/v3/cmd/kk/cmd/init"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/plugin"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/upgrade"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/version"
)
type KubeKeyOptions struct {

View File

@ -21,12 +21,11 @@ import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/phase/binary"
"github.com/kubesphere/kubekey/cmd/kk/pkg/version/kubernetes"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/phase/binary"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/version/kubernetes"
)
type UpgradeBinaryOptions struct {

View File

@ -21,11 +21,10 @@ import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/phase/images"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/phase/images"
)
type UpgradeImagesOptions struct {

View File

@ -22,12 +22,11 @@ import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
alpha "github.com/kubesphere/kubekey/cmd/kk/pkg/phase/kubesphere"
"github.com/kubesphere/kubekey/cmd/kk/pkg/version/kubesphere"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
alpha "github.com/kubesphere/kubekey/v3/cmd/kk/pkg/phase/kubesphere"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/version/kubesphere"
)
type UpgradeKubeSphereOptions struct {

View File

@ -19,12 +19,12 @@ package phase
import (
"fmt"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/phase/nodes"
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/phase/nodes"
)
type UpgradeNodesOptions struct {

View File

@ -22,13 +22,12 @@ import (
"github.com/spf13/cobra"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/pipelines"
"github.com/kubesphere/kubekey/cmd/kk/pkg/version/kubernetes"
"github.com/kubesphere/kubekey/cmd/kk/pkg/version/kubesphere"
"github.com/kubesphere/kubekey/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/options"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/pipelines"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/version/kubernetes"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/version/kubesphere"
)
type UpgradeOptions struct {

View File

@ -26,8 +26,8 @@ import (
"github.com/spf13/cobra"
"gopkg.in/yaml.v2"
"github.com/kubesphere/kubekey/cmd/kk/pkg/version/kubernetes"
"github.com/kubesphere/kubekey/version"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/version/kubernetes"
"github.com/kubesphere/kubekey/v3/version"
)
type Version struct {

View File

@ -20,7 +20,7 @@ import (
"os"
"os/exec"
"github.com/kubesphere/kubekey/cmd/kk/cmd"
"github.com/kubesphere/kubekey/v3/cmd/kk/cmd"
)
// Using a separate entry-point can reduce the size of the binary file

View File

@ -26,8 +26,8 @@ import (
"helm.sh/helm/v3/pkg/cli"
"helm.sh/helm/v3/pkg/getter"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/v3/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
)
func InstallAddons(kubeConf *common.KubeConf, addon *kubekeyapiv1alpha2.Addon, kubeConfig string) error {

View File

@ -35,9 +35,9 @@ import (
"helm.sh/helm/v3/pkg/storage/driver"
"k8s.io/client-go/util/homedir"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/logger"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/v3/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/logger"
)
func debug(format string, v ...interface{}) {

View File

@ -17,8 +17,8 @@
package addons
import (
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/task"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/task"
)
type AddonsModule struct {

View File

@ -20,9 +20,9 @@ import (
"fmt"
"path/filepath"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/logger"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/logger"
)
type Install struct {

View File

@ -27,15 +27,14 @@ import (
mapset "github.com/deckarep/golang-set"
"github.com/pkg/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
versionutil "k8s.io/apimachinery/pkg/util/version"
kubekeyv1alpha2 "github.com/kubesphere/kubekey/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/cmd/kk/pkg/artifact/templates"
"github.com/kubesphere/kubekey/cmd/kk/pkg/client/kubernetes"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/util"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
kubekeyv1alpha2 "github.com/kubesphere/kubekey/v3/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/artifact/templates"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/client/kubernetes"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util"
)
func CreateManifest(arg common.Argument, name string) error {

View File

@ -17,8 +17,8 @@
package artifact
import (
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/task"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/task"
)
type RepositoryModule struct {

View File

@ -18,8 +18,9 @@ package artifact
import (
"fmt"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
)
type EnableDownload struct {

View File

@ -27,10 +27,10 @@ import (
"github.com/pkg/errors"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/logger"
coreutil "github.com/kubesphere/kubekey/cmd/kk/pkg/core/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/logger"
coreutil "github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util"
)
type DownloadISOFile struct {

View File

@ -17,10 +17,12 @@
package templates
import (
kubekeyv1alpha2 "github.com/kubesphere/kubekey/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/util"
"github.com/lithammer/dedent"
"text/template"
"github.com/lithammer/dedent"
kubekeyv1alpha2 "github.com/kubesphere/kubekey/v3/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util"
)
// Manifest defines the template of manifest file.

View File

@ -20,13 +20,14 @@ import (
"fmt"
"os/exec"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/cache"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/logger"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/files"
"github.com/pkg/errors"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/v3/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/cache"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/logger"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/files"
)
// K3sFilesDownloadHTTP defines the kubernetes' binaries that need to be downloaded in advance and downloads them.

View File

@ -20,13 +20,14 @@ import (
"fmt"
"os/exec"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/cache"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/logger"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/files"
"github.com/pkg/errors"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/v3/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/cache"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/logger"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/files"
)
// K8eFilesDownloadHTTP defines the kubernetes' binaries that need to be downloaded in advance and downloads them.

View File

@ -20,13 +20,14 @@ import (
"fmt"
"os/exec"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/cache"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/logger"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/files"
"github.com/pkg/errors"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/v3/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/cache"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/logger"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/files"
)
// K8sFilesDownloadHTTP defines the kubernetes' binaries that need to be downloaded in advance and downloads them.

View File

@ -17,10 +17,11 @@
package binaries
import (
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/logger"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/task"
"github.com/pkg/errors"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/logger"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/task"
)
type NodeBinariesModule struct {

View File

@ -22,12 +22,12 @@ import (
"github.com/pkg/errors"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/cache"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/logger"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/files"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/v3/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/cache"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/logger"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/files"
)
// RegistryPackageDownloadHTTP defines the kubernetes' binaries that need to be downloaded in advance and downloads them.

View File

@ -21,10 +21,11 @@ import (
"path/filepath"
mapset "github.com/deckarep/golang-set"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/pkg/errors"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/v3/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
)
type Download struct {

View File

@ -17,9 +17,9 @@
package confirm
import (
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/module"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/task"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/module"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/task"
)
type InstallConfirmModule struct {

View File

@ -28,11 +28,11 @@ import (
"github.com/pkg/errors"
versionutil "k8s.io/apimachinery/pkg/util/version"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/action"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/logger"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/action"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/logger"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util"
)
// PreCheckResults defines the items to be checked.

View File

@ -19,9 +19,9 @@ package customscripts
import (
"fmt"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/module"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/task"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/v3/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/module"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/task"
)
type CustomScriptsModule struct {
@ -44,7 +44,7 @@ func (m *CustomScriptsModule) Init() {
Hosts: m.Runtime.GetAllHosts(),
Action: &CustomScriptTask{taskDir: taskDir, script: script},
Parallel: true,
Retry: 1,
Retry: 1,
}
m.Tasks = append(m.Tasks, task)

View File

@ -26,11 +26,11 @@ import (
"github.com/pkg/errors"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/action"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/util"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/v3/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/action"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util"
)
type CustomScriptTask struct {
@ -39,8 +39,6 @@ type CustomScriptTask struct {
script kubekeyapiv1alpha2.CustomScripts
}
func (t *CustomScriptTask) Execute(runtime connector.Runtime) error {
if len(t.script.Bash) <= 0 {
@ -111,7 +109,7 @@ func (t *CustomScriptTask) Execute(runtime connector.Runtime) error {
if _, err := runtime.GetRunner().SudoCmd(cleanCmd, false); err != nil {
return errors.Wrapf(err, "Exec cmd:%s err:%s", cleanCmd, err)
}
}else {
} else {
// keep the Materials for debug
fmt.Printf("Exec Bash:%s done, take %s, output:\n%s", RunBash, time.Since(start), out)
}

View File

@ -19,12 +19,12 @@ package os
import (
"path/filepath"
"github.com/kubesphere/kubekey/cmd/kk/pkg/bootstrap/os/templates"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/action"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/prepare"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/task"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/bootstrap/os/templates"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/action"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/prepare"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/task"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util"
)
type ConfigureOSModule struct {

View File

@ -17,9 +17,9 @@
package os
import (
kubekeyv1alpha2 "github.com/kubesphere/kubekey/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
kubekeyv1alpha2 "github.com/kubesphere/kubekey/v3/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
)
type NodeConfigureNtpCheck struct {

View File

@ -18,8 +18,9 @@ package repository
import (
"fmt"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"strings"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
)
type Interface interface {

View File

@ -20,7 +20,7 @@ import (
"fmt"
"strings"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
)
type Debian struct {

View File

@ -20,7 +20,7 @@ import (
"fmt"
"strings"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
)
type RedhatPackageManager struct {

View File

@ -18,12 +18,14 @@ package os
import (
"fmt"
"github.com/kubesphere/kubekey/cmd/kk/pkg/bootstrap/os/repository"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/ending"
"github.com/pkg/errors"
"path/filepath"
"github.com/pkg/errors"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/bootstrap/os/repository"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/ending"
)
type RollbackUmount struct {

View File

@ -23,11 +23,11 @@ import (
"github.com/pkg/errors"
"github.com/kubesphere/kubekey/cmd/kk/pkg/bootstrap/os/repository"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/cmd/kk/pkg/utils"
"github.com/kubesphere/kubekey/util/osrelease"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/bootstrap/os/repository"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/utils"
"github.com/kubesphere/kubekey/v3/util/osrelease"
)
type NodeConfigureOS struct {

View File

@ -20,11 +20,11 @@ import (
"fmt"
"text/template"
"github.com/kubesphere/kubekey/cmd/kk/pkg/bootstrap/registry"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/lithammer/dedent"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/bootstrap/registry"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
)
var InitOsScriptTmpl = template.Must(template.New("initOS.sh").Parse(

View File

@ -19,10 +19,10 @@ package precheck
import (
"time"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/module"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/prepare"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/task"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/module"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/prepare"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/task"
)
type GreetingsModule struct {

View File

@ -17,9 +17,10 @@
package precheck
import (
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/pkg/errors"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
)
type KubeSphereExist struct {

View File

@ -24,12 +24,12 @@ import (
"github.com/pkg/errors"
versionutil "k8s.io/apimachinery/pkg/util/version"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/action"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/logger"
"github.com/kubesphere/kubekey/cmd/kk/pkg/version/kubernetes"
"github.com/kubesphere/kubekey/cmd/kk/pkg/version/kubesphere"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/action"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/logger"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/version/kubernetes"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/version/kubesphere"
)
type GreetingsTask struct {

View File

@ -19,16 +19,18 @@ package registry
import (
"crypto/x509"
"fmt"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/cmd/kk/pkg/utils/certs"
"net"
"path/filepath"
"strings"
"github.com/pkg/errors"
"k8s.io/client-go/util/cert"
certutil "k8s.io/client-go/util/cert"
netutils "k8s.io/utils/net"
"net"
"path/filepath"
"strings"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/utils/certs"
)
const (

View File

@ -20,14 +20,14 @@ import (
"fmt"
"path/filepath"
"github.com/kubesphere/kubekey/cmd/kk/pkg/bootstrap/registry/templates"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/container"
docker_template "github.com/kubesphere/kubekey/cmd/kk/pkg/container/templates"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/action"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/prepare"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/task"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/bootstrap/registry/templates"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/container"
docker_template "github.com/kubesphere/kubekey/v3/cmd/kk/pkg/container/templates"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/action"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/prepare"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/task"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util"
)
type RegistryCertsModule struct {

View File

@ -17,8 +17,8 @@
package registry
import (
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
)
type FirstRegistryNode struct {

View File

@ -21,11 +21,12 @@ import (
"path/filepath"
"strings"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/cmd/kk/pkg/files"
"github.com/kubesphere/kubekey/cmd/kk/pkg/utils"
"github.com/pkg/errors"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/files"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/utils"
)
type SyncCertsFile struct {

View File

@ -21,13 +21,13 @@ import (
versionutil "k8s.io/apimachinery/pkg/util/version"
"github.com/kubesphere/kubekey/cmd/kk/pkg/certs/templates"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/action"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/prepare"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/task"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/kubernetes"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/certs/templates"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/action"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/prepare"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/task"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/kubernetes"
)
type CheckCertsModule struct {

View File

@ -19,9 +19,9 @@ package certs
import (
"path/filepath"
"github.com/kubesphere/kubekey/cmd/kk/pkg/certs/templates"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/certs/templates"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
)
type AutoRenewCertsEnabled struct {

View File

@ -19,21 +19,23 @@ package certs
import (
"encoding/base64"
"fmt"
"github.com/kubesphere/kubekey/cmd/kk/pkg/certs/templates"
"github.com/kubesphere/kubekey/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/cmd/kk/pkg/utils"
"os"
"path/filepath"
"strings"
"text/tabwriter"
"time"
"github.com/pkg/errors"
"k8s.io/apimachinery/pkg/runtime/schema"
versionutil "k8s.io/apimachinery/pkg/util/version"
clientcmdapi "k8s.io/client-go/tools/clientcmd/api"
clientcmdlatest "k8s.io/client-go/tools/clientcmd/api/latest"
certutil "k8s.io/client-go/util/cert"
"os"
"path/filepath"
"strings"
"text/tabwriter"
"time"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/certs/templates"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/common"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/utils"
)
type Certificate struct {

View File

@ -17,8 +17,8 @@
package common
import (
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/action"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/action"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
)
type ArtifactAction struct {

View File

@ -17,8 +17,8 @@
package common
import (
kubekeyv1alpha2 "github.com/kubesphere/kubekey/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/module"
kubekeyv1alpha2 "github.com/kubesphere/kubekey/v3/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/module"
)
type ArtifactManifest struct {

View File

@ -17,8 +17,8 @@
package common
import (
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/prepare"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/prepare"
)
type ArtifactPrepare struct {

View File

@ -24,8 +24,8 @@ import (
"github.com/pkg/errors"
k8syaml "k8s.io/apimachinery/pkg/util/yaml"
kubekeyv1alpha2 "github.com/kubesphere/kubekey/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
kubekeyv1alpha2 "github.com/kubesphere/kubekey/v3/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
)
type ArtifactArgument struct {

View File

@ -17,8 +17,8 @@
package common
import (
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/action"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/action"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
)
type KubeAction struct {

View File

@ -17,8 +17,8 @@
package common
import (
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/module"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/v3/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/module"
)
type KubeConf struct {

View File

@ -17,8 +17,8 @@
package common
import (
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/prepare"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/prepare"
)
type KubePrepare struct {

View File

@ -17,8 +17,8 @@
package common
import (
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/rollback"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/rollback"
)
type KubeRollback struct {

View File

@ -17,8 +17,8 @@
package common
import (
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/v3/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
)
type KubeRuntime struct {

View File

@ -33,9 +33,9 @@ import (
"gopkg.in/yaml.v2"
k8syaml "k8s.io/apimachinery/pkg/util/yaml"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/util"
"github.com/kubesphere/kubekey/cmd/kk/pkg/version/kubesphere"
kubekeyapiv1alpha2 "github.com/kubesphere/kubekey/v3/cmd/kk/apis/kubekey/v1alpha2"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/version/kubesphere"
)
var (

View File

@ -25,8 +25,8 @@ import (
"github.com/pkg/errors"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/cmd/kk/pkg/core/util"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/connector"
"github.com/kubesphere/kubekey/v3/cmd/kk/pkg/core/util"
)
type LocalRuntime struct {

Some files were not shown because too many files have changed in this diff Show More