k8s

package
v0.0.0-...-c3d335f Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// ZoneFailureDomainLabel is the label on Kubernetes Nodes specifying what AZ it's in.
	ZoneFailureDomainLabel = "failure-domain.beta.kubernetes.io/zone"
	// HostnameLabel is the affinity topology key used to distinguish Kuberenetes Nodes from each other.
	HostnameLabel = "kubernetes.io/hostname"
)

Variables

This section is empty.

Functions

func ConditionStatus

func ConditionStatus(status bool) corev1.ConditionStatus

ConditionStatus returns either ConditionTrue or ConditionFalse.

func IntStrPtr

func IntStrPtr(i intstr.IntOrString) *intstr.IntOrString

IntStrPtr returns a pointer to an intstr.IntOrString

func ProtocolPtr

func ProtocolPtr(p corev1.Protocol) *corev1.Protocol

ProtocolPtr returns a pointer to a corev1.Protocol

Types

This section is empty.

Jump to

Keyboard shortcuts

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