kubeutils

package
v0.1.8-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTolerationSeconds

func GetTolerationSeconds(tolerations []corev1.Toleration) *int64

func GetTolerationWithSeconds

func GetTolerationWithSeconds(TolerationSeconds *int64) []corev1.Toleration

func IsConditionReady added in v0.1.4

func IsConditionReady(conditions []metav1.Condition, cond string) bool

func IsDeleted

func IsDeleted(obj client.Object) bool

func MapToSelector

func MapToSelector(labels map[string]string) string

func SetCondition

func SetCondition(conditions []metav1.Condition, typ string, err error) []metav1.Condition

Types

type PodReplicaSpec

type PodReplicaSpec struct {
	Replicas int64
	PodSpec  corev1.PodSpec
}

Jump to

Keyboard shortcuts

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