node

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNodeAndWaitTillCapacityPresent

func GetNodeAndWaitTillCapacityPresent(manager Manager, ctx context.Context, os string, expectedResource string) *v1.NodeList

Types

type Manager

type Manager interface {
	GetNodesWithOS(os string) (*v1.NodeList, error)
	AddLabels(nodeList []v1.Node, label map[string]string) error
	RemoveLabels(nodeList []v1.Node, label map[string]string) error
	GetNode(node *v1.Node) (*v1.Node, error)
	GetNodeList() (*v1.NodeList, error)
	GetCNINode(node *v1.Node) (*cninode.CNINode, error)
	GetCNINodeList() (*cninode.CNINodeList, error)
}

func NewManager

func NewManager(k8sClient client.Client) Manager

Jump to

Keyboard shortcuts

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