Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProviderIDPrefix = "proxmox://" VirtualMachineInitializing = "VirtualMachineInitializing" VmConfigurationTimeout = time.Minute * 10 VmMigrationTimeout = time.Minute * 10 VmCloneTimeout = time.Minute * 5 VmStartTimeout = time.Minute * 10 VmStopTimeout = time.Minute * 10 VmDeleteTimeout = time.Minute * 10 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BootstrapSecret ¶
type BootstrapSecret struct {
RunCmd []string `yaml:"runcmd"`
Users []BootstrapUser `yaml:"users,omitempty"`
// TODO: Not sure why we need the underscore in the property name
Write_Files []BootstrapSecretFile `yaml:"write_files"`
}
type BootstrapSecretFile ¶
type BootstrapUser ¶
type Machine ¶
type Machine struct {
ProxmoxClient *proxmox.Client
MachineScope *scope.MachineScope
ClusterScope *scope.ClusterScope
Logger logr.Logger
client.Client
Recorder record.EventRecorder
}
Represents a requested Machine scope
type RandomNodeGroupSelector ¶
type RandomNodeGroupSelector struct{}
func (*RandomNodeGroupSelector) Select ¶
func (rng *RandomNodeGroupSelector) Select(nodes proxmox.NodeStatuses) (*proxmox.NodeStatus, error)
Click to show internal directories.
Click to hide internal directories.