kubernetesk8s.io/kubernetes/test/e2e/lifecycle/bootstrap Index | Files

package bootstrap

import "k8s.io/kubernetes/test/e2e/lifecycle/bootstrap"

Index

Constants

const (
	TokenIDBytes     = 3
	TokenSecretBytes = 8
)

Functions

func GenerateTokenId

func GenerateTokenId() (string, error)

func GenerateTokenSecret

func GenerateTokenSecret() (string, error)

func TimeStringFromNow

func TimeStringFromNow(delta time.Duration) string

func WaitForBootstrapTokenSecretNotDisappear

func WaitForBootstrapTokenSecretNotDisappear(c clientset.Interface, tokenID string, t time.Duration) error

func WaitForBootstrapTokenSecretToDisappear

func WaitForBootstrapTokenSecretToDisappear(c clientset.Interface, tokenID string) error

func WaitForSignedClusterInfoByBootstrapTokenToDisappear

func WaitForSignedClusterInfoByBootstrapTokenToDisappear(c clientset.Interface, tokenID string) error

func WaitForSignedClusterInfoGetUpdatedByBootstrapToken

func WaitForSignedClusterInfoGetUpdatedByBootstrapToken(c clientset.Interface, tokenID string, signedToken string) error

func WaitforSignedClusterInfoByBootStrapToken

func WaitforSignedClusterInfoByBootStrapToken(c clientset.Interface, tokenID string) error

Source Files

bootstrap_signer.go bootstrap_token_cleaner.go util.go

Version
v1.8.1
Published
Oct 11, 2017
Platform
js/wasm
Imports
14 packages
Last checked
6 seconds ago

Tools for package owners.