Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandTree ¶
CommandTree returns the top level version command
func GetVersion ¶
GetVersion gets the version and driver from the command line context, given the specified Kubernetes version string.
func NameValidArgs ¶
func NameValidArgs(c *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)
NameValidArgs returns Kubernetes version strings as per Cobra argument validation rules.
func SetDriverFlag ¶
SetDriverFlag adds a "--driver" flag to a Cobra command, and sets it up for autocompletion with driver names.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.