events

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalEvent

func NormalEvent(recorder record.EventRecorder, object runtime.Object, reason, message string)

NormalEvent will record an event with type Normal and fixed message.

func NormalEventf

func NormalEventf(recorder record.EventRecorder, object runtime.Object, reason, messageFmt string, a ...interface{})

NormalEventf will record an event with type Normal and formatted message.

func RemediationFinished

func RemediationFinished(recorder record.EventRecorder, object runtime.Object)

RemediationFinished will record a Normal event with reason RemediationFinished and message Remediation finished.

func RemediationStarted

func RemediationStarted(recorder record.EventRecorder, object runtime.Object)

RemediationStarted will record a Normal event with reason RemediationStarted and message Remediation started.

func RemediationStoppedByNHC

func RemediationStoppedByNHC(recorder record.EventRecorder, object runtime.Object)

RemediationStoppedByNHC will record a Normal event with reason RemediationStopped.

func WarningEvent

func WarningEvent(recorder record.EventRecorder, object runtime.Object, reason, message string)

WarningEvent will record an event with type Warning and fixed message.

func WarningEventf

func WarningEventf(recorder record.EventRecorder, object runtime.Object, reason, messageFmt string, a ...interface{})

WarningEventf will record an event with type Warning and formatted message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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