cmd

package
v0.29.4-rc.4 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: Apache-2.0 Imports: 42 Imported by: 0

Documentation

Index

Constants

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

Variables

View Source
var (
	ErrDownloadDependenciesFailed = errors.New("dependencies download failed")
	ErrPhaseInvalid               = errors.New("phase is not valid")
)
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 ErrParsingFlag = errors.New("error while parsing flag")

Functions

func NewApplyCmd added in v0.29.4

func NewApplyCmd() *cobra.Command

func NewClusterCmd added in v0.29.4

func NewClusterCmd() *cobra.Command

func NewCompletionCmd added in v0.25.0

func NewCompletionCmd() *cobra.Command

func NewConnectCmd added in v0.29.4

func NewConnectCmd() *cobra.Command

func NewCreateCmd added in v0.29.4

func NewCreateCmd() *cobra.Command

func NewDeleteCmd added in v0.29.4

func NewDeleteCmd() *cobra.Command

func NewDiffCmd added in v0.29.4

func NewDiffCmd() *cobra.Command

func NewDownloadCmd added in v0.25.0

func NewDownloadCmd() *cobra.Command

func NewDumpCmd added in v0.25.0

func NewDumpCmd() *cobra.Command

func NewGetCmd added in v0.29.4

func NewGetCmd() *cobra.Command

func NewLegacyCmd added in v0.29.4

func NewLegacyCmd() *cobra.Command

func NewRenewCmd added in v0.29.4

func NewRenewCmd() *cobra.Command

func NewValidateCmd added in v0.29.4

func NewValidateCmd() *cobra.Command

func NewVersionCmd added in v0.25.0

func NewVersionCmd() *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
	VpnAutoConnect        bool
	DryRun                bool
	NoTTY                 bool
	GitProtocol           git.Protocol
	Force                 []string
	Outdir                string
	Upgrade               bool
	UpgradePathLocation   string
	UpgradeNode           string
	DistroPatchesLocation string
	PostApplyPhases       []string
	ClusterSkipsCmdFlags
}

type ClusterSkipsCmdFlags added in v0.29.1

type ClusterSkipsCmdFlags struct {
	SkipVpn            bool
	SkipDepsDownload   bool
	SkipDepsValidation bool
	SkipNodesUpgrade   bool
}

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
	DistroPatchesLocation string
}

type RootCommand added in v0.25.0

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

func NewRootCmd added in v0.29.4

func NewRootCmd() *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