Documentation
¶
Index ¶
- Constants
- func GenerateTokenId() (string, error)
- func GenerateTokenSecret() (string, error)
- func TimeStringFromNow(delta time.Duration) string
- func WaitForBootstrapTokenSecretNotDisappear(c clientset.Interface, tokenID string, t time.Duration) error
- func WaitForBootstrapTokenSecretToDisappear(c clientset.Interface, tokenID string) error
- func WaitForSignedClusterInfoByBootstrapTokenToDisappear(c clientset.Interface, tokenID string) error
- func WaitForSignedClusterInfoGetUpdatedByBootstrapToken(c clientset.Interface, tokenID string, signedToken string) error
- func WaitforSignedClusterInfoByBootStrapToken(c clientset.Interface, tokenID string) error
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.
Click to show internal directories.
Click to hide internal directories.