node

package
v0.35.9 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCondition

func GetCondition(n *v1.Node, match v1.NodeConditionType) v1.NodeCondition

func GetPods added in v0.34.0

func GetPods(ctx context.Context, kubeClient client.Client, nodes ...*v1.Node) ([]*v1.Pod, error)

GetPods grabs all pods that are currently bound to the passed nodes

func GetProvisionablePods added in v0.34.0

func GetProvisionablePods(ctx context.Context, kubeClient client.Client) ([]*v1.Pod, error)

GetProvisionablePods grabs all the pods from the passed nodes that satisfy the IsProvisionable criteria

func GetReschedulablePods added in v0.34.0

func GetReschedulablePods(ctx context.Context, kubeClient client.Client, nodes ...*v1.Node) ([]*v1.Pod, error)

GetReschedulablePods grabs all pods from the passed nodes that satisfy the IsReschedulable criteria

Types

This section is empty.

Jump to

Keyboard shortcuts

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