Documentation ¶
Index ¶
Constants ¶
View Source
const ( VMKind = "vm" ProjectKind = "project" ClusterKind = "cluster" SubnetKind = "subnet" DiskKind = "disk" ImageKind = "image" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type ErrorResponse struct { APIVersion string `json:"api_version"` Kind string `json:"kind"` State string `json:"state"` MessageList []ErrorResponseMsg `json:"message_list"` Code int32 `json:"code"` }
type ErrorResponseMsg ¶
type RawConfig ¶
type RawConfig struct { Endpoint providerconfigtypes.ConfigVarString `json:"endpoint"` Port providerconfigtypes.ConfigVarString `json:"port"` Username providerconfigtypes.ConfigVarString `json:"username"` Password providerconfigtypes.ConfigVarString `json:"password"` AllowInsecure providerconfigtypes.ConfigVarBool `json:"allowInsecure"` ProxyURL providerconfigtypes.ConfigVarString `json:"proxyURL,omitempty"` ClusterName providerconfigtypes.ConfigVarString `json:"clusterName"` ProjectName *providerconfigtypes.ConfigVarString `json:"projectName,omitempty"` SubnetName providerconfigtypes.ConfigVarString `json:"subnetName"` AdditionalSubnetNames []string `json:"additionalSubnetNames,omitempty"` ImageName providerconfigtypes.ConfigVarString `json:"imageName"` // VM sizing configuration CPUs int64 `json:"cpus"` CPUCores *int64 `json:"cpuCores,omitempty"` CPUPassthrough *bool `json:"cpuPassthrough,omitempty"` MemoryMB int64 `json:"memoryMB"` DiskSize *int64 `json:"diskSize,omitempty"` // Metadata related configuration Categories map[string]string `json:"categories,omitempty"` }
Click to show internal directories.
Click to hide internal directories.