Documentation ¶
Index ¶
- func GetTargetNodeFailed(recorder record.EventRecorder, object runtime.Object)
- func NormalEvent(recorder record.EventRecorder, object runtime.Object, reason, message string)
- func NormalEventf(recorder record.EventRecorder, object runtime.Object, ...)
- func RemediationFinished(recorder record.EventRecorder, object runtime.Object)
- func RemediationStarted(recorder record.EventRecorder, object runtime.Object)
- func RemediationStoppedByNHC(recorder record.EventRecorder, object runtime.Object)
- func WarningEvent(recorder record.EventRecorder, object runtime.Object, reason, message string)
- func WarningEventf(recorder record.EventRecorder, object runtime.Object, ...)
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.