Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsControlPlaneNamespace ¶
Types ¶
type ComputerName ¶
type ComputerName string
type Kubeclient ¶
type Kubeclient interface {
DrainAndDeleteWorker(ctx context.Context, computerName ComputerName) error
DeleteMaster(computerName ComputerName) error
GetControlPlanePods(ctx context.Context) ([]corev1.Pod, error)
WaitForInfraServices(ctx context.Context) *api.PluginError
WaitForReadyMaster(ctx context.Context, computerName ComputerName) error
WaitForReadyWorker(ctx context.Context, computerName ComputerName) error
}
Kubeclient interface to utility kubenetes functions
func NewKubeclient ¶
func NewKubeclient(log *logrus.Entry, config *v1.Config, pluginConfig *api.PluginConfig, disableKeepAlives bool) (Kubeclient, error)
NewKubeclient creates a new kubelient instance
Click to show internal directories.
Click to hide internal directories.