Versions in this module Expand all Collapse all v0 v0.2.253 Apr 7, 2025 Changes in this version + func MakeEventKey(e watch.Event) string + type Adaptor interface + type AdaptorMock struct + WatchResource []WatchResourceMock + func (am *AdaptorMock) WatchResources() []WatchResource + type WatchResource interface + GroupVersionResource func() schema.GroupVersionResource + ListOptions func() metav1.ListOptions + type WatchResourceImpl struct + func NewWatchResource(groupVersionResource schema.GroupVersionResource, ...) *WatchResourceImpl + func (wr *WatchResourceImpl) GroupVersionResource() schema.GroupVersionResource + func (wr *WatchResourceImpl) ListOptions() metav1.ListOptions + type WatchResourceMock struct + ListOpt metav1.ListOptions + Schema schema.GroupVersionResource + func (rm *WatchResourceMock) GroupVersionResource() schema.GroupVersionResource + func (rm *WatchResourceMock) ListOptions() metav1.ListOptions + type WatchResources interface + WatchResources func() []WatchResource + type WatchResourcesMock struct + func (rm *WatchResourcesMock) WatchResources() []WatchResource + type Watcher interface + AddHandler func(ctx context.Context, obj runtime.Object) + DeleteHandler func(ctx context.Context, obj runtime.Object) + ModifyHandler func(ctx context.Context, obj runtime.Object) + type WatcherMock struct + Added chan runtime.Object + Deleted chan runtime.Object + Updated chan runtime.Object + func NewWatcherMock() *WatcherMock + func (wm *WatcherMock) AddHandler(_ context.Context, obj runtime.Object) + func (wm *WatcherMock) DeleteHandler(_ context.Context, obj runtime.Object) + func (wm *WatcherMock) ModifyHandler(_ context.Context, obj runtime.Object)