compute

package
v0.0.0-...-9b7dd3e Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var POWER_STATE = []string{
	"NOSTATE", "Running", "", "Paused", "ShutDown", "", "Crashed", "Suspend",
}

Functions

This section is empty.

Types

type AZHost

type AZHost map[string]ServiceState

type Address

type Address struct {
	MacAddr string `json:"OS-EXT-IPS-MAC:mac_addr"`
	Version int    `json:"version"`
	Addr    string `json:"addr"`
	Type    string `json:"OS-EXT-IPS:type"`
}

type Aggregate

type Aggregate struct {
	Id               int               `json:"id"`
	Name             string            `json:"name"`
	AvailabilityZone string            `json:"availability_zone"`
	Deleted          bool              `json:"deleted"`
	Hosts            []string          `json:"hosts,omitempty"`
	Metadata         map[string]string `json:"metadata,omitempty"`
	CreatedAt        string            `json:"created_at,omitempty"`
	UpdatedAt        string            `json:"updated_at,omitempty"`
	DeletedAt        string            `json:"deleted_at,omitempty"`
}

func (Aggregate) GetMetadataList

func (agg Aggregate) GetMetadataList() []string

func (Aggregate) MarshalMetadata

func (agg Aggregate) MarshalMetadata() string

type AvailabilityZone

type AvailabilityZone struct {
	ZoneName  string            `json:"zoneName"`
	ZoneState ZoneState         `json:"zoneState"`
	Hosts     map[string]AZHost `json:"hosts,omitempty"`
}

type BlockDeviceMappingV2

type BlockDeviceMappingV2 struct {
	BootIndex          int    `json:"boot_index"`
	UUID               string `json:"uuid"`
	VolumeSize         uint16 `json:"volume_size"`
	SourceType         string `json:"source_type"`
	DestinationType    string `json:"destination_type"`
	VolumeType         string `json:"volume_type"`
	DeleteOnTemination bool   `json:"delete_on_termination"`
}

type ComputeClientV2

type ComputeClientV2 struct {
	identity.IdentityClientV3

	MicroVersion identity.ApiVersion
	BaseHeaders  map[string]string
	// contains filtered or unexported fields
}

func GetComputeClientV2

func GetComputeClientV2(idendityClient identity.IdentityClientV3) (*ComputeClientV2, error)

func (ComputeClientV2) AZList

func (client ComputeClientV2) AZList(query netUrl.Values) (*AvailabilityZone, error)

availability zone api

func (ComputeClientV2) AZListDetail

func (client ComputeClientV2) AZListDetail(query netUrl.Values) ([]AvailabilityZone, error)

func (ComputeClientV2) AggregateList

func (client ComputeClientV2) AggregateList(query netUrl.Values) ([]Aggregate, error)

func (ComputeClientV2) AggregateShow

func (client ComputeClientV2) AggregateShow(aggregate string) (*Aggregate, error)

func (ComputeClientV2) FlavorCopy

func (client ComputeClientV2) FlavorCopy(flavorId string, newName string, newId string,
	newVcpus int, newRam int, newDisk int, newSwap int,
	newEphemeral int, newRxtxFactor float32, setProperties map[string]string,
	unsetProperties []string) (*Flavor, error)

func (ComputeClientV2) FlavorCreate

func (client ComputeClientV2) FlavorCreate(flavor Flavor) (*Flavor, error)

func (ComputeClientV2) FlavorDelete

func (client ComputeClientV2) FlavorDelete(flavorId string) error

func (ComputeClientV2) FlavorExtraSpecsCreate

func (client ComputeClientV2) FlavorExtraSpecsCreate(flavorId string, extraSpecs map[string]string) (ExtraSpecs, error)

func (ComputeClientV2) FlavorExtraSpecsDelete

func (client ComputeClientV2) FlavorExtraSpecsDelete(flavorId string, extraSpec string) error

func (ComputeClientV2) FlavorExtraSpecsList

func (client ComputeClientV2) FlavorExtraSpecsList(flavorId string) (ExtraSpecs, error)

func (ComputeClientV2) FlavorFound

func (client ComputeClientV2) FlavorFound(idOrName string) (*Flavor, error)

func (ComputeClientV2) FlavorList

func (client ComputeClientV2) FlavorList(query netUrl.Values) ([]Flavor, error)

flavor api

func (ComputeClientV2) FlavorListDetail

func (client ComputeClientV2) FlavorListDetail(query netUrl.Values) (Flavors, error)

func (ComputeClientV2) FlavorShow

func (client ComputeClientV2) FlavorShow(flavorId string) (*Flavor, error)

func (ComputeClientV2) FlavorShowWithExtraSpecs

func (client ComputeClientV2) FlavorShowWithExtraSpecs(flavorId string) (*Flavor, error)

func (*ComputeClientV2) GetCurrentVersion

func (client *ComputeClientV2) GetCurrentVersion() (*identity.ApiVersion, error)

func (ComputeClientV2) HypervisorFound

func (client ComputeClientV2) HypervisorFound(idOrName string) (*Hypervisor, error)

func (ComputeClientV2) HypervisorList

func (client ComputeClientV2) HypervisorList(query netUrl.Values) (Hypervisors, error)

hypervisor api

func (ComputeClientV2) HypervisorListDetail

func (client ComputeClientV2) HypervisorListDetail(query netUrl.Values) (Hypervisors, error)

func (ComputeClientV2) HypervisorShow

func (client ComputeClientV2) HypervisorShow(id string) (*Hypervisor, error)

func (ComputeClientV2) HypervisorShowByHostname

func (client ComputeClientV2) HypervisorShowByHostname(hostname string) (*Hypervisor, error)

func (ComputeClientV2) HypervisorUptime

func (client ComputeClientV2) HypervisorUptime(id string) (*Hypervisor, error)

func (*ComputeClientV2) Index

func (client *ComputeClientV2) Index() (*common.Response, error)

func (ComputeClientV2) KeypairList

func (client ComputeClientV2) KeypairList(query netUrl.Values) ([]Keypair, error)

keypair api

func (*ComputeClientV2) MicroVersionLargeEqual

func (client *ComputeClientV2) MicroVersionLargeEqual(version string) bool

func (ComputeClientV2) MigrationList

func (client ComputeClientV2) MigrationList(query netUrl.Values) ([]Migration, error)

func (ComputeClientV2) ServerAction

func (client ComputeClientV2) ServerAction(action string, id string, params interface{}) (*common.Response, error)

server api

func (ComputeClientV2) ServerActionList

func (client ComputeClientV2) ServerActionList(id string) ([]InstanceAction, error)

server action api

func (ComputeClientV2) ServerActionShow

func (client ComputeClientV2) ServerActionShow(id string, requestId string) (
	*InstanceAction, error,
)

func (ComputeClientV2) ServerActionsWithEvents

func (client ComputeClientV2) ServerActionsWithEvents(id string, actionName string, requestId string) (
	[]InstanceActionAndEvents, error,
)

func (ComputeClientV2) ServerAddNet

func (client ComputeClientV2) ServerAddNet(id string, netId string) (*InterfaceAttachment, error)

func (ComputeClientV2) ServerAddPort

func (client ComputeClientV2) ServerAddPort(id string, portId string) (*InterfaceAttachment, error)

func (ComputeClientV2) ServerConsoleLog

func (client ComputeClientV2) ServerConsoleLog(id string, length uint) (*ConsoleLog, error)

func (ComputeClientV2) ServerConsoleUrl

func (client ComputeClientV2) ServerConsoleUrl(id string, consoleType string) (*Console, error)

func (ComputeClientV2) ServerCreate

func (client ComputeClientV2) ServerCreate(options ServerOpt) (*Server, error)

func (ComputeClientV2) ServerDelete

func (client ComputeClientV2) ServerDelete(id string) error

func (ComputeClientV2) ServerEvacuate

func (client ComputeClientV2) ServerEvacuate(id string, password string, host string, force bool) error

func (ComputeClientV2) ServerFound

func (client ComputeClientV2) ServerFound(idOrName string) (*Server, error)

func (ComputeClientV2) ServerGroupList

func (client ComputeClientV2) ServerGroupList(query netUrl.Values) ([]ServerGroup, error)

func (ComputeClientV2) ServerInterfaceDetach

func (client ComputeClientV2) ServerInterfaceDetach(id string, portId string) error

func (ComputeClientV2) ServerInterfaceList

func (client ComputeClientV2) ServerInterfaceList(id string) ([]InterfaceAttachment, error)

func (ComputeClientV2) ServerList

func (client ComputeClientV2) ServerList(query netUrl.Values) ([]Server, error)

func (ComputeClientV2) ServerListByName

func (client ComputeClientV2) ServerListByName(name string) ([]Server, error)

func (ComputeClientV2) ServerListDetails

func (client ComputeClientV2) ServerListDetails(query netUrl.Values) ([]Server, error)

func (ComputeClientV2) ServerListDetailsByName

func (client ComputeClientV2) ServerListDetailsByName(name string) ([]Server, error)

func (ComputeClientV2) ServerLiveMigrate

func (client ComputeClientV2) ServerLiveMigrate(id string, blockMigrate bool) error

func (ComputeClientV2) ServerLiveMigrateTo

func (client ComputeClientV2) ServerLiveMigrateTo(id string, blockMigrate bool, host string) error

func (ComputeClientV2) ServerMigrate

func (client ComputeClientV2) ServerMigrate(id string) error

func (ComputeClientV2) ServerMigrateTo

func (client ComputeClientV2) ServerMigrateTo(id string, host string) error

func (ComputeClientV2) ServerMigrationList

func (client ComputeClientV2) ServerMigrationList(id string, query url.Values) ([]Migration, error)

func (ComputeClientV2) ServerPause

func (client ComputeClientV2) ServerPause(id string) error

func (ComputeClientV2) ServerPrune

func (client ComputeClientV2) ServerPrune(query url.Values, yes bool, waitDeleted bool)

func (ComputeClientV2) ServerReboot

func (client ComputeClientV2) ServerReboot(id string, hard bool) error

func (ComputeClientV2) ServerRebuild

func (client ComputeClientV2) ServerRebuild(id string) error

TODO: more params

func (ComputeClientV2) ServerRegionLiveMigrate

func (client ComputeClientV2) ServerRegionLiveMigrate(id string, destRegion string, dryRun bool) (*RegionMigrateResp, error)

func (ComputeClientV2) ServerRegionLiveMigrateTo

func (client ComputeClientV2) ServerRegionLiveMigrateTo(id string, destRegion string, dryRun bool, destHost string) (*RegionMigrateResp, error)

func (ComputeClientV2) ServerResize

func (client ComputeClientV2) ServerResize(id string, flavorRef string) error

func (ComputeClientV2) ServerResume

func (client ComputeClientV2) ServerResume(id string) error

func (ComputeClientV2) ServerSetName

func (client ComputeClientV2) ServerSetName(id string, name string) error

func (ComputeClientV2) ServerSetPassword

func (client ComputeClientV2) ServerSetPassword(id string, password string, user string) error

func (ComputeClientV2) ServerShelve

func (client ComputeClientV2) ServerShelve(id string) error

func (ComputeClientV2) ServerShow

func (client ComputeClientV2) ServerShow(id string) (*Server, error)

func (ComputeClientV2) ServerStart

func (client ComputeClientV2) ServerStart(id string) error

func (ComputeClientV2) ServerStop

func (client ComputeClientV2) ServerStop(id string) error

func (ComputeClientV2) ServerSuspend

func (client ComputeClientV2) ServerSuspend(id string) error

func (ComputeClientV2) ServerUnpause

func (client ComputeClientV2) ServerUnpause(id string) error

func (ComputeClientV2) ServerUnshelve

func (client ComputeClientV2) ServerUnshelve(id string) error

func (ComputeClientV2) ServerVolumeAdd

func (client ComputeClientV2) ServerVolumeAdd(id string, volumeId string) (*VolumeAttachment, error)

func (ComputeClientV2) ServerVolumeDelete

func (client ComputeClientV2) ServerVolumeDelete(id string, volumeId string) error

func (ComputeClientV2) ServerVolumeList

func (client ComputeClientV2) ServerVolumeList(id string) ([]VolumeAttachment, error)

func (ComputeClientV2) ServiceAction

func (client ComputeClientV2) ServiceAction(action string, host string, binary string) (*Service, error)

func (ComputeClientV2) ServiceDisable

func (client ComputeClientV2) ServiceDisable(host string, binary string,
	reason string,
) (*Service, error)

func (ComputeClientV2) ServiceDown

func (client ComputeClientV2) ServiceDown(host string, binary string) (*Service, error)

func (ComputeClientV2) ServiceEnable

func (client ComputeClientV2) ServiceEnable(host string, binary string) (*Service, error)

func (ComputeClientV2) ServiceGetByHostBinary

func (client ComputeClientV2) ServiceGetByHostBinary(host string, binary string) (*Service, error)

func (ComputeClientV2) ServiceList

func (client ComputeClientV2) ServiceList(query netUrl.Values) ([]Service, error)

service api

func (ComputeClientV2) ServiceUp

func (client ComputeClientV2) ServiceUp(host string, binary string) (*Service, error)

func (ComputeClientV2) ServiceUpdate

func (client ComputeClientV2) ServiceUpdate(id string, update map[string]interface{}) (*Service, error)

func (*ComputeClientV2) String

func (client *ComputeClientV2) String() string

func (*ComputeClientV2) UpdateVersion

func (client *ComputeClientV2) UpdateVersion() error

X-OpenStack-Nova-API-Version

func (ComputeClientV2) WaitServerCreate

func (client ComputeClientV2) WaitServerCreate(options ServerOpt) (*Server, error)

func (ComputeClientV2) WaitServerDeleted

func (client ComputeClientV2) WaitServerDeleted(id string)

func (ComputeClientV2) WaitServerStatus

func (client ComputeClientV2) WaitServerStatus(serverId string, status string) (*Server, error)

func (ComputeClientV2) WaitServerStatusSecond

func (client ComputeClientV2) WaitServerStatusSecond(serverId string, status string, second int) (*Server, error)

type Console

type Console struct {
	Type     string `json:"type"`
	Url      string `json:"url"`
	Protocol string `json:"protocol"`
}

type ConsoleLog

type ConsoleLog struct {
	Output string `json:"output"`
}

type CpuInfo

type CpuInfo struct {
	Arch     string                 `json:"arch"`
	Model    string                 `json:"model"`
	Vendor   string                 `json:"vendor"`
	Features []string               `json:"Features"`
	Topology map[string]interface{} `json:"topology"`
}

type ExtraSpecs

type ExtraSpecs map[string]string

func (ExtraSpecs) GetList

func (extraSpecs ExtraSpecs) GetList() []string

type Fault

type Fault struct {
	Code    int    `json:"code,omitempty"`
	Message string `json:"message,omitempty"`
	Details string `json:"details,omitempty"`
}

func (*Fault) Marshal

func (fault *Fault) Marshal() string

type FixedIp

type FixedIp struct {
	IpAddress string `json:"ip_address"`
	SubnetId  string `json:"subnet_id"`
}

type Flavor

type Flavor struct {
	Id           string     `json:"id,omitempty"`
	Name         string     `json:"name,omitempty"`
	OriginalName string     `json:"original_name,omitempty"`
	Ram          int        `json:"ram,omitempty"`
	Vcpus        int        `json:"vcpus,omitempty"`
	Disk         int        `json:"disk"`
	Swap         int        `json:"swap,omitempty"`
	RXTXFactor   float32    `json:"rxtx_factor,omitempty"`
	ExtraSpecs   ExtraSpecs `json:"extra_specs,omitempty"`
	IsPublic     bool       `json:"os-flavor-access:is_public,omitempty"`
	Ephemeral    int        `json:"OS-FLV-DISABLED:ephemeral,omitempty"`
	Disabled     bool       `json:"OS-FLV-DISABLED:disabled,omitempty"`
}

func (Flavor) BaseInfo

func (flavor Flavor) BaseInfo() string

func (Flavor) Marshal

func (flavor Flavor) Marshal() string

type Flavors

type Flavors []Flavor

type Hypervisor

type Hypervisor struct {
	common.Resource
	Hostname       string                 `json:"hypervisor_hostname"`
	HostIp         string                 `json:"host_ip"`
	Status         string                 `json:"status"`
	State          string                 `json:"state"`
	Type           string                 `json:"hypervisor_type"`
	Version        int                    `json:"hypervisor_version"`
	Uptime         string                 `json:"uptime"`
	Vcpus          int                    `json:"vcpus"`
	VcpusUsed      int                    `json:"vcpus_used"`
	MemoryMB       int                    `json:"memory_mb"`
	MemoryMBUsed   int                    `json:"memory_mb_used"`
	ExtraResources map[string]interface{} `json:"extra_resources"`
	CpuInfo        CpuInfo                `json:"cpu_info"`

	NumaNode0Hugepages map[string]interface{} `json:"numa_node_0_hugepages"`
	NumaNode1Hugepages map[string]interface{} `json:"numa_node_1_hugepages"`
	NumaNode2Hugepages map[string]interface{} `json:"numa_node_2_hugepages"`
	NumaNode3Hugepages map[string]interface{} `json:"numa_node_3_hugepages"`

	NumaNode0Cpuset map[string]interface{} `json:"numa_node_0_cpuset"`
	NumaNode1Cpuset map[string]interface{} `json:"numa_node_1_cpuset"`
	NumaNode2Cpuset map[string]interface{} `json:"numa_node_2_cpuset"`
	NumaNode3Cpuset map[string]interface{} `json:"numa_node_3_cpuset"`

	Servers []HypervisorServer
}

func (Hypervisor) ExtraResourcesMarshal

func (hypervisor Hypervisor) ExtraResourcesMarshal(indent bool) string

type HypervisorServer

type HypervisorServer struct {
	Name string `json:"name"`
	UUID string `json:"uuid"`
}

type Hypervisors

type Hypervisors []Hypervisor

type Image

type Image struct {
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type InstanceAction

type InstanceAction struct {
	common.Resource
	Action       string                `json:"action"`
	InstanceUUID string                `json:"instance_uuid"`
	Message      string                `json:"message"`
	RequestId    string                `json:"request_id"`
	StartTime    string                `json:"start_time"`
	Events       []InstanceActionEvent `json:"events"`
}

type InstanceActionAndEvents

type InstanceActionAndEvents struct {
	InstanceAction InstanceAction        `json:"action"`
	RequestId      string                `json:"request_id"`
	Events         []InstanceActionEvent `json:"events"`
}

func (InstanceActionAndEvents) GetSpendTime

func (actionWithEvents InstanceActionAndEvents) GetSpendTime() (float64, error)

type InstanceActionEvent

type InstanceActionEvent struct {
	Event      string `json:"event"`
	StartTime  string `json:"start_time"`
	FinishTime string `json:"finish_time"`
	Host       string `json:"host"`
	HostId     string `json:"hostId"`
	Result     string `json:"result"`
	Traceback  string `json:"traceback"`
}

func (InstanceActionEvent) GetSpendTime

func (event InstanceActionEvent) GetSpendTime() (float64, error)

type InstanceActionEvents

type InstanceActionEvents []InstanceActionEvent

type InstanceActions

type InstanceActions []InstanceAction

type InterfaceAttachment

type InterfaceAttachment struct {
	MacAddr   string    `json:"mac_addr"`
	NetId     string    `json:"net_id"`
	PortId    string    `json:"port_id"`
	PortState string    `json:"port_state"`
	FixedIps  []FixedIp `json:"fixed_ips"`
}

func (InterfaceAttachment) GetIPAddresses

func (attachment InterfaceAttachment) GetIPAddresses() []string

func (InterfaceAttachment) GetIpAddresses

func (attachment InterfaceAttachment) GetIpAddresses() []string

type Keypair

type Keypair struct {
	Keypair keypair `json:"keypair"`
}

type Keypairs

type Keypairs []Keypair

type Migration

type Migration struct {
	Id                int    `json:"id"`
	OldInstanceTypeId int    `json:"old_instance_type_id"`
	NewInstanceTypeId int    `json:"new_instance_type_id"`
	InstanceUUID      string `json:"instance_uuid"`
	MigrationType     string `json:"migration_type"`
	Status            string `json:"status"`
	DestCompute       string `json:"dest_compute"`
	DestNode          string `json:"dest_node"`
	DestHost          string `json:"dest_host"`
	SourceCompute     string `json:"source_compute"`
	SourceNode        string `json:"source_node"`
	SourceRegion      string `json:"source_region,omitempty"`
	DestRegion        string `json:"dest_regoin,omitempty"`
	CreatedAt         string `json:"created_at,omitempty"`
	UpdatedAt         string `json:"updated_at,omitempty"`
}

type RegionMigrateResp

type RegionMigrateResp struct {
	AllowLiveMigrate bool   `json:"allow_live_migrate"`
	Reason           string `json:"reason"`
}

type Server

type Server struct {
	common.Resource
	TaskState    string               `json:"OS-EXT-STS:task_state,omitempty"`
	PowerState   int                  `json:"OS-EXT-STS:power_state,omitempty"`
	VmState      string               `json:"OS-EXT-STS:vm_state,omitempty"`
	Host         string               `json:"OS-EXT-SRV-ATTR:host,omitempty"`
	AZ           string               `json:"OS-EXT-AZ:availability_zone,omitempty"`
	Flavor       Flavor               `json:"flavor,omitempty"`
	Image        Image                `json:"image,omitempty"`
	Fault        Fault                `json:"fault,omitempty"`
	Addresses    map[string][]Address `json:"addresses,omitempty"`
	InstanceName string               `json:"OS-EXT-SRV-ATTR:instance_name,omitempty"`
	ConfigDriver string               `json:"config_drive,omitempty"`
	Created      string               `json:"created,omitempty"`
	Updated      string               `json:"updated,omitempty"`
	TerminatedAt string               `json:"OS-SRV-USG:terminated_at,omitempty"`
	LaunchedAt   string               `json:"OS-SRV-USG:launched_at,omitempty"`
	UserId       string               `json:"user_id,omitempty"`
	Description  string               `json:"description,omitempty"`
	RootBdmType  string               `json:"root_bdm_type,omitempty"`
}

func (Server) AllStatus

func (server Server) AllStatus() string

func (Server) GetFaultString

func (server Server) GetFaultString() string

func (Server) GetFlavorExtraSpecsString

func (server Server) GetFlavorExtraSpecsString() string

func (*Server) GetNetworks

func (server *Server) GetNetworks() []string

func (*Server) GetPowerState

func (server *Server) GetPowerState() string

func (*Server) GetTaskState

func (server *Server) GetTaskState() string

func (Server) InResize

func (server Server) InResize() bool

type ServerGroup

type ServerGroup struct {
	Id        string                 `json:"id"`
	Name      string                 `json:"name"`
	Policies  []string               `json:"policies"`
	Custom    bool                   `json:"custom"`
	Members   []string               `json:"members"`
	Metadata  map[string]interface{} `json:"metadata"`
	ProjectId string                 `json:"project_id"`
	UserId    string                 `json:"user_id"`
}

{"policies": ["soft-anti-affinity"], "name": "soft-anti-affinity", "custom": false, "members": [], "id": "7357b2f7-d004-4c72-b38a-d3a156827c11", "metadata": {}}]

func (ServerGroup) GetMetadataList

func (serverGroup ServerGroup) GetMetadataList() []string

type ServerOpt

type ServerOpt struct {
	Flavor               string                 `json:"flavorRef,omitempty"`
	Image                string                 `json:"imageRef,omitempty"`
	Name                 string                 `json:"name,omitempty"`
	Networks             interface{}            `json:"networks,omitempty"`
	AvailabilityZone     string                 `json:"availability_zone,omitempty"`
	BlockDeviceMappingV2 []BlockDeviceMappingV2 `json:"block_device_mapping_v2,omitempty"`
	MinCount             uint16                 `json:"min_count"`
	MaxCount             uint16                 `json:"max_count"`
	UserData             string                 `json:"user_data,omitempty"`
}

type ServerOptNetwork

type ServerOptNetwork struct {
	UUID   string `json:"uuid,omitempty"`
	PortId string `json:"port_id,omitempty"`
}

type Servers

type Servers []Server

type Service

type Service struct {
	common.Resource
	Zone           string `json:"zone,omitempty"`
	Host           string `json:"host,omitempty"`
	Binary         string `json:"binary,omitempty"`
	Status         string `json:"status,omitempty"`
	State          string `json:"state,omitempty"`
	DisabledReason string `json:"disabled_reason,omitempty"`
	ForcedDown     bool   `json:"forced_down,omitempty"`
}

type ServiceState

type ServiceState struct {
	Available bool   `json:"available"`
	Active    bool   `json:"active"`
	UpdatedAt string `json:"updated_at"`
}

type Services

type Services []Service

type Version

type Version struct {
	MinVersion string `json:"min_version"`
	Version    string `json:"version"`
}

type VolumeAttachment

type VolumeAttachment struct {
	Id                  string `json:"id"`
	Device              string `json:"device"`
	ServerId            string `json:"serverId"`
	VolumeId            string `json:"volumeId"`
	DeleteOnTermination bool   `json:"delete_on_termination,omitempty"`
}

type ZoneState

type ZoneState struct {
	Available bool `json:"available"`
}

Jump to

Keyboard shortcuts

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