Files
client-go/tools/events
Adrian Fernandez De La Torre e86b6659d9 events: add AnnotatedEventRecorder interface
Add a separate AnnotatedEventRecorder interface with an AnnotatedEventf
method that allows attaching annotations to events at creation time.
Implement it in recorderImpl, FakeRecorder, and EventRecorderAdapter.

Add a Verbose option to FakeRecorder that optionally includes action,
object kind/apiVersion, and annotations in event output. The default
format is unchanged.

Signed-off-by: Adrian Fernandez De La Torre <adri1197@gmail.com>

Kubernetes-commit: 31fe350b2b2065b49752adb4f68f1ea1c282058e
2026-03-30 15:43:47 +02:00
..
2024-12-02 14:43:58 +01:00
2022-01-03 10:59:47 -05:00