import "k8s.io/kubernetes/test/e2e/lifecycle/bootstrap"
bootstrap_signer.go bootstrap_token_cleaner.go util.go
const ( // TokenIDBytes is the length of the byte array to generate tokenID. TokenIDBytes = 3 // TokenSecretBytes is the length of the byte array to generate tokenSecret. TokenSecretBytes = 8 )
GenerateTokenID generates tokenID.
GenerateTokenSecret generates tokenSecret.
TimeStringFromNow returns the time as a string from now. e.g: 2019-12-03T14:30:40+08:00.
func WaitForBootstrapTokenSecretNotDisappear(c clientset.Interface, tokenID string, t time.Duration) error
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.
func WaitForSignedClusterInfoByBootstrapTokenToDisappear(c clientset.Interface, tokenID string) error
WaitForSignedClusterInfoByBootstrapTokenToDisappear waits for signed cluster info to be disappeared by bootstrap token.
func WaitForSignedClusterInfoGetUpdatedByBootstrapToken(c clientset.Interface, tokenID string, signedToken string) error
WaitForSignedClusterInfoGetUpdatedByBootstrapToken waits for signed cluster info to be updated by bootstrap token.
WaitforSignedClusterInfoByBootStrapToken waits for signed cluster info by bootstrap token.
Package bootstrap imports 14 packages (graph). Updated 2020-06-14. Refresh now. Tools for package owners.