node

package
v0.28.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

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 GetExpirationTime added in v0.27.3

func GetExpirationTime(node *v1.Node, provisioner *v1alpha5.Provisioner) time.Time

func GetNodePods

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

GetNodePods gets the list of schedulable pods from a variadic list of nodes It ignores pods that are owned by the node, a daemonset or are in a terminal or terminating state

func IsExpired added in v0.27.3

func IsExpired(n *v1.Node, clock clock.Clock, provisioner *v1alpha5.Provisioner) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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