events

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Event types
	EventTypeNormal  EventType = "Normal"
	EventTypeWarning EventType = "Warning"

	// Event reasons
	ReasonCreated    EventReason = "Created"
	ReasonUpdated    EventReason = "Updated"
	ReasonFailed     EventReason = "Failed"
	ReasonReconciled EventReason = "Reconciled"

	// Kode event reasons
	ReasonKodeConfiguring                    EventReason = "KodeConfiguring"
	ReasonKodeProvisioning                   EventReason = "KodeProvisioning"
	ReasonKodeActive                         EventReason = "KodeActive"
	ReasonKodeSuspended                      EventReason = "KodeSuspended"
	ReasonKodeResuming                       EventReason = "KodeResuming"
	ReasonKodeDeleting                       EventReason = "KodeDeleting"
	ReasonKodeFailed                         EventReason = "KodeFailed"
	ReasonKodeUnknown                        EventReason = "KodeUnknown"
	ReasonKodeCSIResizeCapabilityChecked     EventReason = "KodeCSIResizeCapabilityChecked"
	ReasonKodeCSIResizeCapabilityCheckFailed EventReason = "KodeCSIResizeCapabilityCheckFailed"
	ReasonKodePVCResizeAttempted             EventReason = "KodePVCResizeAttempted"
	ReasonKodePVCResizeSkipped               EventReason = "KodePVCResizeSkipped"
	ReasonKodePVCCreated                     EventReason = "KodePVCCreated"
	ReasonKodeExistingPVCUsed                EventReason = "KodeExistingPVCUsed"

	// EntryPoint event reasons
	ReasonEntryPointConfiguring         EventReason = "EntryPointConfiguring"
	ReasonEntryPointProvisioning        EventReason = "EntryPointProvisioning"
	ReasonEntryPointActive              EventReason = "EntryPointActive"
	ReasonEntryPointDeleting            EventReason = "EntryPointDeleting"
	ReasonEntryPointFailed              EventReason = "EntryPointFailed"
	ReasonEntryPointUnknown             EventReason = "EntryPointUnknown"
	ReasonEntryPointValidationFailed    EventReason = "EntryPointValidationFailed"
	ReasonEntryPointResourceCheckFailed EventReason = "EntryPointResourceCheckFailed"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EventManager

type EventManager interface {
	Record(ctx context.Context, object client.Object, eventtype EventType, reason EventReason, message string) error
}

EventManager defines the interface for managing events

func NewEventManager

func NewEventManager(client client.Client, log logr.Logger, scheme *runtime.Scheme, eventRecorder record.EventRecorder) EventManager

NewEventManager creates a new EventManager

type EventReason

type EventReason string

EventReason defines the reason for an event

type EventType

type EventType string

EventType defines the type of an event

Jump to

Keyboard shortcuts

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