Documentation ¶
Index ¶
- Constants
- func ApplyStatus(ctx context.Context, object client.Object, restClient client.Client) error
- func ContainsCondition(conditions []metav1.Condition, conditionType string) (int, bool)
- func GetHashForSpec(specStruct interface{}) string
- func GetHashFromLabels(labels map[string]string) string
- func SetCondition(conditions []metav1.Condition, conditionType string, ...) []metav1.Condition
- func SetHashToLabels(labels map[string]string, specHashActual string) map[string]string
Constants ¶
View Source
const HashLabelName = "core.conure.io/hash"
Variables ¶
This section is empty.
Functions ¶
func ApplyStatus ¶
ApplyStatus updates the status of the object with the latest generation to prevent.
func ContainsCondition ¶
ContainsCondition checks if a condition with the given type exists in the conditions slice. Returns the index and true if exists, -1 and false otherwise.
func GetHashForSpec ¶
func GetHashForSpec(specStruct interface{}) string
func GetHashFromLabels ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.