Documentation
¶
Index ¶
- func GetPodsOnNode(ctx context.Context, nodeName string, clientset kubernetes.Interface) ([]corev1.Pod, error)
- func IsDrained(ctx context.Context) (bool, error)
- func IsInitialized(ctx context.Context) error
- func IsUnscheduled(ctx context.Context) error
- func NewNodeProvider(configSource string, skipPhases []string, logger *zap.Logger) (nodeprovider.NodeProvider, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPodsOnNode ¶ added in v1.0.4
func GetPodsOnNode(ctx context.Context, nodeName string, clientset kubernetes.Interface) ([]corev1.Pod, error)
GetPodsOnNode makes 5 attempts by default to list pods before erroring unless it times out.
func IsInitialized ¶
func IsUnscheduled ¶
func NewNodeProvider ¶
func NewNodeProvider(configSource string, skipPhases []string, logger *zap.Logger) (nodeprovider.NodeProvider, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.