Documentation
¶
Index ¶
- Variables
- func DefaultCpuFamily(c *core.CommandConfig) (string, error)
- func DeleteAllServers(c *core.CommandConfig) error
- func PreRunDcServerDelete(c *core.PreCommandConfig) error
- func PreRunDcServerIds(c *core.PreCommandConfig) error
- func PreRunServerCreate(c *core.PreCommandConfig) error
- func PreRunServerList(c *core.PreCommandConfig) error
- func RunServerCreate(c *core.CommandConfig) error
- func RunServerDelete(c *core.CommandConfig) error
- func RunServerGet(c *core.CommandConfig) error
- func RunServerList(c *core.CommandConfig) error
- func RunServerListAll(c *core.CommandConfig) error
- func RunServerReboot(c *core.CommandConfig) error
- func RunServerResume(c *core.CommandConfig) error
- func RunServerStart(c *core.CommandConfig) error
- func RunServerStop(c *core.CommandConfig) error
- func RunServerSuspend(c *core.CommandConfig) error
- func RunServerUpdate(c *core.CommandConfig) error
- func ServerCmd() *core.Command
- func ServerCreateCmd() *core.Command
- func ServerDeleteCmd() *core.Command
- func ServerGetCmd() *core.Command
- func ServerListCmd() *core.Command
- func ServerRebootCmd() *core.Command
- func ServerResumeCmd() *core.Command
- func ServerStartCmd() *core.Command
- func ServerStopCmd() *core.Command
- func ServerSuspendCmd() *core.Command
- func ServerUpdateCmd() *core.Command
Constants ¶
This section is empty.
Variables ¶
View Source
var AllServerCols = []table.Column{ {Name: "ServerId", JSONPath: "id", Default: true}, {Name: "Name", JSONPath: "properties.name", Default: true}, {Name: "Type", JSONPath: "properties.type", Default: true}, {Name: "AvailabilityZone", JSONPath: "properties.availabilityZone", Default: true}, {Name: "Cores", JSONPath: "properties.cores", Default: true}, {Name: "RAM", JSONPath: "properties.ram", Default: true}, {Name: "CpuFamily", JSONPath: "properties.cpuFamily", Default: true}, {Name: "VmState", JSONPath: "properties.vmState", Default: true}, {Name: "State", JSONPath: "metadata.state", Default: true}, {Name: "DatacenterId", JSONPath: "href"}, {Name: "TemplateId", JSONPath: "properties.templateUuid"}, {Name: "BootCdromId", JSONPath: "properties.bootCdrom.id"}, {Name: "BootVolumeId", JSONPath: "properties.bootVolume.id"}, {Name: "NicMultiQueue", JSONPath: "properties.nicMultiQueue"}, }
AllServerCols defines the columns for server output. Exported for vm-autoscaling.
Functions ¶
func DefaultCpuFamily ¶
func DefaultCpuFamily(c *core.CommandConfig) (string, error)
func DeleteAllServers ¶
func DeleteAllServers(c *core.CommandConfig) error
func PreRunDcServerDelete ¶
func PreRunDcServerDelete(c *core.PreCommandConfig) error
func PreRunDcServerIds ¶
func PreRunDcServerIds(c *core.PreCommandConfig) error
func PreRunServerCreate ¶
func PreRunServerCreate(c *core.PreCommandConfig) error
func PreRunServerList ¶
func PreRunServerList(c *core.PreCommandConfig) error
func RunServerCreate ¶
func RunServerCreate(c *core.CommandConfig) error
func RunServerDelete ¶
func RunServerDelete(c *core.CommandConfig) error
func RunServerGet ¶
func RunServerGet(c *core.CommandConfig) error
func RunServerList ¶
func RunServerList(c *core.CommandConfig) error
func RunServerListAll ¶
func RunServerListAll(c *core.CommandConfig) error
func RunServerReboot ¶
func RunServerReboot(c *core.CommandConfig) error
func RunServerResume ¶
func RunServerResume(c *core.CommandConfig) error
func RunServerStart ¶
func RunServerStart(c *core.CommandConfig) error
func RunServerStop ¶
func RunServerStop(c *core.CommandConfig) error
func RunServerSuspend ¶
func RunServerSuspend(c *core.CommandConfig) error
func RunServerUpdate ¶
func RunServerUpdate(c *core.CommandConfig) error
func ServerCreateCmd ¶
func ServerDeleteCmd ¶
func ServerGetCmd ¶
func ServerListCmd ¶
func ServerRebootCmd ¶
func ServerResumeCmd ¶
func ServerStartCmd ¶
func ServerStopCmd ¶
func ServerSuspendCmd ¶
func ServerUpdateCmd ¶
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.