nodemanager

package
v1.60.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeManager

type NodeManager struct {
	// contains filtered or unexported fields
}

func New

func New(client ctrlruntimeclient.Client, nodeName string) *NodeManager

func (*NodeManager) CordonNode

func (nm *NodeManager) CordonNode(ctx context.Context, node *corev1.Node) error

func (*NodeManager) GetNode

func (nm *NodeManager) GetNode(ctx context.Context) (*corev1.Node, error)

Jump to

Keyboard shortcuts

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