Documentation ¶
Index ¶
- Variables
- func GenerateAddNodeCommand(client kubernetes.Interface, master bool) ([]string, *time.Time, error)
- func ReadConfigMap(client kubernetes.Interface) (*corev1.ConfigMap, error)
- func UpdateConfigMap(client kubernetes.Interface, generateBootstrapToken, uploadCerts bool) (*corev1.ConfigMap, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ConfigExpirationRegeneratePeriod the expiry grace period to regenerate the bootstrap token ConfigExpirationRegeneratePeriod = 10 * time.Minute )
Functions ¶
func GenerateAddNodeCommand ¶
GenerateAddNodeCommand will generate the Kurl node add command for a master or worker
func ReadConfigMap ¶
func ReadConfigMap(client kubernetes.Interface) (*corev1.ConfigMap, error)
ReadConfigMap will read the Kurl config from a configmap
func UpdateConfigMap ¶
func UpdateConfigMap(client kubernetes.Interface, generateBootstrapToken, uploadCerts bool) (*corev1.ConfigMap, error)
UpdateConfigMap will save the Kurl config in a configmap
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.