node

package
v1.0.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

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 IsDrained

func IsDrained(ctx context.Context) (bool, error)

func IsInitialized

func IsInitialized(ctx context.Context) error

func IsUnscheduled

func IsUnscheduled(ctx context.Context) error

func NewNodeProvider

func NewNodeProvider(configSource string, skipPhases []string, logger *zap.Logger) (nodeprovider.NodeProvider, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL