Documentation
¶
Index ¶
- func GetCondition(n *v1.Node, match v1.NodeConditionType) v1.NodeCondition
- func GetPods(ctx context.Context, kubeClient client.Client, nodes ...*v1.Node) ([]*v1.Pod, error)
- func GetProvisionablePods(ctx context.Context, kubeClient client.Client) ([]*v1.Pod, error)
- func GetReschedulablePods(ctx context.Context, kubeClient client.Client, nodes ...*v1.Node) ([]*v1.Pod, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCondition ¶
func GetCondition(n *v1.Node, match v1.NodeConditionType) v1.NodeCondition
func GetProvisionablePods ¶ added in v0.34.0
GetProvisionablePods grabs all the pods from the passed nodes that satisfy the IsProvisionable criteria
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.