helpers

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeleteTagAnnotation = "limitador.kuadrant.io/delete"
)

Variables

This section is empty.

Functions

func ConditionMarshal added in v0.4.0

func ConditionMarshal(conditions []metav1.Condition) ([]byte, error)

ConditionMarshal marshals the set of conditions as a JSON array, sorted by condition type.

func DeepCopyConditions added in v0.4.0

func DeepCopyConditions(conditions []metav1.Condition) []metav1.Condition

DeepCopyConditions copies the set of conditions

func FindDeploymentStatusCondition added in v0.4.0

func FindDeploymentStatusCondition(conditions []appsv1.DeploymentCondition, conditionType string) *appsv1.DeploymentCondition

func IsObjectTaggedToDelete

func IsObjectTaggedToDelete(obj client.Object) bool

func ObjectInfo

func ObjectInfo(obj client.Object) string

func TagObjectToDelete

func TagObjectToDelete(obj client.Object)

Types

This section is empty.

Jump to

Keyboard shortcuts

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