recording

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL