create

package
v0.25.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrParsingFlag                = errors.New("error while parsing flag")
	ErrDownloadDependenciesFailed = errors.New("dependencies download failed")
	ErrKubeconfigReq              = errors.New("when running distribution phase alone, either the KUBECONFIG environment variable or the --kubeconfig flag should be set")
	ErrKubeconfigNotFound         = errors.New("kubeconfig file not found")
)
View Source
var (
	ErrMandatoryFlag        = errors.New("flag must be specified")
	ErrConfigCreationFailed = fmt.Errorf("config creation failed")
)

Functions

func NewClusterCmd

func NewClusterCmd(tracker *analytics.Tracker) *cobra.Command

func NewConfigCmd

func NewConfigCmd(tracker *analytics.Tracker) *cobra.Command

Types

type ClusterCmdFlags

type ClusterCmdFlags struct {
	Debug              bool
	FuryctlPath        string
	DistroLocation     string
	Phase              string
	SkipPhase          string
	BinPath            string
	SkipVpn            bool
	VpnAutoConnect     bool
	DryRun             bool
	SkipDepsDownload   bool
	SkipDepsValidation bool
	NoTTY              bool
	HTTPS              bool
	Kubeconfig         string
	Timeout            int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL