Versions in this module Expand all Collapse all v0 v0.1.0 Jun 2, 2025 Changes in this version + type Logger interface + Debug func(msg string, keysAndValues ...interface{}) + type Option func(w *Watch) + func WithInitialize(initialize initializer.WatcherInitializer) Option + func WithLogger(logger Logger) Option + type Options struct + DisableWatchers []string + HealthzPort int + LockName string + MaxWorkers int64 + func NewOptions() *Options + func (o *Options) AddFlags(fs *pflag.FlagSet) + func (o *Options) Validate() []error + type Watch struct + func NewWatch(opts *Options, db *gorm.DB, withOptions ...Option) (*Watch, error) + func (w *Watch) Start(stopCh <-chan struct{}) + func (w *Watch) Stop()