root

package
v2.49.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 53 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HelpTopics = []helpTopic{
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
	{
		// contains filtered or unexported fields
	},
}

Functions

func HasFailed

func HasFailed() bool

HasFailed signals that the main process should exit with non-zero status

func NewCmdAlias added in v2.30.0

func NewCmdAlias(io *iostreams.IOStreams, aliasName, aliasValue string) *cobra.Command

func NewCmdExtension added in v2.30.0

func NewCmdHelpTopic added in v2.30.0

func NewCmdHelpTopic(ios *iostreams.IOStreams, ht helpTopic) *cobra.Command

func NewCmdRoot

func NewCmdRoot(f *cmdutil.Factory, version, buildDate string) (*cobra.Command, error)

func NewCmdShellAlias added in v2.30.0

func NewCmdShellAlias(io *iostreams.IOStreams, aliasName, aliasValue string) *cobra.Command

Types

type AuthError added in v2.30.0

type AuthError struct {
	// contains filtered or unexported fields
}

func (*AuthError) Error added in v2.30.0

func (ae *AuthError) Error() string

type CommandGroup added in v2.21.0

type CommandGroup struct {
	Title    string
	Commands []*cobra.Command
}

func GroupedCommands added in v2.21.0

func GroupedCommands(cmd *cobra.Command) []CommandGroup

type ExternalCommandExitError added in v2.31.0

type ExternalCommandExitError struct {
	*exec.ExitError
}

Jump to

Keyboard shortcuts

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