nodes

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// LabelRole contains the key for the role label
	LabelRole = "node-role.kubernetes.io"
)
View Source
const (
	// RoleWorker contains the worker role
	RoleWorker = "worker"
)

Variables

This section is empty.

Functions

func GetByRole

func GetByRole(env *deployer.Environment, role string) ([]corev1.Node, error)

GetByRole returns all nodes with the specified role

func GetBySelector

func GetBySelector(env *deployer.Environment, selector labels.Selector) ([]corev1.Node, error)

GetBySelector returns all nodes with the specified selector

func GetWorkers

func GetWorkers(env *deployer.Environment) ([]corev1.Node, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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