Documentation ¶
Index ¶
- Constants
- func GetByRole(env *deployer.Environment, role string) ([]corev1.Node, error)
- func GetBySelector(env *deployer.Environment, selector labels.Selector) ([]corev1.Node, error)
- func GetControlPlane(env *deployer.Environment) ([]corev1.Node, error)
- func GetWorkers(env *deployer.Environment) ([]corev1.Node, error)
Constants ¶
View Source
const ( RoleControlPlane = "control-plane" RoleWorker = "worker" )
View Source
const (
// LabelRole contains the key for the role label
LabelRole = "node-role.kubernetes.io"
)
Variables ¶
This section is empty.
Functions ¶
func GetBySelector ¶
GetBySelector returns all nodes with the specified selector
func GetControlPlane ¶ added in v0.20.1
func GetControlPlane(env *deployer.Environment) ([]corev1.Node, error)
func GetWorkers ¶
func GetWorkers(env *deployer.Environment) ([]corev1.Node, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.