cmd

package
v0.27.8 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const WrappedErrMessage = "%w: %s"

Variables

View Source
var (
	ErrBashCompletion       = errors.New("error generating bash completion")
	ErrZshCompletion        = errors.New("error generating zsh completion")
	ErrFishCompletion       = errors.New("error generating fish completion")
	ErrPowershellCompletion = errors.New("error generating powershell completion")
)
View Source
var ErrDownloadDependenciesFailed = errors.New("dependencies download failed")
View Source
var ErrParsingFlag = errors.New("error while parsing flag")

Functions

func NewApplyCommand added in v0.27.0

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

func NewCompletionCommand added in v0.27.0

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

func NewConnectCommand added in v0.25.0

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

func NewCreateCommand added in v0.25.0

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

func NewDeleteCommand added in v0.25.0

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

func NewDiffCommand added in v0.27.0

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

func NewDownloadCommand added in v0.27.0

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

func NewDumpCommand added in v0.27.0

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

func NewLegacyCommand added in v0.25.0

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

func NewValidateCommand added in v0.25.0

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

func NewVersionCmd added in v0.25.0

func NewVersionCmd(versions map[string]string, tracker *analytics.Tracker) *cobra.Command

Types

type ClusterCmdFlags added in v0.27.0

type ClusterCmdFlags struct {
	Timeouts
	Debug               bool
	FuryctlPath         string
	DistroLocation      string
	Phase               string
	StartFrom           string
	BinPath             string
	SkipVpn             bool
	VpnAutoConnect      bool
	DryRun              bool
	SkipDepsDownload    bool
	SkipDepsValidation  bool
	SkipNodesUpgrade    bool
	NoTTY               bool
	GitProtocol         git.Protocol
	Force               []string
	Outdir              string
	Upgrade             bool
	UpgradePathLocation string
	UpgradeNode         string
}

type DiffCommandFlags added in v0.27.0

type DiffCommandFlags struct {
	Debug               bool
	FuryctlPath         string
	DistroLocation      string
	Phase               string
	NoTTY               bool
	GitProtocol         git.Protocol
	BinPath             string
	Outdir              string
	UpgradePathLocation string
}

type RootCommand added in v0.25.0

type RootCommand struct {
	*cobra.Command
	// contains filtered or unexported fields
}

func NewRootCommand added in v0.25.0

func NewRootCommand(
	versions map[string]string,
	logFile *os.File,
	tracker *analytics.Tracker,
	token string,
) *RootCommand

type Timeouts added in v0.27.3

type Timeouts struct {
	ProcessTimeout         int
	PodRunningCheckTimeout int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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