topology_awareness

package
v0.0.0-...-c0f6e96 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodesClient

type NodesClient interface {
	NodesReader
	NodesTainter
	NodesLabeler
}

type NodesLabeler

type NodesLabeler interface {
	Label(ctx context.Context, node corev1.Node, labels map[string]string) error
	UnlabelAll(ctx context.Context, keysOfLabelsToRemove []string) error
	GetLabels(ctx context.Context, node string) (map[string]string, error)
}

type NodesReader

type NodesReader interface {
	Get(ctx context.Context, nodeName string) (corev1.Node, error)
	ListAll(context.Context) ([]corev1.Node, error)
	ListWorkers(context.Context) ([]corev1.Node, error)
}

type NodesTainter

type NodesTainter interface {
	TaintWorkers(context.Context, []corev1.Taint) error
	UntaintAll(context.Context, []corev1.Taint) error
}

Jump to

Keyboard shortcuts

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