Versions in this module Expand all Collapse all v0 v0.0.2 Dec 17, 2018 v0.0.1 Dec 4, 2018 Changes in this version + type Filter interface + Add func(obj v1.Object) bool + Delete func(obj v1.Object) bool + Update func(oldObj, newObj v1.Object) bool + type FilterFuncs struct + AddFunc func(obj v1.Object) bool + DeleteFunc func(obj v1.Object) bool + ParentFunc ParentFunc + UpdateFunc func(oldObj, newObj v1.Object) bool + func (f FilterFuncs) Add(obj v1.Object) bool + func (f FilterFuncs) Delete(obj v1.Object) bool + func (f FilterFuncs) Parent(obj v1.Object) (namespace, name string) + func (f FilterFuncs) Update(oldObj, newObj v1.Object) bool + type InformerGetter interface + Informer func() cache.SharedIndexInformer + type KeySyncer interface + Key func(namespace, name string) (v1.Object, error) + type Option func(*controller) + func WithInformer(getter InformerGetter, filter ParentFilter) Option + func WithInformerSynced(getter InformerGetter) Option + func WithMaxRetries(maxRetries int) Option + func WithRateLimiter(limiter workqueue.RateLimiter) Option + type ParentFilter interface + Parent func(obj v1.Object) (namespace, name string) + func FilterByNames(parentFunc ParentFunc, names ...string) ParentFilter + type ParentFunc func(obj v1.Object) (namespace, name string) + type Runner interface + Run func(workers int, stopCh <-chan struct{}) + func New(name string, sync KeySyncer, opts ...Option) Runner + type SyncFunc func(v1.Object) error + type Syncer interface + Sync func(v1.Object) error