eventer

package
Version: v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: Apache-2.0 Imports: 11 Imported by: 33

Documentation

Index

Constants

View Source
const (
	EventReasonPausing                          string = "Pausing"
	EventReasonWipingOut                        string = "WipingOut"
	EventReasonFailedToCreate                   string = "Failed"
	EventReasonFailedToPause                    string = "Failed"
	EventReasonFailedToDelete                   string = "Failed"
	EventReasonFailedToWipeOut                  string = "Failed"
	EventReasonFailedToGet                      string = "Failed"
	EventReasonFailedToInitialize               string = "Failed"
	EventReasonFailedToList                     string = "Failed"
	EventReasonFailedToResume                   string = "Failed"
	EventReasonFailedToSchedule                 string = "Failed"
	EventReasonFailedToStart                    string = "Failed"
	EventReasonFailedToUpdate                   string = "Failed"
	EventReasonIgnoredSnapshot                  string = "IgnoredSnapshot"
	EventReasonInitializing                     string = "Initializing"
	EventReasonInvalid                          string = "Invalid"
	EventReasonResuming                         string = "Resuming"
	EventReasonSnapshotFailed                   string = "SnapshotFailed"
	EventReasonSnapshotError                    string = "SnapshotError"
	EventReasonStarting                         string = "Starting"
	EventReasonSuccessful                       string = "Successful"
	EventReasonSuccessfulCreate                 string = "SuccessfulCreate"
	EventReasonSuccessfulPause                  string = "SuccessfulPause"
	EventReasonSuccessfulWipeOut                string = "SuccessfulWipeOut"
	EventReasonSuccessfulSnapshot               string = "SuccessfulSnapshot"
	EventReasonSuccessfulInitialize             string = "SuccessfulInitialize"
	EventReasonAdmissionWebhookNotActivated     string = "AdmissionWebhookNotActivated"
	EventReasonSuccessfulDatabaseInitialization string = "DatabaseInitializedSuccessfully"
	EventReasonFailureInDatabaseInitialization  string = "FailedToInitializeDatabase"
)

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.

Source Files

Jump to

Keyboard shortcuts

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