Documentation
¶
Index ¶
Constants ¶
View Source
const ( EventRecorderNameCassandraCluster = "cassandra-cluster" // appears in the 'From' column of the events list EventAdminRoleSecretNotFound = "AdminRoleSecretNotFound" EventAdminRoleSecretInvalid = "AdminRoleSecretInvalid" EventAdminRoleUpdateFailed = "AdminRoleUpdateFailed" EventAdminRoleCreated = "AdminRoleCreated" EventDefaultAdminRoleDropped = "DefaultAdminRoleRemoved" EventRoleSecretNotFound = "RolesSecretNotFound" EventTLSSecretNotFound = "TLSSecretNotFound" EventTLSSecretInvalid = "TLSSecretInvalid" EventInsecureSetup = "InsecureSetup" EventInvalidRole = "InvalidRole" CassandraConfigInvalid = "InvalidCassandraConfig" EventDCDecommissionBlocked = "DCDecommissionBlocked" EventCassandraClusterNotFound = "CassandraClusterNotFound" EventCassandraBackupNotFound = "CassandraBackupNotFound" EventStorageCredentialsSecretNotFound = "StorageCredentialsSecretNotFound" EventStorageCredentialsSecretInvalid = "StorageCredentialsSecretInvalid" EventAdminRoleChanged = "AdminRoleChanged" EventRegionInit = "RegionInit" EventDCInit = "DCInit" EventCQLScriptSuccess = "CQLScriptSuccess" EventCQLScriptFailed = "CQLScriptFailed" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventReason ¶
type EventReason string
EventReason is the reason why the event was created. The value appears in the 'Reason' tab of the events list
type EventRecorder ¶
type EventRecorder struct {
Recorder record.EventRecorder
}
EventRecorder handles the operations for events
func NewEventRecorder ¶
func NewEventRecorder(recorder record.EventRecorder) *EventRecorder
NewEventRecorder wraps the provided event recorder
func (*EventRecorder) Normal ¶
func (e *EventRecorder) Normal(object runtime.Object, reason EventReason, message string)
Normal creates a 'normal' type event
func (*EventRecorder) Warning ¶
func (e *EventRecorder) Warning(object runtime.Object, reason EventReason, message string)
Warning creates a 'warning' type event
Click to show internal directories.
Click to hide internal directories.