Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Func ¶
defining as a type purely for readability purposes. this is the type accepted by cobra.Command.ValidArgsFunc and cobra.Command.RegisterFlagCompletionFunc
func NewNamespaceCompletionFunc ¶
NewNamespaceCompletionFunc handles shell completions for the namespace flag
func NewValidVClusterNameFunc ¶
func NewValidVClusterNameFunc(globalFlags *flags.GlobalFlags) Func
NewValidVClusterNameFunc returns a function that handles shell completion when the argument is vcluster_name It takes into account the namespace if specified by the --namespace flag.
Click to show internal directories.
Click to hide internal directories.