event

package
v0.10.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL