server

package
v6.10.2 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

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 ServerCmd

func ServerCmd() *core.Command

func ServerCreateCmd

func ServerCreateCmd() *core.Command

func ServerDeleteCmd

func ServerDeleteCmd() *core.Command

func ServerGetCmd

func ServerGetCmd() *core.Command

func ServerListCmd

func ServerListCmd() *core.Command

func ServerRebootCmd

func ServerRebootCmd() *core.Command

func ServerResumeCmd

func ServerResumeCmd() *core.Command

func ServerStartCmd

func ServerStartCmd() *core.Command

func ServerStopCmd

func ServerStopCmd() *core.Command

func ServerSuspendCmd

func ServerSuspendCmd() *core.Command

func ServerUpdateCmd

func ServerUpdateCmd() *core.Command

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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