eventer

package
v0.0.0-...-d10261a Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

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"
)

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