Documentation ¶
Index ¶
- type CLIOptions
- func (c *CLIOptions) GetCreationMode() constants.CreationMode
- func (c *CLIOptions) GetDebugLevel() zapcore.Level
- func (c *CLIOptions) GetRunStrategy() string
- func (c *CLIOptions) GetStartVMFlag() bool
- func (c *CLIOptions) GetTemplateNamespace() string
- func (c *CLIOptions) GetTemplateParams() map[string]string
- func (c *CLIOptions) GetVirtctl() string
- func (c *CLIOptions) GetVirtualMachineManifest() string
- func (c *CLIOptions) GetVirtualMachineNamespace() string
- func (c *CLIOptions) Init() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLIOptions ¶
type CLIOptions struct { TemplateName string `arg:"--template-name,env:TEMPLATE_NAME" placeholder:"NAME" help:"Name of a template to create VM from"` TemplateNamespace string `arg:"--template-namespace,env:TEMPLATE_NAMESPACE" placeholder:"NAMESPACE" help:"Namespace of a template to create VM from"` TemplateParams []string `` /* 126-byte string literal not displayed */ VirtualMachineManifest string `` /* 164-byte string literal not displayed */ VirtualMachineNamespace string `arg:"--vm-namespace,env:VM_NAMESPACE" placeholder:"NAMESPACE" help:"Namespace where to create the VM"` StartVM string `arg:"--start-vm,env:START_VM" help:"Start vm after creation"` RunStrategy string `arg:"--run-strategy,env:RUN_STRATEGY" help:"Set run strategy to vm"` Output output.OutputType `arg:"-o" placeholder:"FORMAT" help:"Output format. One of: yaml|json"` Debug bool `arg:"--debug" help:"Sets DEBUG log level"` Virtctl string `` /* 155-byte string literal not displayed */ }
func (*CLIOptions) GetCreationMode ¶
func (c *CLIOptions) GetCreationMode() constants.CreationMode
func (*CLIOptions) GetDebugLevel ¶
func (c *CLIOptions) GetDebugLevel() zapcore.Level
func (*CLIOptions) GetRunStrategy ¶
func (c *CLIOptions) GetRunStrategy() string
func (*CLIOptions) GetStartVMFlag ¶
func (c *CLIOptions) GetStartVMFlag() bool
func (*CLIOptions) GetTemplateNamespace ¶
func (c *CLIOptions) GetTemplateNamespace() string
func (*CLIOptions) GetTemplateParams ¶
func (c *CLIOptions) GetTemplateParams() map[string]string
func (*CLIOptions) GetVirtctl ¶
func (c *CLIOptions) GetVirtctl() string
func (*CLIOptions) GetVirtualMachineManifest ¶
func (c *CLIOptions) GetVirtualMachineManifest() string
func (*CLIOptions) GetVirtualMachineNamespace ¶
func (c *CLIOptions) GetVirtualMachineNamespace() string
func (*CLIOptions) Init ¶
func (c *CLIOptions) Init() error
Click to show internal directories.
Click to hide internal directories.