eventer

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2020 License: Apache-2.0 Imports: 10 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"
	EventReasonFailedToUpdate                         = "FailedUpdateBackup"
	EventReasonFailedCronJob                          = "FailedCronJob"
	EventReasonFailedToDelete                         = "FailedDelete"
	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