Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProgramName ¶ added in v0.35.0
GetProgramName returns the command name to display in help texts. If `virtctl` is installed via krew to be used as a kubectl plugin, it's run via a symlink, so the basename then is `kubectl-virt`. In this case we want to accommodate the user by adjusting the help text (usage, examples and the like) by displaying `kubectl virt <command>` instead of `virtctl <command>`. see https://github.com/kubevirt/kubevirt/issues/2356 for more details see also templates.go
func NewVirtctlCommand ¶ added in v0.4.0
func NewVirtctlCommand() (*cobra.Command, clientcmd.ClientConfig)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.