util

package
v0.0.0-...-5207aa4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConditionIsFalse

func ConditionIsFalse(conditions []metav1.Condition, conditionType string) bool

func ConditionIsNotTrue

func ConditionIsNotTrue(conditions []metav1.Condition, conditionType string) bool

func ConditionIsTrue

func ConditionIsTrue(conditions []metav1.Condition, conditionType string) bool

func ConditionIsUnknown

func ConditionIsUnknown(conditions []metav1.Condition, conditionType string) bool

func ConditionOutOfDate

func ConditionOutOfDate(conditions []metav1.Condition, conditionType string, duration metav1.Duration) bool

func ConditionsAreTrue

func ConditionsAreTrue(conditions []metav1.Condition, conditionTypes ...string) bool

func ContainsString

func ContainsString(finalizers []string, s string) bool

func EqualsSlice

func EqualsSlice(a, b []string) bool

func GetCondition

func GetCondition(conditions []metav1.Condition, conditionType string) *metav1.Condition

func RemoveCondition

func RemoveCondition(conditions *[]metav1.Condition, conditionType string)

func RemoveString

func RemoveString(finalizers []string, s string) []string

func SetCondition

func SetCondition(conditions *[]metav1.Condition, newCondition metav1.Condition)

func StringHash

func StringHash(s string) string

StringHash Hash returns a hash of the given string

Types

This section is empty.

Jump to

Keyboard shortcuts

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