Documentation
¶
Index ¶
Constants ¶
View Source
const (
AdminCommonName = "system:admin"
)
Variables ¶
View Source
var Backoff = wait.Backoff{ Steps: 5, Duration: 5 * time.Second, Factor: 2, Jitter: 0.1, }
Backoff is the cluster creation duration backoff
Functions ¶
func K3SVersion ¶ added in v1.0.1
K3SVersion returns the rancher/k3s specified version. If empty it will return the k3s version of the Kubernetes version of the host cluster, stored in the Status object. Returns the latest version as fallback.
func SafeConcatName ¶
SafeConcatName concatenates the given strings and ensures the returned name is under 64 characters by cutting the string off at 57 characters and setting the last 6 with an encoded version of the concatenated string. Empty strings in the array will be ignored.
func SafeConcatNameWithPrefix ¶
SafeConcatNameWithPrefix runs the SafeConcatName with extra prefix.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.