package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
GenerateTokenID generates tokenID.
GenerateTokenSecret generates tokenSecret.
TimeStringFromNow returns the time as a string from now.
WaitForBootstrapTokenSecretNotDisappear waits for bootstrap token secret not to be disappeared and takes time for the specified timeout as success path.
WaitForBootstrapTokenSecretToDisappear waits for bootstrap token secret to be disappeared.
WaitforSignedClusterInfoByBootStrapToken waits for signed cluster info by bootstrap token.
WaitForSignedClusterInfoByBootstrapTokenToDisappear waits for signed cluster info to be disappeared by bootstrap token.
WaitForSignedClusterInfoGetUpdatedByBootstrapToken waits for signed cluster info to be updated by bootstrap token.
# Constants
TokenIDBytes is the length of the byte array to generate tokenID.
TokenSecretBytes is the length of the byte array to generate tokenSecret.