Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupedRequestWatcher ¶
type GroupedRequestWatcher struct {
// contains filtered or unexported fields
}
GroupedRequestWatcher groups reconcile.Request based on NamespacedName and sends distinct ones to their goroutines.
type Watcher ¶
type Watcher interface { // Watch will be called with request data Watch(requests <-chan reconcile.Request) error }
Watcher defines a logic to execute on reconciliation request It's similar to Reconciler loop but it's unmanaged
func NewGroupedRequestWatcher ¶
NewGroupedRequestWatcher creates a new GroupedRequestWatcher with empty map of channels
type Watchers ¶
type Watchers []Watcher
Watchers is a utility struct to deal with multiple watchers
func (*Watchers) AddWatchers ¶
AddWatchers adds passed watchers
Click to show internal directories.
Click to hide internal directories.