flexbot

package
v1.9.9 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 24 Imported by: 0

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

func Provider

func Provider() *schema.Provider

Provider builds schema

Types

This section is empty.

Jump to

Keyboard shortcuts

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