Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeBootstrapToken ¶
func ComputeBootstrapToken(ctx context.Context, c client.Client, tokenID, description string, validity time.Duration) (secret *corev1.Secret, err error)
ComputeBootstrapToken computes and creates a new bootstrap token, and returns it.
func FromSecretData ¶
FromSecretData returns the bootstrap token based on the secret data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.