condition

package
v0.0.0-...-ef63bee Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	EdgeTraitDeleted = "EdgeTraitDeleted"
)

Variables

This section is empty.

Functions

func ConditionNotEqual

func ConditionNotEqual(old, new []metav1.Condition) bool

判断两个 condition 数组内的数据是否相等,计算时剔除了 lastTransitionTime 字段的干扰

func GenerateCondition

func GenerateCondition(t, reason, msg string, status metav1.ConditionStatus) metav1.Condition

generate a new condition

Types

This section is empty.

Jump to

Keyboard shortcuts

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