Documentation ¶
Index ¶
Constants ¶
View Source
const ( NodeRestartTimeout = 600 NodeGraceShutdownTimeout = 60 NodeGracePowerOffTimeout = 10 Wait4ClusterTransitioningTimeout = 60 StorageRetryAttempts = 5 StorageRetryTimeout = 15 )
Default timeouts
View Source
const ( ChangeBladeSpec = 1 ChangePowerState = 2 ChangeSnapshotCreate = 4 ChangeSnapshotDelete = 8 ChangeSnapshotRestore = 16 ChangeOsImage = 32 ChangeSeedTemplate = 64 ChangeBootDiskSize = 128 ChangeDataDiskSize = 256 ChangeDataDisk = 512 )
Change status definition while update routine
Variables ¶
View Source
var ( // Available maintenance tasks MaintenanceTasks = []string{"cordon", "uncordon", "drain", "upgrade", "restart"} // Node taint effects TaintEffects = []string{"PreferNoSchedule", "NoSchedule", "NoExecute"} )
View Source
var ( // Available rancher_api provides RancherApiProviders = []string{"rancher2", "rke"} )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.