Documentation
¶
Index ¶
- Constants
- func GetControlPlane(cli client.Client, ctx context.Context, plat platform.Platform) ([]corev1.Node, error)
- func GetLabelRoleMCPTest() string
- func GetLabelRoleWorker() string
- func GetLoad(k8sCli *kubernetes.Clientset, ctx context.Context, nodeName string) (baseload.Load, error)
- func GetNames(nodes []corev1.Node) []string
- func GetWorkerNodes(cli client.Client, ctx context.Context) ([]corev1.Node, error)
Constants ¶
View Source
const ( LabelRole = "node-role.kubernetes.io" RoleControlPlane = "control-plane" RoleWorker = "worker" RoleMCPTest = "mcp-test" // LabelControlPlaneRole contains the key for the control-plane role label LabelControlPlaneRole = "node-role.kubernetes.io/control-plane" // LabelWorker contains the key for the worker role label LabelWorkerRole = "node-role.kubernetes.io/worker" )
Variables ¶
This section is empty.
Functions ¶
func GetControlPlane ¶
func GetLabelRoleMCPTest ¶
func GetLabelRoleMCPTest() string
func GetLabelRoleWorker ¶
func GetLabelRoleWorker() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.