Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerFunc ¶
func (HandlerFunc[E]) Handle ¶
func (f HandlerFunc[E]) Handle(event Event[E])
type HandlerRegistration ¶
type HandlerRegistration interface{}
type ListWatchSource ¶
func NewListWatchSource ¶
func (*ListWatchSource[E]) AddHandler ¶
func (s *ListWatchSource[E]) AddHandler(handler Handler[E]) (HandlerRegistration, error)
func (*ListWatchSource[E]) RemoveHandler ¶
func (s *ListWatchSource[E]) RemoveHandler(registration HandlerRegistration) error
type ListWatchSourceOptions ¶
type Source ¶
type Source[E api.Object] interface { AddHandler(handler Handler[E]) (HandlerRegistration, error) RemoveHandler(registration HandlerRegistration) error }
Click to show internal directories.
Click to hide internal directories.