bootstrap

package
v1.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TokenIDBytes     = 3
	TokenSecretBytes = 8
)

Variables

This section is empty.

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

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL