Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapPersist ¶
type ConfigMapPersist struct {
// contains filtered or unexported fields
}
func (*ConfigMapPersist) IsEnabled ¶
func (cmp *ConfigMapPersist) IsEnabled() bool
func (*ConfigMapPersist) Save ¶
func (cmp *ConfigMapPersist) Save(event *Event) error
type EventPersist ¶
type EventPersist interface { Save(event *Event) error Get(key string) (*Event, error) IsEnabled() bool }
func NewConfigMapPersist ¶
func NewConfigMapPersist(ctx context.Context, client kubernetes.Interface, configmap *v1alpha1.ConfigMapPersistence, namespace string) (EventPersist, error)
type NullPersistence ¶
type NullPersistence struct { }
func (*NullPersistence) IsEnabled ¶
func (cmp *NullPersistence) IsEnabled() bool
func (*NullPersistence) Save ¶
func (n *NullPersistence) Save(event *Event) error
Click to show internal directories.
Click to hide internal directories.