Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRequest ¶
func NewRequest(kind, ID string) (*interfaces.ReconcileResource, error)
NewRequest creates a new request to reconcile a resource
Types ¶
type Dispatcher ¶
type Dispatcher interface { notifier.ObjectChangeNotifier HandleEvents(chan interface{}) error }
Dispatcher is the object that decides when to call the reconciler and with what objects. It exists separately from the Reconciler so that we can decouple the channel-driven logic of choosing events to reconcile from the function-type logic of reconciling.
func New ¶
func New(r reconciler.Reconciler, register notifier.Register) Dispatcher
New creates and returns the default Dispatcher object, which will work on the provided Reconciler
Click to show internal directories.
Click to hide internal directories.