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"` DeleteVM DeleteVMCommand `command:"delete-vm" description:"Delete the VM that has the specified identifier"` }
var Cliaas CliaasCommand
type ConfigFilePath ¶
type ConfigFilePath string
func (*ConfigFilePath) UnmarshalFlag ¶
func (c *ConfigFilePath) UnmarshalFlag(value string) error
type DeleteVMCommand ¶ added in v0.1.2
type DeleteVMCommand struct {
Identifier string `short:"i" long:"identifier" required:"true" description:"Identifier of the VM to delete"`
}
func (*DeleteVMCommand) Execute ¶ added in v0.1.2
func (c *DeleteVMCommand) Execute([]string) error
type ReplaceVMCommand ¶
type ReplaceVMCommand struct {
Identifier string `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
Click to show internal directories.
Click to hide internal directories.