Documentation
¶
Index ¶
- func Clientset() (kubernetes.Interface, error)
- func FindKotsadmImage(namespace string) (string, error)
- func GenerateBootstrapToken(client kubernetes.Interface, ttl time.Duration) (string, error)
- func IsKotsadmClusterScoped(ctx context.Context, clientset kubernetes.Interface) bool
- func UploadCertsWithNewKey() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clientset ¶
func Clientset() (kubernetes.Interface, error)
Clientset will return a kubernetes client
func FindKotsadmImage ¶
func GenerateBootstrapToken ¶
GenerateBootstrapToken will generate a node join token for kubeadm. ttl defines the time to live for this token.
func IsKotsadmClusterScoped ¶
func IsKotsadmClusterScoped(ctx context.Context, clientset kubernetes.Interface) bool
func UploadCertsWithNewKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.