Documentation
¶
Index ¶
- type RulesWatcher
- type RulesWatcherCallback
- type RulesWatcherImpl
- func (w *RulesWatcherImpl) AddHandler(ctx context.Context, obj runtime.Object)
- func (w *RulesWatcherImpl) DeleteHandler(ctx context.Context, obj runtime.Object)
- func (w *RulesWatcherImpl) InitialSync(ctx context.Context) error
- func (w *RulesWatcherImpl) ModifyHandler(ctx context.Context, obj runtime.Object)
- func (w *RulesWatcherImpl) WatchResources() []watcher.WatchResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RulesWatcher ¶
type RulesWatcherCallback ¶
type RulesWatcherCallback = func()
type RulesWatcherImpl ¶
type RulesWatcherImpl struct {
// contains filtered or unexported fields
}
func NewRulesWatcher ¶
func NewRulesWatcher(k8sClient k8sclient.K8sClientInterface, ruleCreator rulecreator.RuleCreator, callback RulesWatcherCallback) *RulesWatcherImpl
func (*RulesWatcherImpl) AddHandler ¶
func (w *RulesWatcherImpl) AddHandler(ctx context.Context, obj runtime.Object)
func (*RulesWatcherImpl) DeleteHandler ¶
func (w *RulesWatcherImpl) DeleteHandler(ctx context.Context, obj runtime.Object)
func (*RulesWatcherImpl) InitialSync ¶
func (w *RulesWatcherImpl) InitialSync(ctx context.Context) error
func (*RulesWatcherImpl) ModifyHandler ¶
func (w *RulesWatcherImpl) ModifyHandler(ctx context.Context, obj runtime.Object)
func (*RulesWatcherImpl) WatchResources ¶
func (w *RulesWatcherImpl) WatchResources() []watcher.WatchResource
Click to show internal directories.
Click to hide internal directories.