templates

package
v0.41.1 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: Apache-2.0 Imports: 8 Imported by: 23

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExactArgs added in v0.32.0

func ExactArgs(nameOfCommand string, n int) cobra.PositionalArgs

ExactArgs validate the number of input parameters

func MainUsageTemplate

func MainUsageTemplate() string

MainUsageTemplate returns the usage template for the root command

func OptionsUsageTemplate

func OptionsUsageTemplate() string

OptionsUsageTemplate returns a template which prints all global available commands

func PrintWarningForPausedVMI added in v0.41.0

func PrintWarningForPausedVMI(virtCli kubecli.KubevirtClient, vmiName string, namespace string)

PrintWarningForPausedVMI prints warning message if VMI is paused

func UsageTemplate

func UsageTemplate() string

UsageTemplate returns the usage template for all subcommands

Types

This section is empty.

Jump to

Keyboard shortcuts

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