Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsControlPlaneNamespace ¶
Types ¶
type Kubeclient ¶
type Kubeclient interface { BackupCluster(ctx context.Context, backupName string) error DrainAndDeleteWorker(ctx context.Context, hostname string) error DeleteMaster(hostname string) error EnsureSyncPod(ctx context.Context, syncImage string, hash []byte) error GetControlPlanePods(ctx context.Context) ([]corev1.Pod, error) WaitForReadyMaster(ctx context.Context, hostname string) error WaitForReadyWorker(ctx context.Context, hostname string) error WaitForReadySyncPod(ctx context.Context) error }
Kubeclient interface to utility kubenetes functions
func NewKubeclient ¶
func NewKubeclient(log *logrus.Entry, config *v1.Config, disableKeepAlives bool) (Kubeclient, error)
NewKubeclient creates a new kubeclient
Click to show internal directories.
Click to hide internal directories.