package
1.1.5
Repository: https://github.com/athosone/operator-utils.git
Documentation: pkg.go.dev

# Functions

AddOrReplaceCondition adds or replaces the passed condition in the passed array of conditions.
GetCondition returns the condition with the given type, if it exists.
GetKeyLong return a unique key for a given object in the pattern of <kind>/<apiversion>/<namespace>/<name> namespace can be null.
GetKeyShort return a unique key for a given object in the pattern of <apiversion>/<namespace>/<name> namespace can be null.
GetLastCondition retruns the last condition based on the condition timestamp.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

EnforcingReconcileStatus represents the status of the last reconcile cycle.
LockedResource represents a resource to be enforced in a LockedResourceController and can be used in a API specification +k8s:openapi-gen=true.
LockedResourceTemplate represents a resource template in go language to be enforced in a LockedResourceController and can be used in a API specification +k8s:openapi-gen=true.
Patch describes a patch to be enforced at runtime +k8s:openapi-gen=true.

# Interfaces

ConditionsAware represents a CRD type that has been enabled with metav1.Conditions, it can then benefit of a series of utility methods.
EnforcingReconcileStatusAware represent a CRD type that has been enabled with ReconcileStatus, it can then benefit of a series of utility methods.

# Type aliases

+patchMergeKey=type +patchStrategy=merge +listType=map +listMapKey=type.