eventer

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventReasonInvalidRestic                          = "InvalidRestic"
	EventReasonInvalidRecovery                        = "InvalidRecovery"
	EventReasonInvalidCronExpression                  = "InvalidCronExpression"
	EventReasonSuccessfulCronExpressionReset          = "SuccessfulCronExpressionReset"
	EventReasonSuccessfulBackup                       = "SuccessfulBackup"
	EventReasonFailedToBackup                         = "FailedBackup"
	EventReasonSuccessfulRecovery                     = "SuccessfulRecovery"
	EventReasonFailedToRecover                        = "FailedRecovery"
	EventReasonSuccessfulCheck                        = "SuccessfulCheck"
	EventReasonFailedToCheck                          = "FailedCheck"
	EventReasonFailedToRetention                      = "FailedRetention"
	EventReasonFailedToStart                          = "FailedToStart"
	EventReasonFailedToUpdate                         = "FailedToUpdate"
	EventReasonFailedCronJob                          = "FailedCronJob"
	EventReasonFailedToDelete                         = "FailedToDelete"
	EventReasonJobCreated                             = "RecoveryJobCreated"
	EventReasonJobFailedToCreate                      = "RecoveryJobFailedToCreate"
	EventReasonCheckJobCreated                        = "CheckJobCreated"
	EventReasonFailedSetup                            = "SetupFailed"
	EventReasonAdmissionWebhookNotActivated    string = "AdmissionWebhookNotActivated"
	EventReasonStatsServiceDeleteSuccessful           = "StatsServiceDeleteSuccessful"
	EventReasonStatsServiceReconcileFailed            = "StatsServiceReconcileFailed"
	EventReasonStatsServiceReconcileSuccessful        = "StatsServiceReconcileSuccessful"
)

Variables

This section is empty.

Functions

func CreateEvent

func CreateEvent(client kubernetes.Interface, component string, obj runtime.Object, eventType, reason, message string) (*core.Event, error)

func CreateEventWithLog

func CreateEventWithLog(client kubernetes.Interface, component string, obj runtime.Object, eventType, reason, message string)

func NewEventRecorder

func NewEventRecorder(client kubernetes.Interface, component string) record.EventRecorder

Types

This section is empty.

Jump to

Keyboard shortcuts

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