Documentation ¶
Overview ¶
Package event implements the reflection logic for events.
Index ¶
Constants ¶
View Source
const (
// EventReflectorName -> The name associated with the Event reflector.
EventReflectorName = "Event"
)
Variables ¶
This section is empty.
Functions ¶
func NewEventReflector ¶
func NewEventReflector(reflectorConfig *generic.ReflectorConfig) manager.Reflector
NewEventReflector returns a new EventReflector instance.
func NewNamespacedEventReflector ¶
func NewNamespacedEventReflector(opts *options.NamespacedOpts) manager.NamespacedReflector
NewNamespacedEventReflector returns a new NamespacedEventReflector instance.
Types ¶
type NamespacedEventReflector ¶
type NamespacedEventReflector struct { generic.NamespacedReflector // contains filtered or unexported fields }
NamespacedEventReflector manages the Event reflection for a given pair of local and remote namespaces.
func (*NamespacedEventReflector) Handle ¶
func (ner *NamespacedEventReflector) Handle(ctx context.Context, name string) error
Handle reconciles Event objects.
func (*NamespacedEventReflector) List ¶
func (ner *NamespacedEventReflector) List() ([]interface{}, error)
List returns the list of objects.
Click to show internal directories.
Click to hide internal directories.