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 = "Configuring" ReasonKodeProvisioning EventReason = "Provisioning" ReasonKodeActive EventReason = "Active" ReasonKodeSuspended EventReason = "Suspended" ReasonKodeResuming EventReason = "Resuming" ReasonKodeDeleting EventReason = "Deleting" ReasonKodeFailed EventReason = "Failed" ReasonKodeUnknown EventReason = "Unknown" ReasonKodeCSIResizeCapabilityChecked EventReason = "CSIResizeCapabilityChecked" ReasonKodeCSIResizeCapabilityCheckFailed EventReason = "CSIResizeCapabilityCheckFailed" ReasonKodePVCResizeAttempted EventReason = "PVCResizeAttempted" ReasonKodePVCResizeSkipped EventReason = "PVCResizeSkipped" ReasonKodePVCCreated EventReason = "PVCCreated" ReasonKodeExistingPVCUsed EventReason = "ExistingPVCUsed" // 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.