events

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTargetNodeFailed added in v1.14.0

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

GetTargetNodeFailed will record a Warning event with reason RemediationFailed and message "Could not get remediation target node".

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 and message "NHC added the timed-out annotation, remediation will be stopped".

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