Documentation
¶
Overview ¶
Package recording provides utilities for recording Kubernetes events.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RecordCreateOrUpdateOperationEvent ¶
func RecordCreateOrUpdateOperationEvent( recorder record.EventRecorder, op controllerutil.OperationResult, object client.Object, owner runtime.Object, messageKeyValuePairs ...string, )
RecordCreateOrUpdateOperationEvent records an event for CreateOrUpdate operations on a resource (object) for it's owning resource (owner)
- OperationResultNone: No event is recorded
- Other operation results: An event of type Normal is recorded
- messageKeyValuePairs are strings expected on the format "myKey=myValue" and are prepended to the generated event message for additional information
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.