util

package
v0.26.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ControlPlaneRoleLabel = "node-role.kubernetes.io/control-plane"
View Source
const MasterRoleLabel = "node-role.kubernetes.io/master"
View Source
const NetworkUnavailableTaint = "node.kubernetes.io/network-unavailable"
View Source
const NotReadyTaint = "node.kubernetes.io/not-ready"
View Source
const UnreachableTaint = "node.kubernetes.io/unreachable"
View Source
const UnschedulableTaint = "node.kubernetes.io/unschedulable"

Variables

This section is empty.

Functions

func FilterOutErr

func FilterOutErr(err error, fns ...utilerrors.Matcher) error

func FilterOutReasonNotFoundErr

func FilterOutReasonNotFoundErr(err error) error

func IsNotFoundErr

func IsNotFoundErr(err error) bool

func NodeInternalIP added in v0.11.0

func NodeInternalIP(node v1.Node) string

func NodeIsMaster

func NodeIsMaster(node v1.Node) bool

func NodeIsReady

func NodeIsReady(node v1.Node) bool

func NodeReadyCounts

func NodeReadyCounts(nodes []v1.Node) (int, int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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