noderefutil

package
v0.0.0-...-03e4ed8 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetReadyCondition

func GetReadyCondition(status *corev1.NodeStatus) *corev1.NodeCondition

GetReadyCondition extracts the ready condition from the given status and returns that. Returns nil and -1 if the condition is not present, and the index of the located condition.

func IsNodeAvailable

func IsNodeAvailable(node *corev1.Node, minReadySeconds int32, now metav1.Time) bool

IsNodeAvailable returns true if the node is ready and minReadySeconds have elapsed or is 0. False otherwise.

func IsNodeReady

func IsNodeReady(node *corev1.Node) bool

IsNodeReady returns true if a node is ready; false otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

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