Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateBootstrapKubeconfigFromBootstrapToken ¶
func GenerateBootstrapKubeconfigFromBootstrapToken(tokenStr string, bootstrapKubeconfig *infrastructurev1beta1.BootstrapKubeconfig) (*clientcmdapi.Config, error)
GenerateBootstrapKubeconfigFromBootstrapToken creates a bootstrap kubeconfig object from the bootstrap token generated It also adds default cluster, context and auth info
func GenerateSecretFromBootstrapToken ¶
GenerateSecretFromBootstrapTokenStr builds the secret object from the token string It also adds default description and auth groups that can be used by the bootstrap-kubeconfig
func GetTokenIDSecretFromBootstrapToken ¶
GetTokenIDSecretFromBootstrapToken splits the token string and returns the tokenID and tokenSecret parts
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.