# Functions
ApplyStrategicMergePatch applies a strategic merge patch to a target object.
AvailablePods returns pods which are available as defined in IsPodAvailable.
ComputeRollout returns the number of replicas allowed to be updated to keep within a max unavailable threshold.
CreateOrUpdate first attempts to create the obj.
FindOrDefaultCopy returns a deep copy of the object if it exists in the collection, otherwise it returns a deep copy of the comparator.
IgnoreAlreadyExists returns nil if err reason is "already exists".
IgnoreNotFound returns nil if err reason is "not found".
IndexOwner returns field values for indexing "child" resources that are "owned" by a controller (typically the CRD such as CosmosFullNode).
IsAlreadyExists determines if the error indicates that a specified resource already exists.
IsJobFinished checks whether the given Job has finished execution.
IsNotFound returns true if the err reason is "not found".
IsPodAvailable returns true if a pod is available; false otherwise.
MustToInt converts s to int64 or panics on failure.
No description provided by the author
NormalizeMetadata normalizes name, labels, and annotations.
ParseImageVersion parses the version (aka tag) out of imageRef.
RecentVolumeSnapshot finds the most recent, ready to use VolumeSnapshot.
ToIntegerValue converts n to a base 10 integer string.
ToLabelKey normalizes val per kubernetes label constraints to a max of 63 characters.
ToLogger converts a logr.Logger to a Logger.
ToName normalizes val per kubernetes name constraints to a max of 253 characters.
TransientError can be recovered or retried.
UnrecoverableError cannot be recovered and should not be retried.
VolumeSnapshotIsReady returns true if the snapshot is ready to use.
# Constants
Recommended labels.
Recommended labels.
Fields.
The two accepted event types for recording events.
The two accepted event types for recording events.
Recommended labels.
Recommended labels.
OrdinalAnnotation is used to order resources.
Recommended labels.
# Structs
EventReporter both logs and records events.
ReconcileErrors is a collection of ReconcileError.
# Interfaces
Lister can list resources, subset of client.Client.
Logger is a structured logger.
ReconcileError is a controller-specific error.
Reporter logs and reports various events.