parse

package
v0.0.0-...-ff79166 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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