Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Commands = make([]cli.Command, 0)
Commands is a slice which is populated during init() with all the available top-level commands
Functions ¶
This section is empty.
Types ¶
type CreatedVirtualMachine ¶
type CreatedVirtualMachine struct { Spec brain.VirtualMachineSpec `json:"spec"` VirtualMachine brain.VirtualMachine `json:"virtual_machine"` }
CreatedVirtualMachine is a struct containing the vm object returned by the VM after creation, and the spec that went into creating it. TODO(telyn): move this type into lib/brain?
func (CreatedVirtualMachine) DefaultFields ¶
func (cvm CreatedVirtualMachine) DefaultFields(f output.Format) string
DefaultFields returns the list of default fields to feed to github.com/BytemarkHosting/row.From for this type.
func (CreatedVirtualMachine) PrettyPrint ¶
func (cvm CreatedVirtualMachine) PrettyPrint(wr io.Writer, detail prettyprint.DetailLevel) (err error)
PrettyPrint outputs this created virtual machine in a vaguely nice format to the given writer. detail is ignored.
Click to show internal directories.
Click to hide internal directories.