Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Watcher ¶
type Watcher interface {
OnChange(eventType resourcepb.Watch_EventType, obj runtime.Unstructured) bool
}
type WatcherManager ¶
type WatcherManager interface { Add(ctx context.Context, options rest.ListOptions, callback Watcher) error // Del is handled with the isDone or callBackFn result // start the generic watcher channel Start(ctx context.Context) Stop() WatchChan() chan watch.Event }
func New ¶
func New(maxWatchers int64) WatcherManager
Click to show internal directories.
Click to hide internal directories.