commands

package
v0.0.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CliaasCommand

type CliaasCommand struct {
	Config cliaas.Config

	ConfigFile ConfigFilePath   `short:"c" long:"config" required:"true" description:"Path to config file"`
	ReplaceVM  ReplaceVMCommand `command:"replace-vm" description:"Create a new VM with the old VM's IP"`
}
var Cliaas CliaasCommand

type ConfigFilePath

type ConfigFilePath string

func (*ConfigFilePath) UnmarshalFlag

func (c *ConfigFilePath) UnmarshalFlag(value string) error

type ReplaceVMCommand

type ReplaceVMCommand struct {
	Identifier string `short:"i" long:"identifier" required:"true" description:"Identifier of the VM that is being replaced"`
}

func (*ReplaceVMCommand) Execute

func (r *ReplaceVMCommand) Execute([]string) error

type VersionCommand

type VersionCommand struct {
}

func (*VersionCommand) Execute

func (c *VersionCommand) Execute([]string) error

Jump to

Keyboard shortcuts

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