Documentation ¶
Index ¶
- func MarkAsStalled(recorder kuberecorder.EventRecorder, obj conditions.Setter, reason, msg string)
- func MarkNotReady(recorder kuberecorder.EventRecorder, obj conditions.Setter, reason, msg string)
- func MarkReady(recorder kuberecorder.EventRecorder, obj conditions.Setter, msg string, ...)
- func UpdateStatus(ctx context.Context, patchHelper *patch.SerialPatcher, ...) error
- type IdentifiableClientObject
- type Mutator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarkAsStalled ¶
func MarkAsStalled(recorder kuberecorder.EventRecorder, obj conditions.Setter, reason, msg string)
MarkAsStalled sets the condition status of an Object to `Stalled`.
func MarkNotReady ¶
func MarkNotReady(recorder kuberecorder.EventRecorder, obj conditions.Setter, reason, msg string)
MarkNotReady sets the condition status of an Object to `Not Ready`.
func MarkReady ¶ added in v0.16.1
func MarkReady(recorder kuberecorder.EventRecorder, obj conditions.Setter, msg string, messageArgs ...any)
MarkReady sets the condition status of an Object to `Ready`.
func UpdateStatus ¶
func UpdateStatus( ctx context.Context, patchHelper *patch.SerialPatcher, obj IdentifiableClientObject, recorder kuberecorder.EventRecorder, requeue time.Duration, err error, ) error
UpdateStatus takes an object which can identify itself and updates its status including ObservedGeneration.
Types ¶
type IdentifiableClientObject ¶
type IdentifiableClientObject interface { Mutator conditions.Setter // GetVID constructs an identifier for an object. GetVID() map[string]string }
IdentifiableClientObject defines an object which can create an identity for itself.
Click to show internal directories.
Click to hide internal directories.