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
Click to show internal directories.
Click to hide internal directories.