Documentation ¶
Index ¶
Constants ¶
Variables ¶
View Source
var StatusUpdateFailed = cloudprovidererrors.TerminalError{ Reason: common.UpdateMachineError, Message: "Failed to update the machine status", }
Functions ¶
func NewMultiError ¶ added in v1.45.4
Types ¶
type MultiErrors ¶ added in v1.51.0
type MultiErrors []error
MultiError represent multiple errors at the same time.
func (MultiErrors) Error ¶ added in v1.51.0
func (r MultiErrors) Error() string
type ProviderStatus ¶
type RawConfig ¶
type RawConfig struct { Token providerconfigtypes.ConfigVarString `json:"token,omitempty"` VlanID providerconfigtypes.ConfigVarString `json:"vlanID"` LocationID providerconfigtypes.ConfigVarString `json:"locationID"` TemplateID providerconfigtypes.ConfigVarString `json:"templateID"` Template providerconfigtypes.ConfigVarString `json:"template"` TemplateBuild providerconfigtypes.ConfigVarString `json:"templateBuild"` CPUs int `json:"cpus"` Memory int `json:"memory"` // Deprecated, use Disks instead. DiskSize int `json:"diskSize"` Disks []RawDisk `json:"disks"` }
RawConfig contains all the configuration values for VMs to create, with some values maybe being fetched from secrets.
type RawDisk ¶ added in v1.45.4
type RawDisk struct { Size int `json:"size"` PerformanceType providerconfigtypes.ConfigVarString `json:"performanceType"` }
RawDisk specifies a single disk, with some values maybe being fetched from secrets.
Click to show internal directories.
Click to hide internal directories.