Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateEvent ¶
type DeleteEvent ¶
type EnqueueFunc ¶
type EnqueueFunc struct {
EnqueueFunc func()
}
func (EnqueueFunc) Enqueue ¶
func (n EnqueueFunc) Enqueue()
type Generator ¶
type Generator interface { Source healthz.HealthChecker manager.Runnable }
func NewGenerator ¶
type GeneratorOptions ¶
type GenericEvent ¶
type Handler ¶
type Handler interface { Create(event CreateEvent) Update(event UpdateEvent) Delete(event DeleteEvent) Generic(event GenericEvent) }
type HandlerFuncs ¶
type HandlerFuncs struct { CreateFunc func(event CreateEvent) UpdateFunc func(event UpdateEvent) DeleteFunc func(event DeleteEvent) GenericFunc func(event GenericEvent) }
func (HandlerFuncs) Create ¶
func (e HandlerFuncs) Create(event CreateEvent)
func (HandlerFuncs) Delete ¶
func (e HandlerFuncs) Delete(event DeleteEvent)
func (HandlerFuncs) Generic ¶
func (e HandlerFuncs) Generic(event GenericEvent)
func (HandlerFuncs) Update ¶
func (e HandlerFuncs) Update(event UpdateEvent)
type HandlerRegistration ¶
type HandlerRegistration interface {
Remove() error
}
type ListenerRegistration ¶
type ListenerRegistration interface{}
type Source ¶
type Source interface {
AddHandler(handler Handler) (HandlerRegistration, error)
}
Click to show internal directories.
Click to hide internal directories.