bootstrap

package
v1.10.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2018 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