Documentation ¶
Index ¶
- type ComponentStatusControllerMock
- func (mock *ComponentStatusControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *ComponentStatusControllerMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *ComponentStatusControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *ComponentStatusControllerMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *ComponentStatusControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *ComponentStatusControllerMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *ComponentStatusControllerMock) AddHandler(ctx context.Context, name string, handler v1a.ComponentStatusHandlerFunc)
- func (mock *ComponentStatusControllerMock) AddHandlerCalls() []struct{ ... }
- func (mock *ComponentStatusControllerMock) Enqueue(namespace string, name string)
- func (mock *ComponentStatusControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)
- func (mock *ComponentStatusControllerMock) EnqueueAfterCalls() []struct{ ... }
- func (mock *ComponentStatusControllerMock) EnqueueCalls() []struct{ ... }
- func (mock *ComponentStatusControllerMock) Generic() controller.GenericController
- func (mock *ComponentStatusControllerMock) GenericCalls() []struct{}
- func (mock *ComponentStatusControllerMock) Informer() cache.SharedIndexInformer
- func (mock *ComponentStatusControllerMock) InformerCalls() []struct{}
- func (mock *ComponentStatusControllerMock) Lister() v1a.ComponentStatusLister
- func (mock *ComponentStatusControllerMock) ListerCalls() []struct{}
- func (mock *ComponentStatusControllerMock) Start(ctx context.Context, threadiness int) error
- func (mock *ComponentStatusControllerMock) StartCalls() []struct{ ... }
- func (mock *ComponentStatusControllerMock) Sync(ctx context.Context) error
- func (mock *ComponentStatusControllerMock) SyncCalls() []struct{ ... }
- type ComponentStatusInterfaceMock
- func (mock *ComponentStatusInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *ComponentStatusInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *ComponentStatusInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *ComponentStatusInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct{ ... }
- func (mock *ComponentStatusInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *ComponentStatusInterfaceMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *ComponentStatusInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, ...)
- func (mock *ComponentStatusInterfaceMock) AddClusterScopedLifecycleCalls() []struct{ ... }
- func (mock *ComponentStatusInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *ComponentStatusInterfaceMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *ComponentStatusInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *ComponentStatusInterfaceMock) AddFeatureLifecycleCalls() []struct{ ... }
- func (mock *ComponentStatusInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.ComponentStatusHandlerFunc)
- func (mock *ComponentStatusInterfaceMock) AddHandlerCalls() []struct{ ... }
- func (mock *ComponentStatusInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.ComponentStatusLifecycle)
- func (mock *ComponentStatusInterfaceMock) AddLifecycleCalls() []struct{ ... }
- func (mock *ComponentStatusInterfaceMock) Controller() v1a.ComponentStatusController
- func (mock *ComponentStatusInterfaceMock) ControllerCalls() []struct{}
- func (mock *ComponentStatusInterfaceMock) Create(in1 *v1.ComponentStatus) (*v1.ComponentStatus, error)
- func (mock *ComponentStatusInterfaceMock) CreateCalls() []struct{ ... }
- func (mock *ComponentStatusInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error
- func (mock *ComponentStatusInterfaceMock) DeleteCalls() []struct{ ... }
- func (mock *ComponentStatusInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error
- func (mock *ComponentStatusInterfaceMock) DeleteCollectionCalls() []struct{ ... }
- func (mock *ComponentStatusInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error
- func (mock *ComponentStatusInterfaceMock) DeleteNamespacedCalls() []struct{ ... }
- func (mock *ComponentStatusInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.ComponentStatus, error)
- func (mock *ComponentStatusInterfaceMock) GetCalls() []struct{ ... }
- func (mock *ComponentStatusInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.ComponentStatus, error)
- func (mock *ComponentStatusInterfaceMock) GetNamespacedCalls() []struct{ ... }
- func (mock *ComponentStatusInterfaceMock) List(opts v1b.ListOptions) (*v1a.ComponentStatusList, error)
- func (mock *ComponentStatusInterfaceMock) ListCalls() []struct{ ... }
- func (mock *ComponentStatusInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.ComponentStatusList, error)
- func (mock *ComponentStatusInterfaceMock) ListNamespacedCalls() []struct{ ... }
- func (mock *ComponentStatusInterfaceMock) ObjectClient() *objectclient.ObjectClient
- func (mock *ComponentStatusInterfaceMock) ObjectClientCalls() []struct{}
- func (mock *ComponentStatusInterfaceMock) Update(in1 *v1.ComponentStatus) (*v1.ComponentStatus, error)
- func (mock *ComponentStatusInterfaceMock) UpdateCalls() []struct{ ... }
- func (mock *ComponentStatusInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)
- func (mock *ComponentStatusInterfaceMock) WatchCalls() []struct{ ... }
- type ComponentStatusListerMock
- func (mock *ComponentStatusListerMock) Get(namespace string, name string) (*v1.ComponentStatus, error)
- func (mock *ComponentStatusListerMock) GetCalls() []struct{ ... }
- func (mock *ComponentStatusListerMock) List(namespace string, selector labels.Selector) ([]*v1.ComponentStatus, error)
- func (mock *ComponentStatusListerMock) ListCalls() []struct{ ... }
- type ComponentStatusesGetterMock
- type ConfigMapControllerMock
- func (mock *ConfigMapControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *ConfigMapControllerMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *ConfigMapControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *ConfigMapControllerMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *ConfigMapControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *ConfigMapControllerMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *ConfigMapControllerMock) AddHandler(ctx context.Context, name string, handler v1a.ConfigMapHandlerFunc)
- func (mock *ConfigMapControllerMock) AddHandlerCalls() []struct{ ... }
- func (mock *ConfigMapControllerMock) Enqueue(namespace string, name string)
- func (mock *ConfigMapControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)
- func (mock *ConfigMapControllerMock) EnqueueAfterCalls() []struct{ ... }
- func (mock *ConfigMapControllerMock) EnqueueCalls() []struct{ ... }
- func (mock *ConfigMapControllerMock) Generic() controller.GenericController
- func (mock *ConfigMapControllerMock) GenericCalls() []struct{}
- func (mock *ConfigMapControllerMock) Informer() cache.SharedIndexInformer
- func (mock *ConfigMapControllerMock) InformerCalls() []struct{}
- func (mock *ConfigMapControllerMock) Lister() v1a.ConfigMapLister
- func (mock *ConfigMapControllerMock) ListerCalls() []struct{}
- func (mock *ConfigMapControllerMock) Start(ctx context.Context, threadiness int) error
- func (mock *ConfigMapControllerMock) StartCalls() []struct{ ... }
- func (mock *ConfigMapControllerMock) Sync(ctx context.Context) error
- func (mock *ConfigMapControllerMock) SyncCalls() []struct{ ... }
- type ConfigMapInterfaceMock
- func (mock *ConfigMapInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *ConfigMapInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *ConfigMapInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *ConfigMapInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct{ ... }
- func (mock *ConfigMapInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *ConfigMapInterfaceMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *ConfigMapInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, ...)
- func (mock *ConfigMapInterfaceMock) AddClusterScopedLifecycleCalls() []struct{ ... }
- func (mock *ConfigMapInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *ConfigMapInterfaceMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *ConfigMapInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *ConfigMapInterfaceMock) AddFeatureLifecycleCalls() []struct{ ... }
- func (mock *ConfigMapInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.ConfigMapHandlerFunc)
- func (mock *ConfigMapInterfaceMock) AddHandlerCalls() []struct{ ... }
- func (mock *ConfigMapInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.ConfigMapLifecycle)
- func (mock *ConfigMapInterfaceMock) AddLifecycleCalls() []struct{ ... }
- func (mock *ConfigMapInterfaceMock) Controller() v1a.ConfigMapController
- func (mock *ConfigMapInterfaceMock) ControllerCalls() []struct{}
- func (mock *ConfigMapInterfaceMock) Create(in1 *v1.ConfigMap) (*v1.ConfigMap, error)
- func (mock *ConfigMapInterfaceMock) CreateCalls() []struct{ ... }
- func (mock *ConfigMapInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error
- func (mock *ConfigMapInterfaceMock) DeleteCalls() []struct{ ... }
- func (mock *ConfigMapInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error
- func (mock *ConfigMapInterfaceMock) DeleteCollectionCalls() []struct{ ... }
- func (mock *ConfigMapInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error
- func (mock *ConfigMapInterfaceMock) DeleteNamespacedCalls() []struct{ ... }
- func (mock *ConfigMapInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.ConfigMap, error)
- func (mock *ConfigMapInterfaceMock) GetCalls() []struct{ ... }
- func (mock *ConfigMapInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.ConfigMap, error)
- func (mock *ConfigMapInterfaceMock) GetNamespacedCalls() []struct{ ... }
- func (mock *ConfigMapInterfaceMock) List(opts v1b.ListOptions) (*v1a.ConfigMapList, error)
- func (mock *ConfigMapInterfaceMock) ListCalls() []struct{ ... }
- func (mock *ConfigMapInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.ConfigMapList, error)
- func (mock *ConfigMapInterfaceMock) ListNamespacedCalls() []struct{ ... }
- func (mock *ConfigMapInterfaceMock) ObjectClient() *objectclient.ObjectClient
- func (mock *ConfigMapInterfaceMock) ObjectClientCalls() []struct{}
- func (mock *ConfigMapInterfaceMock) Update(in1 *v1.ConfigMap) (*v1.ConfigMap, error)
- func (mock *ConfigMapInterfaceMock) UpdateCalls() []struct{ ... }
- func (mock *ConfigMapInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)
- func (mock *ConfigMapInterfaceMock) WatchCalls() []struct{ ... }
- type ConfigMapListerMock
- func (mock *ConfigMapListerMock) Get(namespace string, name string) (*v1.ConfigMap, error)
- func (mock *ConfigMapListerMock) GetCalls() []struct{ ... }
- func (mock *ConfigMapListerMock) List(namespace string, selector labels.Selector) ([]*v1.ConfigMap, error)
- func (mock *ConfigMapListerMock) ListCalls() []struct{ ... }
- type ConfigMapsGetterMock
- type EndpointsControllerMock
- func (mock *EndpointsControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *EndpointsControllerMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *EndpointsControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *EndpointsControllerMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *EndpointsControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *EndpointsControllerMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *EndpointsControllerMock) AddHandler(ctx context.Context, name string, handler v1a.EndpointsHandlerFunc)
- func (mock *EndpointsControllerMock) AddHandlerCalls() []struct{ ... }
- func (mock *EndpointsControllerMock) Enqueue(namespace string, name string)
- func (mock *EndpointsControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)
- func (mock *EndpointsControllerMock) EnqueueAfterCalls() []struct{ ... }
- func (mock *EndpointsControllerMock) EnqueueCalls() []struct{ ... }
- func (mock *EndpointsControllerMock) Generic() controller.GenericController
- func (mock *EndpointsControllerMock) GenericCalls() []struct{}
- func (mock *EndpointsControllerMock) Informer() cache.SharedIndexInformer
- func (mock *EndpointsControllerMock) InformerCalls() []struct{}
- func (mock *EndpointsControllerMock) Lister() v1a.EndpointsLister
- func (mock *EndpointsControllerMock) ListerCalls() []struct{}
- func (mock *EndpointsControllerMock) Start(ctx context.Context, threadiness int) error
- func (mock *EndpointsControllerMock) StartCalls() []struct{ ... }
- func (mock *EndpointsControllerMock) Sync(ctx context.Context) error
- func (mock *EndpointsControllerMock) SyncCalls() []struct{ ... }
- type EndpointsGetterMock
- type EndpointsInterfaceMock
- func (mock *EndpointsInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *EndpointsInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *EndpointsInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *EndpointsInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct{ ... }
- func (mock *EndpointsInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *EndpointsInterfaceMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *EndpointsInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, ...)
- func (mock *EndpointsInterfaceMock) AddClusterScopedLifecycleCalls() []struct{ ... }
- func (mock *EndpointsInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *EndpointsInterfaceMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *EndpointsInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *EndpointsInterfaceMock) AddFeatureLifecycleCalls() []struct{ ... }
- func (mock *EndpointsInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.EndpointsHandlerFunc)
- func (mock *EndpointsInterfaceMock) AddHandlerCalls() []struct{ ... }
- func (mock *EndpointsInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.EndpointsLifecycle)
- func (mock *EndpointsInterfaceMock) AddLifecycleCalls() []struct{ ... }
- func (mock *EndpointsInterfaceMock) Controller() v1a.EndpointsController
- func (mock *EndpointsInterfaceMock) ControllerCalls() []struct{}
- func (mock *EndpointsInterfaceMock) Create(in1 *v1.Endpoints) (*v1.Endpoints, error)
- func (mock *EndpointsInterfaceMock) CreateCalls() []struct{ ... }
- func (mock *EndpointsInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error
- func (mock *EndpointsInterfaceMock) DeleteCalls() []struct{ ... }
- func (mock *EndpointsInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error
- func (mock *EndpointsInterfaceMock) DeleteCollectionCalls() []struct{ ... }
- func (mock *EndpointsInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error
- func (mock *EndpointsInterfaceMock) DeleteNamespacedCalls() []struct{ ... }
- func (mock *EndpointsInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.Endpoints, error)
- func (mock *EndpointsInterfaceMock) GetCalls() []struct{ ... }
- func (mock *EndpointsInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.Endpoints, error)
- func (mock *EndpointsInterfaceMock) GetNamespacedCalls() []struct{ ... }
- func (mock *EndpointsInterfaceMock) List(opts v1b.ListOptions) (*v1a.EndpointsList, error)
- func (mock *EndpointsInterfaceMock) ListCalls() []struct{ ... }
- func (mock *EndpointsInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.EndpointsList, error)
- func (mock *EndpointsInterfaceMock) ListNamespacedCalls() []struct{ ... }
- func (mock *EndpointsInterfaceMock) ObjectClient() *objectclient.ObjectClient
- func (mock *EndpointsInterfaceMock) ObjectClientCalls() []struct{}
- func (mock *EndpointsInterfaceMock) Update(in1 *v1.Endpoints) (*v1.Endpoints, error)
- func (mock *EndpointsInterfaceMock) UpdateCalls() []struct{ ... }
- func (mock *EndpointsInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)
- func (mock *EndpointsInterfaceMock) WatchCalls() []struct{ ... }
- type EndpointsListerMock
- func (mock *EndpointsListerMock) Get(namespace string, name string) (*v1.Endpoints, error)
- func (mock *EndpointsListerMock) GetCalls() []struct{ ... }
- func (mock *EndpointsListerMock) List(namespace string, selector labels.Selector) ([]*v1.Endpoints, error)
- func (mock *EndpointsListerMock) ListCalls() []struct{ ... }
- type EventControllerMock
- func (mock *EventControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *EventControllerMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *EventControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *EventControllerMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *EventControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *EventControllerMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *EventControllerMock) AddHandler(ctx context.Context, name string, handler v1a.EventHandlerFunc)
- func (mock *EventControllerMock) AddHandlerCalls() []struct{ ... }
- func (mock *EventControllerMock) Enqueue(namespace string, name string)
- func (mock *EventControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)
- func (mock *EventControllerMock) EnqueueAfterCalls() []struct{ ... }
- func (mock *EventControllerMock) EnqueueCalls() []struct{ ... }
- func (mock *EventControllerMock) Generic() controller.GenericController
- func (mock *EventControllerMock) GenericCalls() []struct{}
- func (mock *EventControllerMock) Informer() cache.SharedIndexInformer
- func (mock *EventControllerMock) InformerCalls() []struct{}
- func (mock *EventControllerMock) Lister() v1a.EventLister
- func (mock *EventControllerMock) ListerCalls() []struct{}
- func (mock *EventControllerMock) Start(ctx context.Context, threadiness int) error
- func (mock *EventControllerMock) StartCalls() []struct{ ... }
- func (mock *EventControllerMock) Sync(ctx context.Context) error
- func (mock *EventControllerMock) SyncCalls() []struct{ ... }
- type EventInterfaceMock
- func (mock *EventInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *EventInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *EventInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *EventInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct{ ... }
- func (mock *EventInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *EventInterfaceMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *EventInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, ...)
- func (mock *EventInterfaceMock) AddClusterScopedLifecycleCalls() []struct{ ... }
- func (mock *EventInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *EventInterfaceMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *EventInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *EventInterfaceMock) AddFeatureLifecycleCalls() []struct{ ... }
- func (mock *EventInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.EventHandlerFunc)
- func (mock *EventInterfaceMock) AddHandlerCalls() []struct{ ... }
- func (mock *EventInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.EventLifecycle)
- func (mock *EventInterfaceMock) AddLifecycleCalls() []struct{ ... }
- func (mock *EventInterfaceMock) Controller() v1a.EventController
- func (mock *EventInterfaceMock) ControllerCalls() []struct{}
- func (mock *EventInterfaceMock) Create(in1 *v1.Event) (*v1.Event, error)
- func (mock *EventInterfaceMock) CreateCalls() []struct{ ... }
- func (mock *EventInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error
- func (mock *EventInterfaceMock) DeleteCalls() []struct{ ... }
- func (mock *EventInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error
- func (mock *EventInterfaceMock) DeleteCollectionCalls() []struct{ ... }
- func (mock *EventInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error
- func (mock *EventInterfaceMock) DeleteNamespacedCalls() []struct{ ... }
- func (mock *EventInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.Event, error)
- func (mock *EventInterfaceMock) GetCalls() []struct{ ... }
- func (mock *EventInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.Event, error)
- func (mock *EventInterfaceMock) GetNamespacedCalls() []struct{ ... }
- func (mock *EventInterfaceMock) List(opts v1b.ListOptions) (*v1a.EventList, error)
- func (mock *EventInterfaceMock) ListCalls() []struct{ ... }
- func (mock *EventInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.EventList, error)
- func (mock *EventInterfaceMock) ListNamespacedCalls() []struct{ ... }
- func (mock *EventInterfaceMock) ObjectClient() *objectclient.ObjectClient
- func (mock *EventInterfaceMock) ObjectClientCalls() []struct{}
- func (mock *EventInterfaceMock) Update(in1 *v1.Event) (*v1.Event, error)
- func (mock *EventInterfaceMock) UpdateCalls() []struct{ ... }
- func (mock *EventInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)
- func (mock *EventInterfaceMock) WatchCalls() []struct{ ... }
- type EventListerMock
- type EventsGetterMock
- type LimitRangeControllerMock
- func (mock *LimitRangeControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *LimitRangeControllerMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *LimitRangeControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *LimitRangeControllerMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *LimitRangeControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *LimitRangeControllerMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *LimitRangeControllerMock) AddHandler(ctx context.Context, name string, handler v1a.LimitRangeHandlerFunc)
- func (mock *LimitRangeControllerMock) AddHandlerCalls() []struct{ ... }
- func (mock *LimitRangeControllerMock) Enqueue(namespace string, name string)
- func (mock *LimitRangeControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)
- func (mock *LimitRangeControllerMock) EnqueueAfterCalls() []struct{ ... }
- func (mock *LimitRangeControllerMock) EnqueueCalls() []struct{ ... }
- func (mock *LimitRangeControllerMock) Generic() controller.GenericController
- func (mock *LimitRangeControllerMock) GenericCalls() []struct{}
- func (mock *LimitRangeControllerMock) Informer() cache.SharedIndexInformer
- func (mock *LimitRangeControllerMock) InformerCalls() []struct{}
- func (mock *LimitRangeControllerMock) Lister() v1a.LimitRangeLister
- func (mock *LimitRangeControllerMock) ListerCalls() []struct{}
- func (mock *LimitRangeControllerMock) Start(ctx context.Context, threadiness int) error
- func (mock *LimitRangeControllerMock) StartCalls() []struct{ ... }
- func (mock *LimitRangeControllerMock) Sync(ctx context.Context) error
- func (mock *LimitRangeControllerMock) SyncCalls() []struct{ ... }
- type LimitRangeInterfaceMock
- func (mock *LimitRangeInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *LimitRangeInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *LimitRangeInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *LimitRangeInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct{ ... }
- func (mock *LimitRangeInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *LimitRangeInterfaceMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *LimitRangeInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, ...)
- func (mock *LimitRangeInterfaceMock) AddClusterScopedLifecycleCalls() []struct{ ... }
- func (mock *LimitRangeInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *LimitRangeInterfaceMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *LimitRangeInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *LimitRangeInterfaceMock) AddFeatureLifecycleCalls() []struct{ ... }
- func (mock *LimitRangeInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.LimitRangeHandlerFunc)
- func (mock *LimitRangeInterfaceMock) AddHandlerCalls() []struct{ ... }
- func (mock *LimitRangeInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.LimitRangeLifecycle)
- func (mock *LimitRangeInterfaceMock) AddLifecycleCalls() []struct{ ... }
- func (mock *LimitRangeInterfaceMock) Controller() v1a.LimitRangeController
- func (mock *LimitRangeInterfaceMock) ControllerCalls() []struct{}
- func (mock *LimitRangeInterfaceMock) Create(in1 *v1.LimitRange) (*v1.LimitRange, error)
- func (mock *LimitRangeInterfaceMock) CreateCalls() []struct{ ... }
- func (mock *LimitRangeInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error
- func (mock *LimitRangeInterfaceMock) DeleteCalls() []struct{ ... }
- func (mock *LimitRangeInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error
- func (mock *LimitRangeInterfaceMock) DeleteCollectionCalls() []struct{ ... }
- func (mock *LimitRangeInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error
- func (mock *LimitRangeInterfaceMock) DeleteNamespacedCalls() []struct{ ... }
- func (mock *LimitRangeInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.LimitRange, error)
- func (mock *LimitRangeInterfaceMock) GetCalls() []struct{ ... }
- func (mock *LimitRangeInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.LimitRange, error)
- func (mock *LimitRangeInterfaceMock) GetNamespacedCalls() []struct{ ... }
- func (mock *LimitRangeInterfaceMock) List(opts v1b.ListOptions) (*v1a.LimitRangeList, error)
- func (mock *LimitRangeInterfaceMock) ListCalls() []struct{ ... }
- func (mock *LimitRangeInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.LimitRangeList, error)
- func (mock *LimitRangeInterfaceMock) ListNamespacedCalls() []struct{ ... }
- func (mock *LimitRangeInterfaceMock) ObjectClient() *objectclient.ObjectClient
- func (mock *LimitRangeInterfaceMock) ObjectClientCalls() []struct{}
- func (mock *LimitRangeInterfaceMock) Update(in1 *v1.LimitRange) (*v1.LimitRange, error)
- func (mock *LimitRangeInterfaceMock) UpdateCalls() []struct{ ... }
- func (mock *LimitRangeInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)
- func (mock *LimitRangeInterfaceMock) WatchCalls() []struct{ ... }
- type LimitRangeListerMock
- func (mock *LimitRangeListerMock) Get(namespace string, name string) (*v1.LimitRange, error)
- func (mock *LimitRangeListerMock) GetCalls() []struct{ ... }
- func (mock *LimitRangeListerMock) List(namespace string, selector labels.Selector) ([]*v1.LimitRange, error)
- func (mock *LimitRangeListerMock) ListCalls() []struct{ ... }
- type LimitRangesGetterMock
- type NamespaceControllerMock
- func (mock *NamespaceControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *NamespaceControllerMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *NamespaceControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *NamespaceControllerMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *NamespaceControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *NamespaceControllerMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *NamespaceControllerMock) AddHandler(ctx context.Context, name string, handler v1a.NamespaceHandlerFunc)
- func (mock *NamespaceControllerMock) AddHandlerCalls() []struct{ ... }
- func (mock *NamespaceControllerMock) Enqueue(namespace string, name string)
- func (mock *NamespaceControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)
- func (mock *NamespaceControllerMock) EnqueueAfterCalls() []struct{ ... }
- func (mock *NamespaceControllerMock) EnqueueCalls() []struct{ ... }
- func (mock *NamespaceControllerMock) Generic() controller.GenericController
- func (mock *NamespaceControllerMock) GenericCalls() []struct{}
- func (mock *NamespaceControllerMock) Informer() cache.SharedIndexInformer
- func (mock *NamespaceControllerMock) InformerCalls() []struct{}
- func (mock *NamespaceControllerMock) Lister() v1a.NamespaceLister
- func (mock *NamespaceControllerMock) ListerCalls() []struct{}
- func (mock *NamespaceControllerMock) Start(ctx context.Context, threadiness int) error
- func (mock *NamespaceControllerMock) StartCalls() []struct{ ... }
- func (mock *NamespaceControllerMock) Sync(ctx context.Context) error
- func (mock *NamespaceControllerMock) SyncCalls() []struct{ ... }
- type NamespaceInterfaceMock
- func (mock *NamespaceInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *NamespaceInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *NamespaceInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *NamespaceInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct{ ... }
- func (mock *NamespaceInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *NamespaceInterfaceMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *NamespaceInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, ...)
- func (mock *NamespaceInterfaceMock) AddClusterScopedLifecycleCalls() []struct{ ... }
- func (mock *NamespaceInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *NamespaceInterfaceMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *NamespaceInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *NamespaceInterfaceMock) AddFeatureLifecycleCalls() []struct{ ... }
- func (mock *NamespaceInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.NamespaceHandlerFunc)
- func (mock *NamespaceInterfaceMock) AddHandlerCalls() []struct{ ... }
- func (mock *NamespaceInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.NamespaceLifecycle)
- func (mock *NamespaceInterfaceMock) AddLifecycleCalls() []struct{ ... }
- func (mock *NamespaceInterfaceMock) Controller() v1a.NamespaceController
- func (mock *NamespaceInterfaceMock) ControllerCalls() []struct{}
- func (mock *NamespaceInterfaceMock) Create(in1 *v1.Namespace) (*v1.Namespace, error)
- func (mock *NamespaceInterfaceMock) CreateCalls() []struct{ ... }
- func (mock *NamespaceInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error
- func (mock *NamespaceInterfaceMock) DeleteCalls() []struct{ ... }
- func (mock *NamespaceInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error
- func (mock *NamespaceInterfaceMock) DeleteCollectionCalls() []struct{ ... }
- func (mock *NamespaceInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error
- func (mock *NamespaceInterfaceMock) DeleteNamespacedCalls() []struct{ ... }
- func (mock *NamespaceInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.Namespace, error)
- func (mock *NamespaceInterfaceMock) GetCalls() []struct{ ... }
- func (mock *NamespaceInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.Namespace, error)
- func (mock *NamespaceInterfaceMock) GetNamespacedCalls() []struct{ ... }
- func (mock *NamespaceInterfaceMock) List(opts v1b.ListOptions) (*v1a.NamespaceList, error)
- func (mock *NamespaceInterfaceMock) ListCalls() []struct{ ... }
- func (mock *NamespaceInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.NamespaceList, error)
- func (mock *NamespaceInterfaceMock) ListNamespacedCalls() []struct{ ... }
- func (mock *NamespaceInterfaceMock) ObjectClient() *objectclient.ObjectClient
- func (mock *NamespaceInterfaceMock) ObjectClientCalls() []struct{}
- func (mock *NamespaceInterfaceMock) Update(in1 *v1.Namespace) (*v1.Namespace, error)
- func (mock *NamespaceInterfaceMock) UpdateCalls() []struct{ ... }
- func (mock *NamespaceInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)
- func (mock *NamespaceInterfaceMock) WatchCalls() []struct{ ... }
- type NamespaceListerMock
- func (mock *NamespaceListerMock) Get(namespace string, name string) (*v1.Namespace, error)
- func (mock *NamespaceListerMock) GetCalls() []struct{ ... }
- func (mock *NamespaceListerMock) List(namespace string, selector labels.Selector) ([]*v1.Namespace, error)
- func (mock *NamespaceListerMock) ListCalls() []struct{ ... }
- type NamespacesGetterMock
- type NodeControllerMock
- func (mock *NodeControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *NodeControllerMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *NodeControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *NodeControllerMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *NodeControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *NodeControllerMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *NodeControllerMock) AddHandler(ctx context.Context, name string, handler v1a.NodeHandlerFunc)
- func (mock *NodeControllerMock) AddHandlerCalls() []struct{ ... }
- func (mock *NodeControllerMock) Enqueue(namespace string, name string)
- func (mock *NodeControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)
- func (mock *NodeControllerMock) EnqueueAfterCalls() []struct{ ... }
- func (mock *NodeControllerMock) EnqueueCalls() []struct{ ... }
- func (mock *NodeControllerMock) Generic() controller.GenericController
- func (mock *NodeControllerMock) GenericCalls() []struct{}
- func (mock *NodeControllerMock) Informer() cache.SharedIndexInformer
- func (mock *NodeControllerMock) InformerCalls() []struct{}
- func (mock *NodeControllerMock) Lister() v1a.NodeLister
- func (mock *NodeControllerMock) ListerCalls() []struct{}
- func (mock *NodeControllerMock) Start(ctx context.Context, threadiness int) error
- func (mock *NodeControllerMock) StartCalls() []struct{ ... }
- func (mock *NodeControllerMock) Sync(ctx context.Context) error
- func (mock *NodeControllerMock) SyncCalls() []struct{ ... }
- type NodeInterfaceMock
- func (mock *NodeInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *NodeInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *NodeInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *NodeInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct{ ... }
- func (mock *NodeInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.NodeHandlerFunc)
- func (mock *NodeInterfaceMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *NodeInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, ...)
- func (mock *NodeInterfaceMock) AddClusterScopedLifecycleCalls() []struct{ ... }
- func (mock *NodeInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *NodeInterfaceMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *NodeInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *NodeInterfaceMock) AddFeatureLifecycleCalls() []struct{ ... }
- func (mock *NodeInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.NodeHandlerFunc)
- func (mock *NodeInterfaceMock) AddHandlerCalls() []struct{ ... }
- func (mock *NodeInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.NodeLifecycle)
- func (mock *NodeInterfaceMock) AddLifecycleCalls() []struct{ ... }
- func (mock *NodeInterfaceMock) Controller() v1a.NodeController
- func (mock *NodeInterfaceMock) ControllerCalls() []struct{}
- func (mock *NodeInterfaceMock) Create(in1 *v1.Node) (*v1.Node, error)
- func (mock *NodeInterfaceMock) CreateCalls() []struct{ ... }
- func (mock *NodeInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error
- func (mock *NodeInterfaceMock) DeleteCalls() []struct{ ... }
- func (mock *NodeInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error
- func (mock *NodeInterfaceMock) DeleteCollectionCalls() []struct{ ... }
- func (mock *NodeInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error
- func (mock *NodeInterfaceMock) DeleteNamespacedCalls() []struct{ ... }
- func (mock *NodeInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.Node, error)
- func (mock *NodeInterfaceMock) GetCalls() []struct{ ... }
- func (mock *NodeInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.Node, error)
- func (mock *NodeInterfaceMock) GetNamespacedCalls() []struct{ ... }
- func (mock *NodeInterfaceMock) List(opts v1b.ListOptions) (*v1a.NodeList, error)
- func (mock *NodeInterfaceMock) ListCalls() []struct{ ... }
- func (mock *NodeInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.NodeList, error)
- func (mock *NodeInterfaceMock) ListNamespacedCalls() []struct{ ... }
- func (mock *NodeInterfaceMock) ObjectClient() *objectclient.ObjectClient
- func (mock *NodeInterfaceMock) ObjectClientCalls() []struct{}
- func (mock *NodeInterfaceMock) Update(in1 *v1.Node) (*v1.Node, error)
- func (mock *NodeInterfaceMock) UpdateCalls() []struct{ ... }
- func (mock *NodeInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)
- func (mock *NodeInterfaceMock) WatchCalls() []struct{ ... }
- type NodeListerMock
- type NodesGetterMock
- type PersistentVolumeClaimControllerMock
- func (mock *PersistentVolumeClaimControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *PersistentVolumeClaimControllerMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *PersistentVolumeClaimControllerMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *PersistentVolumeClaimControllerMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimControllerMock) AddHandler(ctx context.Context, name string, handler v1a.PersistentVolumeClaimHandlerFunc)
- func (mock *PersistentVolumeClaimControllerMock) AddHandlerCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimControllerMock) Enqueue(namespace string, name string)
- func (mock *PersistentVolumeClaimControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)
- func (mock *PersistentVolumeClaimControllerMock) EnqueueAfterCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimControllerMock) EnqueueCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimControllerMock) Generic() controller.GenericController
- func (mock *PersistentVolumeClaimControllerMock) GenericCalls() []struct{}
- func (mock *PersistentVolumeClaimControllerMock) Informer() cache.SharedIndexInformer
- func (mock *PersistentVolumeClaimControllerMock) InformerCalls() []struct{}
- func (mock *PersistentVolumeClaimControllerMock) Lister() v1a.PersistentVolumeClaimLister
- func (mock *PersistentVolumeClaimControllerMock) ListerCalls() []struct{}
- func (mock *PersistentVolumeClaimControllerMock) Start(ctx context.Context, threadiness int) error
- func (mock *PersistentVolumeClaimControllerMock) StartCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimControllerMock) Sync(ctx context.Context) error
- func (mock *PersistentVolumeClaimControllerMock) SyncCalls() []struct{ ... }
- type PersistentVolumeClaimInterfaceMock
- func (mock *PersistentVolumeClaimInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *PersistentVolumeClaimInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *PersistentVolumeClaimInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *PersistentVolumeClaimInterfaceMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, ...)
- func (mock *PersistentVolumeClaimInterfaceMock) AddClusterScopedLifecycleCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *PersistentVolumeClaimInterfaceMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *PersistentVolumeClaimInterfaceMock) AddFeatureLifecycleCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.PersistentVolumeClaimHandlerFunc)
- func (mock *PersistentVolumeClaimInterfaceMock) AddHandlerCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.PersistentVolumeClaimLifecycle)
- func (mock *PersistentVolumeClaimInterfaceMock) AddLifecycleCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimInterfaceMock) Controller() v1a.PersistentVolumeClaimController
- func (mock *PersistentVolumeClaimInterfaceMock) ControllerCalls() []struct{}
- func (mock *PersistentVolumeClaimInterfaceMock) Create(in1 *v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error)
- func (mock *PersistentVolumeClaimInterfaceMock) CreateCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error
- func (mock *PersistentVolumeClaimInterfaceMock) DeleteCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error
- func (mock *PersistentVolumeClaimInterfaceMock) DeleteCollectionCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error
- func (mock *PersistentVolumeClaimInterfaceMock) DeleteNamespacedCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.PersistentVolumeClaim, error)
- func (mock *PersistentVolumeClaimInterfaceMock) GetCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.PersistentVolumeClaim, error)
- func (mock *PersistentVolumeClaimInterfaceMock) GetNamespacedCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimInterfaceMock) List(opts v1b.ListOptions) (*v1a.PersistentVolumeClaimList, error)
- func (mock *PersistentVolumeClaimInterfaceMock) ListCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.PersistentVolumeClaimList, error)
- func (mock *PersistentVolumeClaimInterfaceMock) ListNamespacedCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimInterfaceMock) ObjectClient() *objectclient.ObjectClient
- func (mock *PersistentVolumeClaimInterfaceMock) ObjectClientCalls() []struct{}
- func (mock *PersistentVolumeClaimInterfaceMock) Update(in1 *v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error)
- func (mock *PersistentVolumeClaimInterfaceMock) UpdateCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)
- func (mock *PersistentVolumeClaimInterfaceMock) WatchCalls() []struct{ ... }
- type PersistentVolumeClaimListerMock
- func (mock *PersistentVolumeClaimListerMock) Get(namespace string, name string) (*v1.PersistentVolumeClaim, error)
- func (mock *PersistentVolumeClaimListerMock) GetCalls() []struct{ ... }
- func (mock *PersistentVolumeClaimListerMock) List(namespace string, selector labels.Selector) ([]*v1.PersistentVolumeClaim, error)
- func (mock *PersistentVolumeClaimListerMock) ListCalls() []struct{ ... }
- type PersistentVolumeClaimsGetterMock
- type PodControllerMock
- func (mock *PodControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *PodControllerMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *PodControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *PodControllerMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *PodControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v1a.PodHandlerFunc)
- func (mock *PodControllerMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *PodControllerMock) AddHandler(ctx context.Context, name string, handler v1a.PodHandlerFunc)
- func (mock *PodControllerMock) AddHandlerCalls() []struct{ ... }
- func (mock *PodControllerMock) Enqueue(namespace string, name string)
- func (mock *PodControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)
- func (mock *PodControllerMock) EnqueueAfterCalls() []struct{ ... }
- func (mock *PodControllerMock) EnqueueCalls() []struct{ ... }
- func (mock *PodControllerMock) Generic() controller.GenericController
- func (mock *PodControllerMock) GenericCalls() []struct{}
- func (mock *PodControllerMock) Informer() cache.SharedIndexInformer
- func (mock *PodControllerMock) InformerCalls() []struct{}
- func (mock *PodControllerMock) Lister() v1a.PodLister
- func (mock *PodControllerMock) ListerCalls() []struct{}
- func (mock *PodControllerMock) Start(ctx context.Context, threadiness int) error
- func (mock *PodControllerMock) StartCalls() []struct{ ... }
- func (mock *PodControllerMock) Sync(ctx context.Context) error
- func (mock *PodControllerMock) SyncCalls() []struct{ ... }
- type PodInterfaceMock
- func (mock *PodInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *PodInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *PodInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *PodInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct{ ... }
- func (mock *PodInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.PodHandlerFunc)
- func (mock *PodInterfaceMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *PodInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, ...)
- func (mock *PodInterfaceMock) AddClusterScopedLifecycleCalls() []struct{ ... }
- func (mock *PodInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v1a.PodHandlerFunc)
- func (mock *PodInterfaceMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *PodInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *PodInterfaceMock) AddFeatureLifecycleCalls() []struct{ ... }
- func (mock *PodInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.PodHandlerFunc)
- func (mock *PodInterfaceMock) AddHandlerCalls() []struct{ ... }
- func (mock *PodInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.PodLifecycle)
- func (mock *PodInterfaceMock) AddLifecycleCalls() []struct{ ... }
- func (mock *PodInterfaceMock) Controller() v1a.PodController
- func (mock *PodInterfaceMock) ControllerCalls() []struct{}
- func (mock *PodInterfaceMock) Create(in1 *v1.Pod) (*v1.Pod, error)
- func (mock *PodInterfaceMock) CreateCalls() []struct{ ... }
- func (mock *PodInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error
- func (mock *PodInterfaceMock) DeleteCalls() []struct{ ... }
- func (mock *PodInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error
- func (mock *PodInterfaceMock) DeleteCollectionCalls() []struct{ ... }
- func (mock *PodInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error
- func (mock *PodInterfaceMock) DeleteNamespacedCalls() []struct{ ... }
- func (mock *PodInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.Pod, error)
- func (mock *PodInterfaceMock) GetCalls() []struct{ ... }
- func (mock *PodInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.Pod, error)
- func (mock *PodInterfaceMock) GetNamespacedCalls() []struct{ ... }
- func (mock *PodInterfaceMock) List(opts v1b.ListOptions) (*v1a.PodList, error)
- func (mock *PodInterfaceMock) ListCalls() []struct{ ... }
- func (mock *PodInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.PodList, error)
- func (mock *PodInterfaceMock) ListNamespacedCalls() []struct{ ... }
- func (mock *PodInterfaceMock) ObjectClient() *objectclient.ObjectClient
- func (mock *PodInterfaceMock) ObjectClientCalls() []struct{}
- func (mock *PodInterfaceMock) Update(in1 *v1.Pod) (*v1.Pod, error)
- func (mock *PodInterfaceMock) UpdateCalls() []struct{ ... }
- func (mock *PodInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)
- func (mock *PodInterfaceMock) WatchCalls() []struct{ ... }
- type PodListerMock
- type PodsGetterMock
- type ReplicationControllerControllerMock
- func (mock *ReplicationControllerControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *ReplicationControllerControllerMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *ReplicationControllerControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *ReplicationControllerControllerMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *ReplicationControllerControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *ReplicationControllerControllerMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *ReplicationControllerControllerMock) AddHandler(ctx context.Context, name string, handler v1a.ReplicationControllerHandlerFunc)
- func (mock *ReplicationControllerControllerMock) AddHandlerCalls() []struct{ ... }
- func (mock *ReplicationControllerControllerMock) Enqueue(namespace string, name string)
- func (mock *ReplicationControllerControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)
- func (mock *ReplicationControllerControllerMock) EnqueueAfterCalls() []struct{ ... }
- func (mock *ReplicationControllerControllerMock) EnqueueCalls() []struct{ ... }
- func (mock *ReplicationControllerControllerMock) Generic() controller.GenericController
- func (mock *ReplicationControllerControllerMock) GenericCalls() []struct{}
- func (mock *ReplicationControllerControllerMock) Informer() cache.SharedIndexInformer
- func (mock *ReplicationControllerControllerMock) InformerCalls() []struct{}
- func (mock *ReplicationControllerControllerMock) Lister() v1a.ReplicationControllerLister
- func (mock *ReplicationControllerControllerMock) ListerCalls() []struct{}
- func (mock *ReplicationControllerControllerMock) Start(ctx context.Context, threadiness int) error
- func (mock *ReplicationControllerControllerMock) StartCalls() []struct{ ... }
- func (mock *ReplicationControllerControllerMock) Sync(ctx context.Context) error
- func (mock *ReplicationControllerControllerMock) SyncCalls() []struct{ ... }
- type ReplicationControllerInterfaceMock
- func (mock *ReplicationControllerInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *ReplicationControllerInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *ReplicationControllerInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *ReplicationControllerInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct{ ... }
- func (mock *ReplicationControllerInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *ReplicationControllerInterfaceMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *ReplicationControllerInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, ...)
- func (mock *ReplicationControllerInterfaceMock) AddClusterScopedLifecycleCalls() []struct{ ... }
- func (mock *ReplicationControllerInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *ReplicationControllerInterfaceMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *ReplicationControllerInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *ReplicationControllerInterfaceMock) AddFeatureLifecycleCalls() []struct{ ... }
- func (mock *ReplicationControllerInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.ReplicationControllerHandlerFunc)
- func (mock *ReplicationControllerInterfaceMock) AddHandlerCalls() []struct{ ... }
- func (mock *ReplicationControllerInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.ReplicationControllerLifecycle)
- func (mock *ReplicationControllerInterfaceMock) AddLifecycleCalls() []struct{ ... }
- func (mock *ReplicationControllerInterfaceMock) Controller() v1a.ReplicationControllerController
- func (mock *ReplicationControllerInterfaceMock) ControllerCalls() []struct{}
- func (mock *ReplicationControllerInterfaceMock) Create(in1 *v1.ReplicationController) (*v1.ReplicationController, error)
- func (mock *ReplicationControllerInterfaceMock) CreateCalls() []struct{ ... }
- func (mock *ReplicationControllerInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error
- func (mock *ReplicationControllerInterfaceMock) DeleteCalls() []struct{ ... }
- func (mock *ReplicationControllerInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error
- func (mock *ReplicationControllerInterfaceMock) DeleteCollectionCalls() []struct{ ... }
- func (mock *ReplicationControllerInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error
- func (mock *ReplicationControllerInterfaceMock) DeleteNamespacedCalls() []struct{ ... }
- func (mock *ReplicationControllerInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.ReplicationController, error)
- func (mock *ReplicationControllerInterfaceMock) GetCalls() []struct{ ... }
- func (mock *ReplicationControllerInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.ReplicationController, error)
- func (mock *ReplicationControllerInterfaceMock) GetNamespacedCalls() []struct{ ... }
- func (mock *ReplicationControllerInterfaceMock) List(opts v1b.ListOptions) (*v1a.ReplicationControllerList, error)
- func (mock *ReplicationControllerInterfaceMock) ListCalls() []struct{ ... }
- func (mock *ReplicationControllerInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.ReplicationControllerList, error)
- func (mock *ReplicationControllerInterfaceMock) ListNamespacedCalls() []struct{ ... }
- func (mock *ReplicationControllerInterfaceMock) ObjectClient() *objectclient.ObjectClient
- func (mock *ReplicationControllerInterfaceMock) ObjectClientCalls() []struct{}
- func (mock *ReplicationControllerInterfaceMock) Update(in1 *v1.ReplicationController) (*v1.ReplicationController, error)
- func (mock *ReplicationControllerInterfaceMock) UpdateCalls() []struct{ ... }
- func (mock *ReplicationControllerInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)
- func (mock *ReplicationControllerInterfaceMock) WatchCalls() []struct{ ... }
- type ReplicationControllerListerMock
- func (mock *ReplicationControllerListerMock) Get(namespace string, name string) (*v1.ReplicationController, error)
- func (mock *ReplicationControllerListerMock) GetCalls() []struct{ ... }
- func (mock *ReplicationControllerListerMock) List(namespace string, selector labels.Selector) ([]*v1.ReplicationController, error)
- func (mock *ReplicationControllerListerMock) ListCalls() []struct{ ... }
- type ReplicationControllersGetterMock
- type ResourceQuotaControllerMock
- func (mock *ResourceQuotaControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *ResourceQuotaControllerMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *ResourceQuotaControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *ResourceQuotaControllerMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *ResourceQuotaControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *ResourceQuotaControllerMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *ResourceQuotaControllerMock) AddHandler(ctx context.Context, name string, handler v1a.ResourceQuotaHandlerFunc)
- func (mock *ResourceQuotaControllerMock) AddHandlerCalls() []struct{ ... }
- func (mock *ResourceQuotaControllerMock) Enqueue(namespace string, name string)
- func (mock *ResourceQuotaControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)
- func (mock *ResourceQuotaControllerMock) EnqueueAfterCalls() []struct{ ... }
- func (mock *ResourceQuotaControllerMock) EnqueueCalls() []struct{ ... }
- func (mock *ResourceQuotaControllerMock) Generic() controller.GenericController
- func (mock *ResourceQuotaControllerMock) GenericCalls() []struct{}
- func (mock *ResourceQuotaControllerMock) Informer() cache.SharedIndexInformer
- func (mock *ResourceQuotaControllerMock) InformerCalls() []struct{}
- func (mock *ResourceQuotaControllerMock) Lister() v1a.ResourceQuotaLister
- func (mock *ResourceQuotaControllerMock) ListerCalls() []struct{}
- func (mock *ResourceQuotaControllerMock) Start(ctx context.Context, threadiness int) error
- func (mock *ResourceQuotaControllerMock) StartCalls() []struct{ ... }
- func (mock *ResourceQuotaControllerMock) Sync(ctx context.Context) error
- func (mock *ResourceQuotaControllerMock) SyncCalls() []struct{ ... }
- type ResourceQuotaInterfaceMock
- func (mock *ResourceQuotaInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *ResourceQuotaInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *ResourceQuotaInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *ResourceQuotaInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct{ ... }
- func (mock *ResourceQuotaInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *ResourceQuotaInterfaceMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *ResourceQuotaInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, ...)
- func (mock *ResourceQuotaInterfaceMock) AddClusterScopedLifecycleCalls() []struct{ ... }
- func (mock *ResourceQuotaInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *ResourceQuotaInterfaceMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *ResourceQuotaInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *ResourceQuotaInterfaceMock) AddFeatureLifecycleCalls() []struct{ ... }
- func (mock *ResourceQuotaInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.ResourceQuotaHandlerFunc)
- func (mock *ResourceQuotaInterfaceMock) AddHandlerCalls() []struct{ ... }
- func (mock *ResourceQuotaInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.ResourceQuotaLifecycle)
- func (mock *ResourceQuotaInterfaceMock) AddLifecycleCalls() []struct{ ... }
- func (mock *ResourceQuotaInterfaceMock) Controller() v1a.ResourceQuotaController
- func (mock *ResourceQuotaInterfaceMock) ControllerCalls() []struct{}
- func (mock *ResourceQuotaInterfaceMock) Create(in1 *v1.ResourceQuota) (*v1.ResourceQuota, error)
- func (mock *ResourceQuotaInterfaceMock) CreateCalls() []struct{ ... }
- func (mock *ResourceQuotaInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error
- func (mock *ResourceQuotaInterfaceMock) DeleteCalls() []struct{ ... }
- func (mock *ResourceQuotaInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error
- func (mock *ResourceQuotaInterfaceMock) DeleteCollectionCalls() []struct{ ... }
- func (mock *ResourceQuotaInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error
- func (mock *ResourceQuotaInterfaceMock) DeleteNamespacedCalls() []struct{ ... }
- func (mock *ResourceQuotaInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.ResourceQuota, error)
- func (mock *ResourceQuotaInterfaceMock) GetCalls() []struct{ ... }
- func (mock *ResourceQuotaInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.ResourceQuota, error)
- func (mock *ResourceQuotaInterfaceMock) GetNamespacedCalls() []struct{ ... }
- func (mock *ResourceQuotaInterfaceMock) List(opts v1b.ListOptions) (*v1a.ResourceQuotaList, error)
- func (mock *ResourceQuotaInterfaceMock) ListCalls() []struct{ ... }
- func (mock *ResourceQuotaInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.ResourceQuotaList, error)
- func (mock *ResourceQuotaInterfaceMock) ListNamespacedCalls() []struct{ ... }
- func (mock *ResourceQuotaInterfaceMock) ObjectClient() *objectclient.ObjectClient
- func (mock *ResourceQuotaInterfaceMock) ObjectClientCalls() []struct{}
- func (mock *ResourceQuotaInterfaceMock) Update(in1 *v1.ResourceQuota) (*v1.ResourceQuota, error)
- func (mock *ResourceQuotaInterfaceMock) UpdateCalls() []struct{ ... }
- func (mock *ResourceQuotaInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)
- func (mock *ResourceQuotaInterfaceMock) WatchCalls() []struct{ ... }
- type ResourceQuotaListerMock
- func (mock *ResourceQuotaListerMock) Get(namespace string, name string) (*v1.ResourceQuota, error)
- func (mock *ResourceQuotaListerMock) GetCalls() []struct{ ... }
- func (mock *ResourceQuotaListerMock) List(namespace string, selector labels.Selector) ([]*v1.ResourceQuota, error)
- func (mock *ResourceQuotaListerMock) ListCalls() []struct{ ... }
- type ResourceQuotasGetterMock
- type SecretControllerMock
- func (mock *SecretControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *SecretControllerMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *SecretControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *SecretControllerMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *SecretControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *SecretControllerMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *SecretControllerMock) AddHandler(ctx context.Context, name string, handler v1a.SecretHandlerFunc)
- func (mock *SecretControllerMock) AddHandlerCalls() []struct{ ... }
- func (mock *SecretControllerMock) Enqueue(namespace string, name string)
- func (mock *SecretControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)
- func (mock *SecretControllerMock) EnqueueAfterCalls() []struct{ ... }
- func (mock *SecretControllerMock) EnqueueCalls() []struct{ ... }
- func (mock *SecretControllerMock) Generic() controller.GenericController
- func (mock *SecretControllerMock) GenericCalls() []struct{}
- func (mock *SecretControllerMock) Informer() cache.SharedIndexInformer
- func (mock *SecretControllerMock) InformerCalls() []struct{}
- func (mock *SecretControllerMock) Lister() v1a.SecretLister
- func (mock *SecretControllerMock) ListerCalls() []struct{}
- func (mock *SecretControllerMock) Start(ctx context.Context, threadiness int) error
- func (mock *SecretControllerMock) StartCalls() []struct{ ... }
- func (mock *SecretControllerMock) Sync(ctx context.Context) error
- func (mock *SecretControllerMock) SyncCalls() []struct{ ... }
- type SecretInterfaceMock
- func (mock *SecretInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *SecretInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *SecretInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *SecretInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct{ ... }
- func (mock *SecretInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *SecretInterfaceMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *SecretInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, ...)
- func (mock *SecretInterfaceMock) AddClusterScopedLifecycleCalls() []struct{ ... }
- func (mock *SecretInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *SecretInterfaceMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *SecretInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *SecretInterfaceMock) AddFeatureLifecycleCalls() []struct{ ... }
- func (mock *SecretInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.SecretHandlerFunc)
- func (mock *SecretInterfaceMock) AddHandlerCalls() []struct{ ... }
- func (mock *SecretInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.SecretLifecycle)
- func (mock *SecretInterfaceMock) AddLifecycleCalls() []struct{ ... }
- func (mock *SecretInterfaceMock) Controller() v1a.SecretController
- func (mock *SecretInterfaceMock) ControllerCalls() []struct{}
- func (mock *SecretInterfaceMock) Create(in1 *v1.Secret) (*v1.Secret, error)
- func (mock *SecretInterfaceMock) CreateCalls() []struct{ ... }
- func (mock *SecretInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error
- func (mock *SecretInterfaceMock) DeleteCalls() []struct{ ... }
- func (mock *SecretInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error
- func (mock *SecretInterfaceMock) DeleteCollectionCalls() []struct{ ... }
- func (mock *SecretInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error
- func (mock *SecretInterfaceMock) DeleteNamespacedCalls() []struct{ ... }
- func (mock *SecretInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.Secret, error)
- func (mock *SecretInterfaceMock) GetCalls() []struct{ ... }
- func (mock *SecretInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.Secret, error)
- func (mock *SecretInterfaceMock) GetNamespacedCalls() []struct{ ... }
- func (mock *SecretInterfaceMock) List(opts v1b.ListOptions) (*v1a.SecretList, error)
- func (mock *SecretInterfaceMock) ListCalls() []struct{ ... }
- func (mock *SecretInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.SecretList, error)
- func (mock *SecretInterfaceMock) ListNamespacedCalls() []struct{ ... }
- func (mock *SecretInterfaceMock) ObjectClient() *objectclient.ObjectClient
- func (mock *SecretInterfaceMock) ObjectClientCalls() []struct{}
- func (mock *SecretInterfaceMock) Update(in1 *v1.Secret) (*v1.Secret, error)
- func (mock *SecretInterfaceMock) UpdateCalls() []struct{ ... }
- func (mock *SecretInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)
- func (mock *SecretInterfaceMock) WatchCalls() []struct{ ... }
- type SecretListerMock
- func (mock *SecretListerMock) Get(namespace string, name string) (*v1.Secret, error)
- func (mock *SecretListerMock) GetCalls() []struct{ ... }
- func (mock *SecretListerMock) List(namespace string, selector labels.Selector) ([]*v1.Secret, error)
- func (mock *SecretListerMock) ListCalls() []struct{ ... }
- type SecretsGetterMock
- type ServiceAccountControllerMock
- func (mock *ServiceAccountControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *ServiceAccountControllerMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *ServiceAccountControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *ServiceAccountControllerMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *ServiceAccountControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *ServiceAccountControllerMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *ServiceAccountControllerMock) AddHandler(ctx context.Context, name string, handler v1a.ServiceAccountHandlerFunc)
- func (mock *ServiceAccountControllerMock) AddHandlerCalls() []struct{ ... }
- func (mock *ServiceAccountControllerMock) Enqueue(namespace string, name string)
- func (mock *ServiceAccountControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)
- func (mock *ServiceAccountControllerMock) EnqueueAfterCalls() []struct{ ... }
- func (mock *ServiceAccountControllerMock) EnqueueCalls() []struct{ ... }
- func (mock *ServiceAccountControllerMock) Generic() controller.GenericController
- func (mock *ServiceAccountControllerMock) GenericCalls() []struct{}
- func (mock *ServiceAccountControllerMock) Informer() cache.SharedIndexInformer
- func (mock *ServiceAccountControllerMock) InformerCalls() []struct{}
- func (mock *ServiceAccountControllerMock) Lister() v1a.ServiceAccountLister
- func (mock *ServiceAccountControllerMock) ListerCalls() []struct{}
- func (mock *ServiceAccountControllerMock) Start(ctx context.Context, threadiness int) error
- func (mock *ServiceAccountControllerMock) StartCalls() []struct{ ... }
- func (mock *ServiceAccountControllerMock) Sync(ctx context.Context) error
- func (mock *ServiceAccountControllerMock) SyncCalls() []struct{ ... }
- type ServiceAccountInterfaceMock
- func (mock *ServiceAccountInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *ServiceAccountInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *ServiceAccountInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *ServiceAccountInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct{ ... }
- func (mock *ServiceAccountInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *ServiceAccountInterfaceMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *ServiceAccountInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, ...)
- func (mock *ServiceAccountInterfaceMock) AddClusterScopedLifecycleCalls() []struct{ ... }
- func (mock *ServiceAccountInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *ServiceAccountInterfaceMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *ServiceAccountInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *ServiceAccountInterfaceMock) AddFeatureLifecycleCalls() []struct{ ... }
- func (mock *ServiceAccountInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.ServiceAccountHandlerFunc)
- func (mock *ServiceAccountInterfaceMock) AddHandlerCalls() []struct{ ... }
- func (mock *ServiceAccountInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.ServiceAccountLifecycle)
- func (mock *ServiceAccountInterfaceMock) AddLifecycleCalls() []struct{ ... }
- func (mock *ServiceAccountInterfaceMock) Controller() v1a.ServiceAccountController
- func (mock *ServiceAccountInterfaceMock) ControllerCalls() []struct{}
- func (mock *ServiceAccountInterfaceMock) Create(in1 *v1.ServiceAccount) (*v1.ServiceAccount, error)
- func (mock *ServiceAccountInterfaceMock) CreateCalls() []struct{ ... }
- func (mock *ServiceAccountInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error
- func (mock *ServiceAccountInterfaceMock) DeleteCalls() []struct{ ... }
- func (mock *ServiceAccountInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error
- func (mock *ServiceAccountInterfaceMock) DeleteCollectionCalls() []struct{ ... }
- func (mock *ServiceAccountInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error
- func (mock *ServiceAccountInterfaceMock) DeleteNamespacedCalls() []struct{ ... }
- func (mock *ServiceAccountInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.ServiceAccount, error)
- func (mock *ServiceAccountInterfaceMock) GetCalls() []struct{ ... }
- func (mock *ServiceAccountInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.ServiceAccount, error)
- func (mock *ServiceAccountInterfaceMock) GetNamespacedCalls() []struct{ ... }
- func (mock *ServiceAccountInterfaceMock) List(opts v1b.ListOptions) (*v1a.ServiceAccountList, error)
- func (mock *ServiceAccountInterfaceMock) ListCalls() []struct{ ... }
- func (mock *ServiceAccountInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.ServiceAccountList, error)
- func (mock *ServiceAccountInterfaceMock) ListNamespacedCalls() []struct{ ... }
- func (mock *ServiceAccountInterfaceMock) ObjectClient() *objectclient.ObjectClient
- func (mock *ServiceAccountInterfaceMock) ObjectClientCalls() []struct{}
- func (mock *ServiceAccountInterfaceMock) Update(in1 *v1.ServiceAccount) (*v1.ServiceAccount, error)
- func (mock *ServiceAccountInterfaceMock) UpdateCalls() []struct{ ... }
- func (mock *ServiceAccountInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)
- func (mock *ServiceAccountInterfaceMock) WatchCalls() []struct{ ... }
- type ServiceAccountListerMock
- func (mock *ServiceAccountListerMock) Get(namespace string, name string) (*v1.ServiceAccount, error)
- func (mock *ServiceAccountListerMock) GetCalls() []struct{ ... }
- func (mock *ServiceAccountListerMock) List(namespace string, selector labels.Selector) ([]*v1.ServiceAccount, error)
- func (mock *ServiceAccountListerMock) ListCalls() []struct{ ... }
- type ServiceAccountsGetterMock
- type ServiceControllerMock
- func (mock *ServiceControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *ServiceControllerMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *ServiceControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *ServiceControllerMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *ServiceControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *ServiceControllerMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *ServiceControllerMock) AddHandler(ctx context.Context, name string, handler v1a.ServiceHandlerFunc)
- func (mock *ServiceControllerMock) AddHandlerCalls() []struct{ ... }
- func (mock *ServiceControllerMock) Enqueue(namespace string, name string)
- func (mock *ServiceControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)
- func (mock *ServiceControllerMock) EnqueueAfterCalls() []struct{ ... }
- func (mock *ServiceControllerMock) EnqueueCalls() []struct{ ... }
- func (mock *ServiceControllerMock) Generic() controller.GenericController
- func (mock *ServiceControllerMock) GenericCalls() []struct{}
- func (mock *ServiceControllerMock) Informer() cache.SharedIndexInformer
- func (mock *ServiceControllerMock) InformerCalls() []struct{}
- func (mock *ServiceControllerMock) Lister() v1a.ServiceLister
- func (mock *ServiceControllerMock) ListerCalls() []struct{}
- func (mock *ServiceControllerMock) Start(ctx context.Context, threadiness int) error
- func (mock *ServiceControllerMock) StartCalls() []struct{ ... }
- func (mock *ServiceControllerMock) Sync(ctx context.Context) error
- func (mock *ServiceControllerMock) SyncCalls() []struct{ ... }
- type ServiceInterfaceMock
- func (mock *ServiceInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *ServiceInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct{ ... }
- func (mock *ServiceInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, ...)
- func (mock *ServiceInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct{ ... }
- func (mock *ServiceInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, ...)
- func (mock *ServiceInterfaceMock) AddClusterScopedHandlerCalls() []struct{ ... }
- func (mock *ServiceInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, ...)
- func (mock *ServiceInterfaceMock) AddClusterScopedLifecycleCalls() []struct{ ... }
- func (mock *ServiceInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *ServiceInterfaceMock) AddFeatureHandlerCalls() []struct{ ... }
- func (mock *ServiceInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, ...)
- func (mock *ServiceInterfaceMock) AddFeatureLifecycleCalls() []struct{ ... }
- func (mock *ServiceInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.ServiceHandlerFunc)
- func (mock *ServiceInterfaceMock) AddHandlerCalls() []struct{ ... }
- func (mock *ServiceInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.ServiceLifecycle)
- func (mock *ServiceInterfaceMock) AddLifecycleCalls() []struct{ ... }
- func (mock *ServiceInterfaceMock) Controller() v1a.ServiceController
- func (mock *ServiceInterfaceMock) ControllerCalls() []struct{}
- func (mock *ServiceInterfaceMock) Create(in1 *v1.Service) (*v1.Service, error)
- func (mock *ServiceInterfaceMock) CreateCalls() []struct{ ... }
- func (mock *ServiceInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error
- func (mock *ServiceInterfaceMock) DeleteCalls() []struct{ ... }
- func (mock *ServiceInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error
- func (mock *ServiceInterfaceMock) DeleteCollectionCalls() []struct{ ... }
- func (mock *ServiceInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error
- func (mock *ServiceInterfaceMock) DeleteNamespacedCalls() []struct{ ... }
- func (mock *ServiceInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.Service, error)
- func (mock *ServiceInterfaceMock) GetCalls() []struct{ ... }
- func (mock *ServiceInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.Service, error)
- func (mock *ServiceInterfaceMock) GetNamespacedCalls() []struct{ ... }
- func (mock *ServiceInterfaceMock) List(opts v1b.ListOptions) (*v1a.ServiceList, error)
- func (mock *ServiceInterfaceMock) ListCalls() []struct{ ... }
- func (mock *ServiceInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.ServiceList, error)
- func (mock *ServiceInterfaceMock) ListNamespacedCalls() []struct{ ... }
- func (mock *ServiceInterfaceMock) ObjectClient() *objectclient.ObjectClient
- func (mock *ServiceInterfaceMock) ObjectClientCalls() []struct{}
- func (mock *ServiceInterfaceMock) Update(in1 *v1.Service) (*v1.Service, error)
- func (mock *ServiceInterfaceMock) UpdateCalls() []struct{ ... }
- func (mock *ServiceInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)
- func (mock *ServiceInterfaceMock) WatchCalls() []struct{ ... }
- type ServiceListerMock
- func (mock *ServiceListerMock) Get(namespace string, name string) (*v1.Service, error)
- func (mock *ServiceListerMock) GetCalls() []struct{ ... }
- func (mock *ServiceListerMock) List(namespace string, selector labels.Selector) ([]*v1.Service, error)
- func (mock *ServiceListerMock) ListCalls() []struct{ ... }
- type ServicesGetterMock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComponentStatusControllerMock ¶
type ComponentStatusControllerMock struct { // AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method. AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.ComponentStatusHandlerFunc) // AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method. AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.ComponentStatusHandlerFunc) // AddFeatureHandlerFunc mocks the AddFeatureHandler method. AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v1a.ComponentStatusHandlerFunc) // AddHandlerFunc mocks the AddHandler method. AddHandlerFunc func(ctx context.Context, name string, handler v1a.ComponentStatusHandlerFunc) // EnqueueFunc mocks the Enqueue method. EnqueueFunc func(namespace string, name string) // EnqueueAfterFunc mocks the EnqueueAfter method. EnqueueAfterFunc func(namespace string, name string, after time.Duration) // GenericFunc mocks the Generic method. GenericFunc func() controller.GenericController // InformerFunc mocks the Informer method. InformerFunc func() cache.SharedIndexInformer // ListerFunc mocks the Lister method. ListerFunc func() v1a.ComponentStatusLister // StartFunc mocks the Start method. StartFunc func(ctx context.Context, threadiness int) error // SyncFunc mocks the Sync method. SyncFunc func(ctx context.Context) error // contains filtered or unexported fields }
ComponentStatusControllerMock is a mock implementation of ComponentStatusController.
func TestSomethingThatUsesComponentStatusController(t *testing.T) { // make and configure a mocked ComponentStatusController mockedComponentStatusController := &ComponentStatusControllerMock{ AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.ComponentStatusHandlerFunc) { panic("mock out the AddClusterScopedFeatureHandler method") }, AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.ComponentStatusHandlerFunc) { panic("mock out the AddClusterScopedHandler method") }, AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.ComponentStatusHandlerFunc) { panic("mock out the AddFeatureHandler method") }, AddHandlerFunc: func(ctx context.Context, name string, handler v1a.ComponentStatusHandlerFunc) { panic("mock out the AddHandler method") }, EnqueueFunc: func(namespace string, name string) { panic("mock out the Enqueue method") }, EnqueueAfterFunc: func(namespace string, name string, after time.Duration) { panic("mock out the EnqueueAfter method") }, GenericFunc: func() controller.GenericController { panic("mock out the Generic method") }, InformerFunc: func() cache.SharedIndexInformer { panic("mock out the Informer method") }, ListerFunc: func() v1a.ComponentStatusLister { panic("mock out the Lister method") }, StartFunc: func(ctx context.Context, threadiness int) error { panic("mock out the Start method") }, SyncFunc: func(ctx context.Context) error { panic("mock out the Sync method") }, } // use mockedComponentStatusController in code that requires ComponentStatusController // and then make assertions. }
func (*ComponentStatusControllerMock) AddClusterScopedFeatureHandler ¶
func (mock *ComponentStatusControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.ComponentStatusHandlerFunc)
AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.
func (*ComponentStatusControllerMock) AddClusterScopedFeatureHandlerCalls ¶
func (mock *ComponentStatusControllerMock) AddClusterScopedFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string ClusterName string Handler v1a.ComponentStatusHandlerFunc }
AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:
len(mockedComponentStatusController.AddClusterScopedFeatureHandlerCalls())
func (*ComponentStatusControllerMock) AddClusterScopedHandler ¶
func (mock *ComponentStatusControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v1a.ComponentStatusHandlerFunc)
AddClusterScopedHandler calls AddClusterScopedHandlerFunc.
func (*ComponentStatusControllerMock) AddClusterScopedHandlerCalls ¶
func (mock *ComponentStatusControllerMock) AddClusterScopedHandlerCalls() []struct { Ctx context.Context Name string ClusterName string Handler v1a.ComponentStatusHandlerFunc }
AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:
len(mockedComponentStatusController.AddClusterScopedHandlerCalls())
func (*ComponentStatusControllerMock) AddFeatureHandler ¶
func (mock *ComponentStatusControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v1a.ComponentStatusHandlerFunc)
AddFeatureHandler calls AddFeatureHandlerFunc.
func (*ComponentStatusControllerMock) AddFeatureHandlerCalls ¶
func (mock *ComponentStatusControllerMock) AddFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string Sync v1a.ComponentStatusHandlerFunc }
AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:
len(mockedComponentStatusController.AddFeatureHandlerCalls())
func (*ComponentStatusControllerMock) AddHandler ¶
func (mock *ComponentStatusControllerMock) AddHandler(ctx context.Context, name string, handler v1a.ComponentStatusHandlerFunc)
AddHandler calls AddHandlerFunc.
func (*ComponentStatusControllerMock) AddHandlerCalls ¶
func (mock *ComponentStatusControllerMock) AddHandlerCalls() []struct { Ctx context.Context Name string Handler v1a.ComponentStatusHandlerFunc }
AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:
len(mockedComponentStatusController.AddHandlerCalls())
func (*ComponentStatusControllerMock) Enqueue ¶
func (mock *ComponentStatusControllerMock) Enqueue(namespace string, name string)
Enqueue calls EnqueueFunc.
func (*ComponentStatusControllerMock) EnqueueAfter ¶
func (mock *ComponentStatusControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)
EnqueueAfter calls EnqueueAfterFunc.
func (*ComponentStatusControllerMock) EnqueueAfterCalls ¶
func (mock *ComponentStatusControllerMock) EnqueueAfterCalls() []struct { Namespace string Name string After time.Duration }
EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:
len(mockedComponentStatusController.EnqueueAfterCalls())
func (*ComponentStatusControllerMock) EnqueueCalls ¶
func (mock *ComponentStatusControllerMock) EnqueueCalls() []struct { Namespace string Name string }
EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:
len(mockedComponentStatusController.EnqueueCalls())
func (*ComponentStatusControllerMock) Generic ¶
func (mock *ComponentStatusControllerMock) Generic() controller.GenericController
Generic calls GenericFunc.
func (*ComponentStatusControllerMock) GenericCalls ¶
func (mock *ComponentStatusControllerMock) GenericCalls() []struct { }
GenericCalls gets all the calls that were made to Generic. Check the length with:
len(mockedComponentStatusController.GenericCalls())
func (*ComponentStatusControllerMock) Informer ¶
func (mock *ComponentStatusControllerMock) Informer() cache.SharedIndexInformer
Informer calls InformerFunc.
func (*ComponentStatusControllerMock) InformerCalls ¶
func (mock *ComponentStatusControllerMock) InformerCalls() []struct { }
InformerCalls gets all the calls that were made to Informer. Check the length with:
len(mockedComponentStatusController.InformerCalls())
func (*ComponentStatusControllerMock) Lister ¶
func (mock *ComponentStatusControllerMock) Lister() v1a.ComponentStatusLister
Lister calls ListerFunc.
func (*ComponentStatusControllerMock) ListerCalls ¶
func (mock *ComponentStatusControllerMock) ListerCalls() []struct { }
ListerCalls gets all the calls that were made to Lister. Check the length with:
len(mockedComponentStatusController.ListerCalls())
func (*ComponentStatusControllerMock) Start ¶
func (mock *ComponentStatusControllerMock) Start(ctx context.Context, threadiness int) error
Start calls StartFunc.
func (*ComponentStatusControllerMock) StartCalls ¶
func (mock *ComponentStatusControllerMock) StartCalls() []struct { Ctx context.Context Threadiness int }
StartCalls gets all the calls that were made to Start. Check the length with:
len(mockedComponentStatusController.StartCalls())
func (*ComponentStatusControllerMock) Sync ¶
func (mock *ComponentStatusControllerMock) Sync(ctx context.Context) error
Sync calls SyncFunc.
func (*ComponentStatusControllerMock) SyncCalls ¶
func (mock *ComponentStatusControllerMock) SyncCalls() []struct { Ctx context.Context }
SyncCalls gets all the calls that were made to Sync. Check the length with:
len(mockedComponentStatusController.SyncCalls())
type ComponentStatusInterfaceMock ¶
type ComponentStatusInterfaceMock struct { // AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method. AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.ComponentStatusHandlerFunc) // AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method. AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.ComponentStatusLifecycle) // AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method. AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v1a.ComponentStatusHandlerFunc) // AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method. AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v1a.ComponentStatusLifecycle) // AddFeatureHandlerFunc mocks the AddFeatureHandler method. AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v1a.ComponentStatusHandlerFunc) // AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method. AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v1a.ComponentStatusLifecycle) // AddHandlerFunc mocks the AddHandler method. AddHandlerFunc func(ctx context.Context, name string, sync v1a.ComponentStatusHandlerFunc) // AddLifecycleFunc mocks the AddLifecycle method. AddLifecycleFunc func(ctx context.Context, name string, lifecycle v1a.ComponentStatusLifecycle) // ControllerFunc mocks the Controller method. ControllerFunc func() v1a.ComponentStatusController // CreateFunc mocks the Create method. CreateFunc func(in1 *v1.ComponentStatus) (*v1.ComponentStatus, error) // DeleteFunc mocks the Delete method. DeleteFunc func(name string, options *v1b.DeleteOptions) error // DeleteCollectionFunc mocks the DeleteCollection method. DeleteCollectionFunc func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error // DeleteNamespacedFunc mocks the DeleteNamespaced method. DeleteNamespacedFunc func(namespace string, name string, options *v1b.DeleteOptions) error // GetFunc mocks the Get method. GetFunc func(name string, opts v1b.GetOptions) (*v1.ComponentStatus, error) // GetNamespacedFunc mocks the GetNamespaced method. GetNamespacedFunc func(namespace string, name string, opts v1b.GetOptions) (*v1.ComponentStatus, error) // ListFunc mocks the List method. ListFunc func(opts v1b.ListOptions) (*v1a.ComponentStatusList, error) // ListNamespacedFunc mocks the ListNamespaced method. ListNamespacedFunc func(namespace string, opts v1b.ListOptions) (*v1a.ComponentStatusList, error) // ObjectClientFunc mocks the ObjectClient method. ObjectClientFunc func() *objectclient.ObjectClient // UpdateFunc mocks the Update method. UpdateFunc func(in1 *v1.ComponentStatus) (*v1.ComponentStatus, error) // WatchFunc mocks the Watch method. WatchFunc func(opts v1b.ListOptions) (watch.Interface, error) // contains filtered or unexported fields }
ComponentStatusInterfaceMock is a mock implementation of ComponentStatusInterface.
func TestSomethingThatUsesComponentStatusInterface(t *testing.T) { // make and configure a mocked ComponentStatusInterface mockedComponentStatusInterface := &ComponentStatusInterfaceMock{ AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.ComponentStatusHandlerFunc) { panic("mock out the AddClusterScopedFeatureHandler method") }, AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.ComponentStatusLifecycle) { panic("mock out the AddClusterScopedFeatureLifecycle method") }, AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v1a.ComponentStatusHandlerFunc) { panic("mock out the AddClusterScopedHandler method") }, AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v1a.ComponentStatusLifecycle) { panic("mock out the AddClusterScopedLifecycle method") }, AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.ComponentStatusHandlerFunc) { panic("mock out the AddFeatureHandler method") }, AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v1a.ComponentStatusLifecycle) { panic("mock out the AddFeatureLifecycle method") }, AddHandlerFunc: func(ctx context.Context, name string, sync v1a.ComponentStatusHandlerFunc) { panic("mock out the AddHandler method") }, AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v1a.ComponentStatusLifecycle) { panic("mock out the AddLifecycle method") }, ControllerFunc: func() v1a.ComponentStatusController { panic("mock out the Controller method") }, CreateFunc: func(in1 *v1.ComponentStatus) (*v1.ComponentStatus, error) { panic("mock out the Create method") }, DeleteFunc: func(name string, options *v1b.DeleteOptions) error { panic("mock out the Delete method") }, DeleteCollectionFunc: func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error { panic("mock out the DeleteCollection method") }, DeleteNamespacedFunc: func(namespace string, name string, options *v1b.DeleteOptions) error { panic("mock out the DeleteNamespaced method") }, GetFunc: func(name string, opts v1b.GetOptions) (*v1.ComponentStatus, error) { panic("mock out the Get method") }, GetNamespacedFunc: func(namespace string, name string, opts v1b.GetOptions) (*v1.ComponentStatus, error) { panic("mock out the GetNamespaced method") }, ListFunc: func(opts v1b.ListOptions) (*v1a.ComponentStatusList, error) { panic("mock out the List method") }, ListNamespacedFunc: func(namespace string, opts v1b.ListOptions) (*v1a.ComponentStatusList, error) { panic("mock out the ListNamespaced method") }, ObjectClientFunc: func() *objectclient.ObjectClient { panic("mock out the ObjectClient method") }, UpdateFunc: func(in1 *v1.ComponentStatus) (*v1.ComponentStatus, error) { panic("mock out the Update method") }, WatchFunc: func(opts v1b.ListOptions) (watch.Interface, error) { panic("mock out the Watch method") }, } // use mockedComponentStatusInterface in code that requires ComponentStatusInterface // and then make assertions. }
func (*ComponentStatusInterfaceMock) AddClusterScopedFeatureHandler ¶
func (mock *ComponentStatusInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.ComponentStatusHandlerFunc)
AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.
func (*ComponentStatusInterfaceMock) AddClusterScopedFeatureHandlerCalls ¶
func (mock *ComponentStatusInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string ClusterName string Sync v1a.ComponentStatusHandlerFunc }
AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:
len(mockedComponentStatusInterface.AddClusterScopedFeatureHandlerCalls())
func (*ComponentStatusInterfaceMock) AddClusterScopedFeatureLifecycle ¶
func (mock *ComponentStatusInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.ComponentStatusLifecycle)
AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.
func (*ComponentStatusInterfaceMock) AddClusterScopedFeatureLifecycleCalls ¶
func (mock *ComponentStatusInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct { Ctx context.Context Enabled func() bool Name string ClusterName string Lifecycle v1a.ComponentStatusLifecycle }
AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:
len(mockedComponentStatusInterface.AddClusterScopedFeatureLifecycleCalls())
func (*ComponentStatusInterfaceMock) AddClusterScopedHandler ¶
func (mock *ComponentStatusInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.ComponentStatusHandlerFunc)
AddClusterScopedHandler calls AddClusterScopedHandlerFunc.
func (*ComponentStatusInterfaceMock) AddClusterScopedHandlerCalls ¶
func (mock *ComponentStatusInterfaceMock) AddClusterScopedHandlerCalls() []struct { Ctx context.Context Name string ClusterName string Sync v1a.ComponentStatusHandlerFunc }
AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:
len(mockedComponentStatusInterface.AddClusterScopedHandlerCalls())
func (*ComponentStatusInterfaceMock) AddClusterScopedLifecycle ¶
func (mock *ComponentStatusInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v1a.ComponentStatusLifecycle)
AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.
func (*ComponentStatusInterfaceMock) AddClusterScopedLifecycleCalls ¶
func (mock *ComponentStatusInterfaceMock) AddClusterScopedLifecycleCalls() []struct { Ctx context.Context Name string ClusterName string Lifecycle v1a.ComponentStatusLifecycle }
AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:
len(mockedComponentStatusInterface.AddClusterScopedLifecycleCalls())
func (*ComponentStatusInterfaceMock) AddFeatureHandler ¶
func (mock *ComponentStatusInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v1a.ComponentStatusHandlerFunc)
AddFeatureHandler calls AddFeatureHandlerFunc.
func (*ComponentStatusInterfaceMock) AddFeatureHandlerCalls ¶
func (mock *ComponentStatusInterfaceMock) AddFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string Sync v1a.ComponentStatusHandlerFunc }
AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:
len(mockedComponentStatusInterface.AddFeatureHandlerCalls())
func (*ComponentStatusInterfaceMock) AddFeatureLifecycle ¶
func (mock *ComponentStatusInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v1a.ComponentStatusLifecycle)
AddFeatureLifecycle calls AddFeatureLifecycleFunc.
func (*ComponentStatusInterfaceMock) AddFeatureLifecycleCalls ¶
func (mock *ComponentStatusInterfaceMock) AddFeatureLifecycleCalls() []struct { Ctx context.Context Enabled func() bool Name string Lifecycle v1a.ComponentStatusLifecycle }
AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:
len(mockedComponentStatusInterface.AddFeatureLifecycleCalls())
func (*ComponentStatusInterfaceMock) AddHandler ¶
func (mock *ComponentStatusInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.ComponentStatusHandlerFunc)
AddHandler calls AddHandlerFunc.
func (*ComponentStatusInterfaceMock) AddHandlerCalls ¶
func (mock *ComponentStatusInterfaceMock) AddHandlerCalls() []struct { Ctx context.Context Name string Sync v1a.ComponentStatusHandlerFunc }
AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:
len(mockedComponentStatusInterface.AddHandlerCalls())
func (*ComponentStatusInterfaceMock) AddLifecycle ¶
func (mock *ComponentStatusInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.ComponentStatusLifecycle)
AddLifecycle calls AddLifecycleFunc.
func (*ComponentStatusInterfaceMock) AddLifecycleCalls ¶
func (mock *ComponentStatusInterfaceMock) AddLifecycleCalls() []struct { Ctx context.Context Name string Lifecycle v1a.ComponentStatusLifecycle }
AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:
len(mockedComponentStatusInterface.AddLifecycleCalls())
func (*ComponentStatusInterfaceMock) Controller ¶
func (mock *ComponentStatusInterfaceMock) Controller() v1a.ComponentStatusController
Controller calls ControllerFunc.
func (*ComponentStatusInterfaceMock) ControllerCalls ¶
func (mock *ComponentStatusInterfaceMock) ControllerCalls() []struct { }
ControllerCalls gets all the calls that were made to Controller. Check the length with:
len(mockedComponentStatusInterface.ControllerCalls())
func (*ComponentStatusInterfaceMock) Create ¶
func (mock *ComponentStatusInterfaceMock) Create(in1 *v1.ComponentStatus) (*v1.ComponentStatus, error)
Create calls CreateFunc.
func (*ComponentStatusInterfaceMock) CreateCalls ¶
func (mock *ComponentStatusInterfaceMock) CreateCalls() []struct { In1 *v1.ComponentStatus }
CreateCalls gets all the calls that were made to Create. Check the length with:
len(mockedComponentStatusInterface.CreateCalls())
func (*ComponentStatusInterfaceMock) Delete ¶
func (mock *ComponentStatusInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error
Delete calls DeleteFunc.
func (*ComponentStatusInterfaceMock) DeleteCalls ¶
func (mock *ComponentStatusInterfaceMock) DeleteCalls() []struct { Name string Options *v1b.DeleteOptions }
DeleteCalls gets all the calls that were made to Delete. Check the length with:
len(mockedComponentStatusInterface.DeleteCalls())
func (*ComponentStatusInterfaceMock) DeleteCollection ¶
func (mock *ComponentStatusInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error
DeleteCollection calls DeleteCollectionFunc.
func (*ComponentStatusInterfaceMock) DeleteCollectionCalls ¶
func (mock *ComponentStatusInterfaceMock) DeleteCollectionCalls() []struct { DeleteOpts *v1b.DeleteOptions ListOpts v1b.ListOptions }
DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:
len(mockedComponentStatusInterface.DeleteCollectionCalls())
func (*ComponentStatusInterfaceMock) DeleteNamespaced ¶
func (mock *ComponentStatusInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error
DeleteNamespaced calls DeleteNamespacedFunc.
func (*ComponentStatusInterfaceMock) DeleteNamespacedCalls ¶
func (mock *ComponentStatusInterfaceMock) DeleteNamespacedCalls() []struct { Namespace string Name string Options *v1b.DeleteOptions }
DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:
len(mockedComponentStatusInterface.DeleteNamespacedCalls())
func (*ComponentStatusInterfaceMock) Get ¶
func (mock *ComponentStatusInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.ComponentStatus, error)
Get calls GetFunc.
func (*ComponentStatusInterfaceMock) GetCalls ¶
func (mock *ComponentStatusInterfaceMock) GetCalls() []struct { Name string Opts v1b.GetOptions }
GetCalls gets all the calls that were made to Get. Check the length with:
len(mockedComponentStatusInterface.GetCalls())
func (*ComponentStatusInterfaceMock) GetNamespaced ¶
func (mock *ComponentStatusInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.ComponentStatus, error)
GetNamespaced calls GetNamespacedFunc.
func (*ComponentStatusInterfaceMock) GetNamespacedCalls ¶
func (mock *ComponentStatusInterfaceMock) GetNamespacedCalls() []struct { Namespace string Name string Opts v1b.GetOptions }
GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:
len(mockedComponentStatusInterface.GetNamespacedCalls())
func (*ComponentStatusInterfaceMock) List ¶
func (mock *ComponentStatusInterfaceMock) List(opts v1b.ListOptions) (*v1a.ComponentStatusList, error)
List calls ListFunc.
func (*ComponentStatusInterfaceMock) ListCalls ¶
func (mock *ComponentStatusInterfaceMock) ListCalls() []struct { Opts v1b.ListOptions }
ListCalls gets all the calls that were made to List. Check the length with:
len(mockedComponentStatusInterface.ListCalls())
func (*ComponentStatusInterfaceMock) ListNamespaced ¶
func (mock *ComponentStatusInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.ComponentStatusList, error)
ListNamespaced calls ListNamespacedFunc.
func (*ComponentStatusInterfaceMock) ListNamespacedCalls ¶
func (mock *ComponentStatusInterfaceMock) ListNamespacedCalls() []struct { Namespace string Opts v1b.ListOptions }
ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:
len(mockedComponentStatusInterface.ListNamespacedCalls())
func (*ComponentStatusInterfaceMock) ObjectClient ¶
func (mock *ComponentStatusInterfaceMock) ObjectClient() *objectclient.ObjectClient
ObjectClient calls ObjectClientFunc.
func (*ComponentStatusInterfaceMock) ObjectClientCalls ¶
func (mock *ComponentStatusInterfaceMock) ObjectClientCalls() []struct { }
ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:
len(mockedComponentStatusInterface.ObjectClientCalls())
func (*ComponentStatusInterfaceMock) Update ¶
func (mock *ComponentStatusInterfaceMock) Update(in1 *v1.ComponentStatus) (*v1.ComponentStatus, error)
Update calls UpdateFunc.
func (*ComponentStatusInterfaceMock) UpdateCalls ¶
func (mock *ComponentStatusInterfaceMock) UpdateCalls() []struct { In1 *v1.ComponentStatus }
UpdateCalls gets all the calls that were made to Update. Check the length with:
len(mockedComponentStatusInterface.UpdateCalls())
func (*ComponentStatusInterfaceMock) Watch ¶
func (mock *ComponentStatusInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)
Watch calls WatchFunc.
func (*ComponentStatusInterfaceMock) WatchCalls ¶
func (mock *ComponentStatusInterfaceMock) WatchCalls() []struct { Opts v1b.ListOptions }
WatchCalls gets all the calls that were made to Watch. Check the length with:
len(mockedComponentStatusInterface.WatchCalls())
type ComponentStatusListerMock ¶
type ComponentStatusListerMock struct { // GetFunc mocks the Get method. GetFunc func(namespace string, name string) (*v1.ComponentStatus, error) // ListFunc mocks the List method. ListFunc func(namespace string, selector labels.Selector) ([]*v1.ComponentStatus, error) // contains filtered or unexported fields }
ComponentStatusListerMock is a mock implementation of ComponentStatusLister.
func TestSomethingThatUsesComponentStatusLister(t *testing.T) { // make and configure a mocked ComponentStatusLister mockedComponentStatusLister := &ComponentStatusListerMock{ GetFunc: func(namespace string, name string) (*v1.ComponentStatus, error) { panic("mock out the Get method") }, ListFunc: func(namespace string, selector labels.Selector) ([]*v1.ComponentStatus, error) { panic("mock out the List method") }, } // use mockedComponentStatusLister in code that requires ComponentStatusLister // and then make assertions. }
func (*ComponentStatusListerMock) Get ¶
func (mock *ComponentStatusListerMock) Get(namespace string, name string) (*v1.ComponentStatus, error)
Get calls GetFunc.
func (*ComponentStatusListerMock) GetCalls ¶
func (mock *ComponentStatusListerMock) GetCalls() []struct { Namespace string Name string }
GetCalls gets all the calls that were made to Get. Check the length with:
len(mockedComponentStatusLister.GetCalls())
func (*ComponentStatusListerMock) List ¶
func (mock *ComponentStatusListerMock) List(namespace string, selector labels.Selector) ([]*v1.ComponentStatus, error)
List calls ListFunc.
type ComponentStatusesGetterMock ¶
type ComponentStatusesGetterMock struct { // ComponentStatusesFunc mocks the ComponentStatuses method. ComponentStatusesFunc func(namespace string) v1a.ComponentStatusInterface // contains filtered or unexported fields }
ComponentStatusesGetterMock is a mock implementation of ComponentStatusesGetter.
func TestSomethingThatUsesComponentStatusesGetter(t *testing.T) { // make and configure a mocked ComponentStatusesGetter mockedComponentStatusesGetter := &ComponentStatusesGetterMock{ ComponentStatusesFunc: func(namespace string) v1a.ComponentStatusInterface { panic("mock out the ComponentStatuses method") }, } // use mockedComponentStatusesGetter in code that requires ComponentStatusesGetter // and then make assertions. }
func (*ComponentStatusesGetterMock) ComponentStatuses ¶
func (mock *ComponentStatusesGetterMock) ComponentStatuses(namespace string) v1a.ComponentStatusInterface
ComponentStatuses calls ComponentStatusesFunc.
func (*ComponentStatusesGetterMock) ComponentStatusesCalls ¶
func (mock *ComponentStatusesGetterMock) ComponentStatusesCalls() []struct { Namespace string }
ComponentStatusesCalls gets all the calls that were made to ComponentStatuses. Check the length with:
len(mockedComponentStatusesGetter.ComponentStatusesCalls())
type ConfigMapControllerMock ¶
type ConfigMapControllerMock struct { // AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method. AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.ConfigMapHandlerFunc) // AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method. AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.ConfigMapHandlerFunc) // AddFeatureHandlerFunc mocks the AddFeatureHandler method. AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v1a.ConfigMapHandlerFunc) // AddHandlerFunc mocks the AddHandler method. AddHandlerFunc func(ctx context.Context, name string, handler v1a.ConfigMapHandlerFunc) // EnqueueFunc mocks the Enqueue method. EnqueueFunc func(namespace string, name string) // EnqueueAfterFunc mocks the EnqueueAfter method. EnqueueAfterFunc func(namespace string, name string, after time.Duration) // GenericFunc mocks the Generic method. GenericFunc func() controller.GenericController // InformerFunc mocks the Informer method. InformerFunc func() cache.SharedIndexInformer // ListerFunc mocks the Lister method. ListerFunc func() v1a.ConfigMapLister // StartFunc mocks the Start method. StartFunc func(ctx context.Context, threadiness int) error // SyncFunc mocks the Sync method. SyncFunc func(ctx context.Context) error // contains filtered or unexported fields }
ConfigMapControllerMock is a mock implementation of ConfigMapController.
func TestSomethingThatUsesConfigMapController(t *testing.T) { // make and configure a mocked ConfigMapController mockedConfigMapController := &ConfigMapControllerMock{ AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.ConfigMapHandlerFunc) { panic("mock out the AddClusterScopedFeatureHandler method") }, AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.ConfigMapHandlerFunc) { panic("mock out the AddClusterScopedHandler method") }, AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.ConfigMapHandlerFunc) { panic("mock out the AddFeatureHandler method") }, AddHandlerFunc: func(ctx context.Context, name string, handler v1a.ConfigMapHandlerFunc) { panic("mock out the AddHandler method") }, EnqueueFunc: func(namespace string, name string) { panic("mock out the Enqueue method") }, EnqueueAfterFunc: func(namespace string, name string, after time.Duration) { panic("mock out the EnqueueAfter method") }, GenericFunc: func() controller.GenericController { panic("mock out the Generic method") }, InformerFunc: func() cache.SharedIndexInformer { panic("mock out the Informer method") }, ListerFunc: func() v1a.ConfigMapLister { panic("mock out the Lister method") }, StartFunc: func(ctx context.Context, threadiness int) error { panic("mock out the Start method") }, SyncFunc: func(ctx context.Context) error { panic("mock out the Sync method") }, } // use mockedConfigMapController in code that requires ConfigMapController // and then make assertions. }
func (*ConfigMapControllerMock) AddClusterScopedFeatureHandler ¶
func (mock *ConfigMapControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.ConfigMapHandlerFunc)
AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.
func (*ConfigMapControllerMock) AddClusterScopedFeatureHandlerCalls ¶
func (mock *ConfigMapControllerMock) AddClusterScopedFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string ClusterName string Handler v1a.ConfigMapHandlerFunc }
AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:
len(mockedConfigMapController.AddClusterScopedFeatureHandlerCalls())
func (*ConfigMapControllerMock) AddClusterScopedHandler ¶
func (mock *ConfigMapControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v1a.ConfigMapHandlerFunc)
AddClusterScopedHandler calls AddClusterScopedHandlerFunc.
func (*ConfigMapControllerMock) AddClusterScopedHandlerCalls ¶
func (mock *ConfigMapControllerMock) AddClusterScopedHandlerCalls() []struct { Ctx context.Context Name string ClusterName string Handler v1a.ConfigMapHandlerFunc }
AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:
len(mockedConfigMapController.AddClusterScopedHandlerCalls())
func (*ConfigMapControllerMock) AddFeatureHandler ¶
func (mock *ConfigMapControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v1a.ConfigMapHandlerFunc)
AddFeatureHandler calls AddFeatureHandlerFunc.
func (*ConfigMapControllerMock) AddFeatureHandlerCalls ¶
func (mock *ConfigMapControllerMock) AddFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string Sync v1a.ConfigMapHandlerFunc }
AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:
len(mockedConfigMapController.AddFeatureHandlerCalls())
func (*ConfigMapControllerMock) AddHandler ¶
func (mock *ConfigMapControllerMock) AddHandler(ctx context.Context, name string, handler v1a.ConfigMapHandlerFunc)
AddHandler calls AddHandlerFunc.
func (*ConfigMapControllerMock) AddHandlerCalls ¶
func (mock *ConfigMapControllerMock) AddHandlerCalls() []struct { Ctx context.Context Name string Handler v1a.ConfigMapHandlerFunc }
AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:
len(mockedConfigMapController.AddHandlerCalls())
func (*ConfigMapControllerMock) Enqueue ¶
func (mock *ConfigMapControllerMock) Enqueue(namespace string, name string)
Enqueue calls EnqueueFunc.
func (*ConfigMapControllerMock) EnqueueAfter ¶
func (mock *ConfigMapControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)
EnqueueAfter calls EnqueueAfterFunc.
func (*ConfigMapControllerMock) EnqueueAfterCalls ¶
func (mock *ConfigMapControllerMock) EnqueueAfterCalls() []struct { Namespace string Name string After time.Duration }
EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:
len(mockedConfigMapController.EnqueueAfterCalls())
func (*ConfigMapControllerMock) EnqueueCalls ¶
func (mock *ConfigMapControllerMock) EnqueueCalls() []struct { Namespace string Name string }
EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:
len(mockedConfigMapController.EnqueueCalls())
func (*ConfigMapControllerMock) Generic ¶
func (mock *ConfigMapControllerMock) Generic() controller.GenericController
Generic calls GenericFunc.
func (*ConfigMapControllerMock) GenericCalls ¶
func (mock *ConfigMapControllerMock) GenericCalls() []struct { }
GenericCalls gets all the calls that were made to Generic. Check the length with:
len(mockedConfigMapController.GenericCalls())
func (*ConfigMapControllerMock) Informer ¶
func (mock *ConfigMapControllerMock) Informer() cache.SharedIndexInformer
Informer calls InformerFunc.
func (*ConfigMapControllerMock) InformerCalls ¶
func (mock *ConfigMapControllerMock) InformerCalls() []struct { }
InformerCalls gets all the calls that were made to Informer. Check the length with:
len(mockedConfigMapController.InformerCalls())
func (*ConfigMapControllerMock) Lister ¶
func (mock *ConfigMapControllerMock) Lister() v1a.ConfigMapLister
Lister calls ListerFunc.
func (*ConfigMapControllerMock) ListerCalls ¶
func (mock *ConfigMapControllerMock) ListerCalls() []struct { }
ListerCalls gets all the calls that were made to Lister. Check the length with:
len(mockedConfigMapController.ListerCalls())
func (*ConfigMapControllerMock) Start ¶
func (mock *ConfigMapControllerMock) Start(ctx context.Context, threadiness int) error
Start calls StartFunc.
func (*ConfigMapControllerMock) StartCalls ¶
func (mock *ConfigMapControllerMock) StartCalls() []struct { Ctx context.Context Threadiness int }
StartCalls gets all the calls that were made to Start. Check the length with:
len(mockedConfigMapController.StartCalls())
func (*ConfigMapControllerMock) Sync ¶
func (mock *ConfigMapControllerMock) Sync(ctx context.Context) error
Sync calls SyncFunc.
func (*ConfigMapControllerMock) SyncCalls ¶
func (mock *ConfigMapControllerMock) SyncCalls() []struct { Ctx context.Context }
SyncCalls gets all the calls that were made to Sync. Check the length with:
len(mockedConfigMapController.SyncCalls())
type ConfigMapInterfaceMock ¶
type ConfigMapInterfaceMock struct { // AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method. AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.ConfigMapHandlerFunc) // AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method. AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.ConfigMapLifecycle) // AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method. AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v1a.ConfigMapHandlerFunc) // AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method. AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v1a.ConfigMapLifecycle) // AddFeatureHandlerFunc mocks the AddFeatureHandler method. AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v1a.ConfigMapHandlerFunc) // AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method. AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v1a.ConfigMapLifecycle) // AddHandlerFunc mocks the AddHandler method. AddHandlerFunc func(ctx context.Context, name string, sync v1a.ConfigMapHandlerFunc) // AddLifecycleFunc mocks the AddLifecycle method. AddLifecycleFunc func(ctx context.Context, name string, lifecycle v1a.ConfigMapLifecycle) // ControllerFunc mocks the Controller method. ControllerFunc func() v1a.ConfigMapController // CreateFunc mocks the Create method. CreateFunc func(in1 *v1.ConfigMap) (*v1.ConfigMap, error) // DeleteFunc mocks the Delete method. DeleteFunc func(name string, options *v1b.DeleteOptions) error // DeleteCollectionFunc mocks the DeleteCollection method. DeleteCollectionFunc func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error // DeleteNamespacedFunc mocks the DeleteNamespaced method. DeleteNamespacedFunc func(namespace string, name string, options *v1b.DeleteOptions) error // GetFunc mocks the Get method. GetFunc func(name string, opts v1b.GetOptions) (*v1.ConfigMap, error) // GetNamespacedFunc mocks the GetNamespaced method. GetNamespacedFunc func(namespace string, name string, opts v1b.GetOptions) (*v1.ConfigMap, error) // ListFunc mocks the List method. ListFunc func(opts v1b.ListOptions) (*v1a.ConfigMapList, error) // ListNamespacedFunc mocks the ListNamespaced method. ListNamespacedFunc func(namespace string, opts v1b.ListOptions) (*v1a.ConfigMapList, error) // ObjectClientFunc mocks the ObjectClient method. ObjectClientFunc func() *objectclient.ObjectClient // UpdateFunc mocks the Update method. UpdateFunc func(in1 *v1.ConfigMap) (*v1.ConfigMap, error) // WatchFunc mocks the Watch method. WatchFunc func(opts v1b.ListOptions) (watch.Interface, error) // contains filtered or unexported fields }
ConfigMapInterfaceMock is a mock implementation of ConfigMapInterface.
func TestSomethingThatUsesConfigMapInterface(t *testing.T) { // make and configure a mocked ConfigMapInterface mockedConfigMapInterface := &ConfigMapInterfaceMock{ AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.ConfigMapHandlerFunc) { panic("mock out the AddClusterScopedFeatureHandler method") }, AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.ConfigMapLifecycle) { panic("mock out the AddClusterScopedFeatureLifecycle method") }, AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v1a.ConfigMapHandlerFunc) { panic("mock out the AddClusterScopedHandler method") }, AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v1a.ConfigMapLifecycle) { panic("mock out the AddClusterScopedLifecycle method") }, AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.ConfigMapHandlerFunc) { panic("mock out the AddFeatureHandler method") }, AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v1a.ConfigMapLifecycle) { panic("mock out the AddFeatureLifecycle method") }, AddHandlerFunc: func(ctx context.Context, name string, sync v1a.ConfigMapHandlerFunc) { panic("mock out the AddHandler method") }, AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v1a.ConfigMapLifecycle) { panic("mock out the AddLifecycle method") }, ControllerFunc: func() v1a.ConfigMapController { panic("mock out the Controller method") }, CreateFunc: func(in1 *v1.ConfigMap) (*v1.ConfigMap, error) { panic("mock out the Create method") }, DeleteFunc: func(name string, options *v1b.DeleteOptions) error { panic("mock out the Delete method") }, DeleteCollectionFunc: func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error { panic("mock out the DeleteCollection method") }, DeleteNamespacedFunc: func(namespace string, name string, options *v1b.DeleteOptions) error { panic("mock out the DeleteNamespaced method") }, GetFunc: func(name string, opts v1b.GetOptions) (*v1.ConfigMap, error) { panic("mock out the Get method") }, GetNamespacedFunc: func(namespace string, name string, opts v1b.GetOptions) (*v1.ConfigMap, error) { panic("mock out the GetNamespaced method") }, ListFunc: func(opts v1b.ListOptions) (*v1a.ConfigMapList, error) { panic("mock out the List method") }, ListNamespacedFunc: func(namespace string, opts v1b.ListOptions) (*v1a.ConfigMapList, error) { panic("mock out the ListNamespaced method") }, ObjectClientFunc: func() *objectclient.ObjectClient { panic("mock out the ObjectClient method") }, UpdateFunc: func(in1 *v1.ConfigMap) (*v1.ConfigMap, error) { panic("mock out the Update method") }, WatchFunc: func(opts v1b.ListOptions) (watch.Interface, error) { panic("mock out the Watch method") }, } // use mockedConfigMapInterface in code that requires ConfigMapInterface // and then make assertions. }
func (*ConfigMapInterfaceMock) AddClusterScopedFeatureHandler ¶
func (mock *ConfigMapInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.ConfigMapHandlerFunc)
AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.
func (*ConfigMapInterfaceMock) AddClusterScopedFeatureHandlerCalls ¶
func (mock *ConfigMapInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string ClusterName string Sync v1a.ConfigMapHandlerFunc }
AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:
len(mockedConfigMapInterface.AddClusterScopedFeatureHandlerCalls())
func (*ConfigMapInterfaceMock) AddClusterScopedFeatureLifecycle ¶
func (mock *ConfigMapInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.ConfigMapLifecycle)
AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.
func (*ConfigMapInterfaceMock) AddClusterScopedFeatureLifecycleCalls ¶
func (mock *ConfigMapInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct { Ctx context.Context Enabled func() bool Name string ClusterName string Lifecycle v1a.ConfigMapLifecycle }
AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:
len(mockedConfigMapInterface.AddClusterScopedFeatureLifecycleCalls())
func (*ConfigMapInterfaceMock) AddClusterScopedHandler ¶
func (mock *ConfigMapInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.ConfigMapHandlerFunc)
AddClusterScopedHandler calls AddClusterScopedHandlerFunc.
func (*ConfigMapInterfaceMock) AddClusterScopedHandlerCalls ¶
func (mock *ConfigMapInterfaceMock) AddClusterScopedHandlerCalls() []struct { Ctx context.Context Name string ClusterName string Sync v1a.ConfigMapHandlerFunc }
AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:
len(mockedConfigMapInterface.AddClusterScopedHandlerCalls())
func (*ConfigMapInterfaceMock) AddClusterScopedLifecycle ¶
func (mock *ConfigMapInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v1a.ConfigMapLifecycle)
AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.
func (*ConfigMapInterfaceMock) AddClusterScopedLifecycleCalls ¶
func (mock *ConfigMapInterfaceMock) AddClusterScopedLifecycleCalls() []struct { Ctx context.Context Name string ClusterName string Lifecycle v1a.ConfigMapLifecycle }
AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:
len(mockedConfigMapInterface.AddClusterScopedLifecycleCalls())
func (*ConfigMapInterfaceMock) AddFeatureHandler ¶
func (mock *ConfigMapInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v1a.ConfigMapHandlerFunc)
AddFeatureHandler calls AddFeatureHandlerFunc.
func (*ConfigMapInterfaceMock) AddFeatureHandlerCalls ¶
func (mock *ConfigMapInterfaceMock) AddFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string Sync v1a.ConfigMapHandlerFunc }
AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:
len(mockedConfigMapInterface.AddFeatureHandlerCalls())
func (*ConfigMapInterfaceMock) AddFeatureLifecycle ¶
func (mock *ConfigMapInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v1a.ConfigMapLifecycle)
AddFeatureLifecycle calls AddFeatureLifecycleFunc.
func (*ConfigMapInterfaceMock) AddFeatureLifecycleCalls ¶
func (mock *ConfigMapInterfaceMock) AddFeatureLifecycleCalls() []struct { Ctx context.Context Enabled func() bool Name string Lifecycle v1a.ConfigMapLifecycle }
AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:
len(mockedConfigMapInterface.AddFeatureLifecycleCalls())
func (*ConfigMapInterfaceMock) AddHandler ¶
func (mock *ConfigMapInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.ConfigMapHandlerFunc)
AddHandler calls AddHandlerFunc.
func (*ConfigMapInterfaceMock) AddHandlerCalls ¶
func (mock *ConfigMapInterfaceMock) AddHandlerCalls() []struct { Ctx context.Context Name string Sync v1a.ConfigMapHandlerFunc }
AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:
len(mockedConfigMapInterface.AddHandlerCalls())
func (*ConfigMapInterfaceMock) AddLifecycle ¶
func (mock *ConfigMapInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.ConfigMapLifecycle)
AddLifecycle calls AddLifecycleFunc.
func (*ConfigMapInterfaceMock) AddLifecycleCalls ¶
func (mock *ConfigMapInterfaceMock) AddLifecycleCalls() []struct { Ctx context.Context Name string Lifecycle v1a.ConfigMapLifecycle }
AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:
len(mockedConfigMapInterface.AddLifecycleCalls())
func (*ConfigMapInterfaceMock) Controller ¶
func (mock *ConfigMapInterfaceMock) Controller() v1a.ConfigMapController
Controller calls ControllerFunc.
func (*ConfigMapInterfaceMock) ControllerCalls ¶
func (mock *ConfigMapInterfaceMock) ControllerCalls() []struct { }
ControllerCalls gets all the calls that were made to Controller. Check the length with:
len(mockedConfigMapInterface.ControllerCalls())
func (*ConfigMapInterfaceMock) CreateCalls ¶
func (mock *ConfigMapInterfaceMock) CreateCalls() []struct { In1 *v1.ConfigMap }
CreateCalls gets all the calls that were made to Create. Check the length with:
len(mockedConfigMapInterface.CreateCalls())
func (*ConfigMapInterfaceMock) Delete ¶
func (mock *ConfigMapInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error
Delete calls DeleteFunc.
func (*ConfigMapInterfaceMock) DeleteCalls ¶
func (mock *ConfigMapInterfaceMock) DeleteCalls() []struct { Name string Options *v1b.DeleteOptions }
DeleteCalls gets all the calls that were made to Delete. Check the length with:
len(mockedConfigMapInterface.DeleteCalls())
func (*ConfigMapInterfaceMock) DeleteCollection ¶
func (mock *ConfigMapInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error
DeleteCollection calls DeleteCollectionFunc.
func (*ConfigMapInterfaceMock) DeleteCollectionCalls ¶
func (mock *ConfigMapInterfaceMock) DeleteCollectionCalls() []struct { DeleteOpts *v1b.DeleteOptions ListOpts v1b.ListOptions }
DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:
len(mockedConfigMapInterface.DeleteCollectionCalls())
func (*ConfigMapInterfaceMock) DeleteNamespaced ¶
func (mock *ConfigMapInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error
DeleteNamespaced calls DeleteNamespacedFunc.
func (*ConfigMapInterfaceMock) DeleteNamespacedCalls ¶
func (mock *ConfigMapInterfaceMock) DeleteNamespacedCalls() []struct { Namespace string Name string Options *v1b.DeleteOptions }
DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:
len(mockedConfigMapInterface.DeleteNamespacedCalls())
func (*ConfigMapInterfaceMock) Get ¶
func (mock *ConfigMapInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.ConfigMap, error)
Get calls GetFunc.
func (*ConfigMapInterfaceMock) GetCalls ¶
func (mock *ConfigMapInterfaceMock) GetCalls() []struct { Name string Opts v1b.GetOptions }
GetCalls gets all the calls that were made to Get. Check the length with:
len(mockedConfigMapInterface.GetCalls())
func (*ConfigMapInterfaceMock) GetNamespaced ¶
func (mock *ConfigMapInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.ConfigMap, error)
GetNamespaced calls GetNamespacedFunc.
func (*ConfigMapInterfaceMock) GetNamespacedCalls ¶
func (mock *ConfigMapInterfaceMock) GetNamespacedCalls() []struct { Namespace string Name string Opts v1b.GetOptions }
GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:
len(mockedConfigMapInterface.GetNamespacedCalls())
func (*ConfigMapInterfaceMock) List ¶
func (mock *ConfigMapInterfaceMock) List(opts v1b.ListOptions) (*v1a.ConfigMapList, error)
List calls ListFunc.
func (*ConfigMapInterfaceMock) ListCalls ¶
func (mock *ConfigMapInterfaceMock) ListCalls() []struct { Opts v1b.ListOptions }
ListCalls gets all the calls that were made to List. Check the length with:
len(mockedConfigMapInterface.ListCalls())
func (*ConfigMapInterfaceMock) ListNamespaced ¶
func (mock *ConfigMapInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.ConfigMapList, error)
ListNamespaced calls ListNamespacedFunc.
func (*ConfigMapInterfaceMock) ListNamespacedCalls ¶
func (mock *ConfigMapInterfaceMock) ListNamespacedCalls() []struct { Namespace string Opts v1b.ListOptions }
ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:
len(mockedConfigMapInterface.ListNamespacedCalls())
func (*ConfigMapInterfaceMock) ObjectClient ¶
func (mock *ConfigMapInterfaceMock) ObjectClient() *objectclient.ObjectClient
ObjectClient calls ObjectClientFunc.
func (*ConfigMapInterfaceMock) ObjectClientCalls ¶
func (mock *ConfigMapInterfaceMock) ObjectClientCalls() []struct { }
ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:
len(mockedConfigMapInterface.ObjectClientCalls())
func (*ConfigMapInterfaceMock) UpdateCalls ¶
func (mock *ConfigMapInterfaceMock) UpdateCalls() []struct { In1 *v1.ConfigMap }
UpdateCalls gets all the calls that were made to Update. Check the length with:
len(mockedConfigMapInterface.UpdateCalls())
func (*ConfigMapInterfaceMock) Watch ¶
func (mock *ConfigMapInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)
Watch calls WatchFunc.
func (*ConfigMapInterfaceMock) WatchCalls ¶
func (mock *ConfigMapInterfaceMock) WatchCalls() []struct { Opts v1b.ListOptions }
WatchCalls gets all the calls that were made to Watch. Check the length with:
len(mockedConfigMapInterface.WatchCalls())
type ConfigMapListerMock ¶
type ConfigMapListerMock struct { // GetFunc mocks the Get method. GetFunc func(namespace string, name string) (*v1.ConfigMap, error) // ListFunc mocks the List method. ListFunc func(namespace string, selector labels.Selector) ([]*v1.ConfigMap, error) // contains filtered or unexported fields }
ConfigMapListerMock is a mock implementation of ConfigMapLister.
func TestSomethingThatUsesConfigMapLister(t *testing.T) { // make and configure a mocked ConfigMapLister mockedConfigMapLister := &ConfigMapListerMock{ GetFunc: func(namespace string, name string) (*v1.ConfigMap, error) { panic("mock out the Get method") }, ListFunc: func(namespace string, selector labels.Selector) ([]*v1.ConfigMap, error) { panic("mock out the List method") }, } // use mockedConfigMapLister in code that requires ConfigMapLister // and then make assertions. }
func (*ConfigMapListerMock) GetCalls ¶
func (mock *ConfigMapListerMock) GetCalls() []struct { Namespace string Name string }
GetCalls gets all the calls that were made to Get. Check the length with:
len(mockedConfigMapLister.GetCalls())
type ConfigMapsGetterMock ¶
type ConfigMapsGetterMock struct { // ConfigMapsFunc mocks the ConfigMaps method. ConfigMapsFunc func(namespace string) v1a.ConfigMapInterface // contains filtered or unexported fields }
ConfigMapsGetterMock is a mock implementation of ConfigMapsGetter.
func TestSomethingThatUsesConfigMapsGetter(t *testing.T) { // make and configure a mocked ConfigMapsGetter mockedConfigMapsGetter := &ConfigMapsGetterMock{ ConfigMapsFunc: func(namespace string) v1a.ConfigMapInterface { panic("mock out the ConfigMaps method") }, } // use mockedConfigMapsGetter in code that requires ConfigMapsGetter // and then make assertions. }
func (*ConfigMapsGetterMock) ConfigMaps ¶
func (mock *ConfigMapsGetterMock) ConfigMaps(namespace string) v1a.ConfigMapInterface
ConfigMaps calls ConfigMapsFunc.
func (*ConfigMapsGetterMock) ConfigMapsCalls ¶
func (mock *ConfigMapsGetterMock) ConfigMapsCalls() []struct { Namespace string }
ConfigMapsCalls gets all the calls that were made to ConfigMaps. Check the length with:
len(mockedConfigMapsGetter.ConfigMapsCalls())
type EndpointsControllerMock ¶
type EndpointsControllerMock struct { // AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method. AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.EndpointsHandlerFunc) // AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method. AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.EndpointsHandlerFunc) // AddFeatureHandlerFunc mocks the AddFeatureHandler method. AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v1a.EndpointsHandlerFunc) // AddHandlerFunc mocks the AddHandler method. AddHandlerFunc func(ctx context.Context, name string, handler v1a.EndpointsHandlerFunc) // EnqueueFunc mocks the Enqueue method. EnqueueFunc func(namespace string, name string) // EnqueueAfterFunc mocks the EnqueueAfter method. EnqueueAfterFunc func(namespace string, name string, after time.Duration) // GenericFunc mocks the Generic method. GenericFunc func() controller.GenericController // InformerFunc mocks the Informer method. InformerFunc func() cache.SharedIndexInformer // ListerFunc mocks the Lister method. ListerFunc func() v1a.EndpointsLister // StartFunc mocks the Start method. StartFunc func(ctx context.Context, threadiness int) error // SyncFunc mocks the Sync method. SyncFunc func(ctx context.Context) error // contains filtered or unexported fields }
EndpointsControllerMock is a mock implementation of EndpointsController.
func TestSomethingThatUsesEndpointsController(t *testing.T) { // make and configure a mocked EndpointsController mockedEndpointsController := &EndpointsControllerMock{ AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.EndpointsHandlerFunc) { panic("mock out the AddClusterScopedFeatureHandler method") }, AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.EndpointsHandlerFunc) { panic("mock out the AddClusterScopedHandler method") }, AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.EndpointsHandlerFunc) { panic("mock out the AddFeatureHandler method") }, AddHandlerFunc: func(ctx context.Context, name string, handler v1a.EndpointsHandlerFunc) { panic("mock out the AddHandler method") }, EnqueueFunc: func(namespace string, name string) { panic("mock out the Enqueue method") }, EnqueueAfterFunc: func(namespace string, name string, after time.Duration) { panic("mock out the EnqueueAfter method") }, GenericFunc: func() controller.GenericController { panic("mock out the Generic method") }, InformerFunc: func() cache.SharedIndexInformer { panic("mock out the Informer method") }, ListerFunc: func() v1a.EndpointsLister { panic("mock out the Lister method") }, StartFunc: func(ctx context.Context, threadiness int) error { panic("mock out the Start method") }, SyncFunc: func(ctx context.Context) error { panic("mock out the Sync method") }, } // use mockedEndpointsController in code that requires EndpointsController // and then make assertions. }
func (*EndpointsControllerMock) AddClusterScopedFeatureHandler ¶
func (mock *EndpointsControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.EndpointsHandlerFunc)
AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.
func (*EndpointsControllerMock) AddClusterScopedFeatureHandlerCalls ¶
func (mock *EndpointsControllerMock) AddClusterScopedFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string ClusterName string Handler v1a.EndpointsHandlerFunc }
AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:
len(mockedEndpointsController.AddClusterScopedFeatureHandlerCalls())
func (*EndpointsControllerMock) AddClusterScopedHandler ¶
func (mock *EndpointsControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v1a.EndpointsHandlerFunc)
AddClusterScopedHandler calls AddClusterScopedHandlerFunc.
func (*EndpointsControllerMock) AddClusterScopedHandlerCalls ¶
func (mock *EndpointsControllerMock) AddClusterScopedHandlerCalls() []struct { Ctx context.Context Name string ClusterName string Handler v1a.EndpointsHandlerFunc }
AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:
len(mockedEndpointsController.AddClusterScopedHandlerCalls())
func (*EndpointsControllerMock) AddFeatureHandler ¶
func (mock *EndpointsControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v1a.EndpointsHandlerFunc)
AddFeatureHandler calls AddFeatureHandlerFunc.
func (*EndpointsControllerMock) AddFeatureHandlerCalls ¶
func (mock *EndpointsControllerMock) AddFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string Sync v1a.EndpointsHandlerFunc }
AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:
len(mockedEndpointsController.AddFeatureHandlerCalls())
func (*EndpointsControllerMock) AddHandler ¶
func (mock *EndpointsControllerMock) AddHandler(ctx context.Context, name string, handler v1a.EndpointsHandlerFunc)
AddHandler calls AddHandlerFunc.
func (*EndpointsControllerMock) AddHandlerCalls ¶
func (mock *EndpointsControllerMock) AddHandlerCalls() []struct { Ctx context.Context Name string Handler v1a.EndpointsHandlerFunc }
AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:
len(mockedEndpointsController.AddHandlerCalls())
func (*EndpointsControllerMock) Enqueue ¶
func (mock *EndpointsControllerMock) Enqueue(namespace string, name string)
Enqueue calls EnqueueFunc.
func (*EndpointsControllerMock) EnqueueAfter ¶
func (mock *EndpointsControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)
EnqueueAfter calls EnqueueAfterFunc.
func (*EndpointsControllerMock) EnqueueAfterCalls ¶
func (mock *EndpointsControllerMock) EnqueueAfterCalls() []struct { Namespace string Name string After time.Duration }
EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:
len(mockedEndpointsController.EnqueueAfterCalls())
func (*EndpointsControllerMock) EnqueueCalls ¶
func (mock *EndpointsControllerMock) EnqueueCalls() []struct { Namespace string Name string }
EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:
len(mockedEndpointsController.EnqueueCalls())
func (*EndpointsControllerMock) Generic ¶
func (mock *EndpointsControllerMock) Generic() controller.GenericController
Generic calls GenericFunc.
func (*EndpointsControllerMock) GenericCalls ¶
func (mock *EndpointsControllerMock) GenericCalls() []struct { }
GenericCalls gets all the calls that were made to Generic. Check the length with:
len(mockedEndpointsController.GenericCalls())
func (*EndpointsControllerMock) Informer ¶
func (mock *EndpointsControllerMock) Informer() cache.SharedIndexInformer
Informer calls InformerFunc.
func (*EndpointsControllerMock) InformerCalls ¶
func (mock *EndpointsControllerMock) InformerCalls() []struct { }
InformerCalls gets all the calls that were made to Informer. Check the length with:
len(mockedEndpointsController.InformerCalls())
func (*EndpointsControllerMock) Lister ¶
func (mock *EndpointsControllerMock) Lister() v1a.EndpointsLister
Lister calls ListerFunc.
func (*EndpointsControllerMock) ListerCalls ¶
func (mock *EndpointsControllerMock) ListerCalls() []struct { }
ListerCalls gets all the calls that were made to Lister. Check the length with:
len(mockedEndpointsController.ListerCalls())
func (*EndpointsControllerMock) Start ¶
func (mock *EndpointsControllerMock) Start(ctx context.Context, threadiness int) error
Start calls StartFunc.
func (*EndpointsControllerMock) StartCalls ¶
func (mock *EndpointsControllerMock) StartCalls() []struct { Ctx context.Context Threadiness int }
StartCalls gets all the calls that were made to Start. Check the length with:
len(mockedEndpointsController.StartCalls())
func (*EndpointsControllerMock) Sync ¶
func (mock *EndpointsControllerMock) Sync(ctx context.Context) error
Sync calls SyncFunc.
func (*EndpointsControllerMock) SyncCalls ¶
func (mock *EndpointsControllerMock) SyncCalls() []struct { Ctx context.Context }
SyncCalls gets all the calls that were made to Sync. Check the length with:
len(mockedEndpointsController.SyncCalls())
type EndpointsGetterMock ¶
type EndpointsGetterMock struct { // EndpointsFunc mocks the Endpoints method. EndpointsFunc func(namespace string) v1a.EndpointsInterface // contains filtered or unexported fields }
EndpointsGetterMock is a mock implementation of EndpointsGetter.
func TestSomethingThatUsesEndpointsGetter(t *testing.T) { // make and configure a mocked EndpointsGetter mockedEndpointsGetter := &EndpointsGetterMock{ EndpointsFunc: func(namespace string) v1a.EndpointsInterface { panic("mock out the Endpoints method") }, } // use mockedEndpointsGetter in code that requires EndpointsGetter // and then make assertions. }
func (*EndpointsGetterMock) Endpoints ¶
func (mock *EndpointsGetterMock) Endpoints(namespace string) v1a.EndpointsInterface
Endpoints calls EndpointsFunc.
func (*EndpointsGetterMock) EndpointsCalls ¶
func (mock *EndpointsGetterMock) EndpointsCalls() []struct { Namespace string }
EndpointsCalls gets all the calls that were made to Endpoints. Check the length with:
len(mockedEndpointsGetter.EndpointsCalls())
type EndpointsInterfaceMock ¶
type EndpointsInterfaceMock struct { // AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method. AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.EndpointsHandlerFunc) // AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method. AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.EndpointsLifecycle) // AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method. AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v1a.EndpointsHandlerFunc) // AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method. AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v1a.EndpointsLifecycle) // AddFeatureHandlerFunc mocks the AddFeatureHandler method. AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v1a.EndpointsHandlerFunc) // AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method. AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v1a.EndpointsLifecycle) // AddHandlerFunc mocks the AddHandler method. AddHandlerFunc func(ctx context.Context, name string, sync v1a.EndpointsHandlerFunc) // AddLifecycleFunc mocks the AddLifecycle method. AddLifecycleFunc func(ctx context.Context, name string, lifecycle v1a.EndpointsLifecycle) // ControllerFunc mocks the Controller method. ControllerFunc func() v1a.EndpointsController // CreateFunc mocks the Create method. CreateFunc func(in1 *v1.Endpoints) (*v1.Endpoints, error) // DeleteFunc mocks the Delete method. DeleteFunc func(name string, options *v1b.DeleteOptions) error // DeleteCollectionFunc mocks the DeleteCollection method. DeleteCollectionFunc func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error // DeleteNamespacedFunc mocks the DeleteNamespaced method. DeleteNamespacedFunc func(namespace string, name string, options *v1b.DeleteOptions) error // GetFunc mocks the Get method. GetFunc func(name string, opts v1b.GetOptions) (*v1.Endpoints, error) // GetNamespacedFunc mocks the GetNamespaced method. GetNamespacedFunc func(namespace string, name string, opts v1b.GetOptions) (*v1.Endpoints, error) // ListFunc mocks the List method. ListFunc func(opts v1b.ListOptions) (*v1a.EndpointsList, error) // ListNamespacedFunc mocks the ListNamespaced method. ListNamespacedFunc func(namespace string, opts v1b.ListOptions) (*v1a.EndpointsList, error) // ObjectClientFunc mocks the ObjectClient method. ObjectClientFunc func() *objectclient.ObjectClient // UpdateFunc mocks the Update method. UpdateFunc func(in1 *v1.Endpoints) (*v1.Endpoints, error) // WatchFunc mocks the Watch method. WatchFunc func(opts v1b.ListOptions) (watch.Interface, error) // contains filtered or unexported fields }
EndpointsInterfaceMock is a mock implementation of EndpointsInterface.
func TestSomethingThatUsesEndpointsInterface(t *testing.T) { // make and configure a mocked EndpointsInterface mockedEndpointsInterface := &EndpointsInterfaceMock{ AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.EndpointsHandlerFunc) { panic("mock out the AddClusterScopedFeatureHandler method") }, AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.EndpointsLifecycle) { panic("mock out the AddClusterScopedFeatureLifecycle method") }, AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v1a.EndpointsHandlerFunc) { panic("mock out the AddClusterScopedHandler method") }, AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v1a.EndpointsLifecycle) { panic("mock out the AddClusterScopedLifecycle method") }, AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.EndpointsHandlerFunc) { panic("mock out the AddFeatureHandler method") }, AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v1a.EndpointsLifecycle) { panic("mock out the AddFeatureLifecycle method") }, AddHandlerFunc: func(ctx context.Context, name string, sync v1a.EndpointsHandlerFunc) { panic("mock out the AddHandler method") }, AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v1a.EndpointsLifecycle) { panic("mock out the AddLifecycle method") }, ControllerFunc: func() v1a.EndpointsController { panic("mock out the Controller method") }, CreateFunc: func(in1 *v1.Endpoints) (*v1.Endpoints, error) { panic("mock out the Create method") }, DeleteFunc: func(name string, options *v1b.DeleteOptions) error { panic("mock out the Delete method") }, DeleteCollectionFunc: func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error { panic("mock out the DeleteCollection method") }, DeleteNamespacedFunc: func(namespace string, name string, options *v1b.DeleteOptions) error { panic("mock out the DeleteNamespaced method") }, GetFunc: func(name string, opts v1b.GetOptions) (*v1.Endpoints, error) { panic("mock out the Get method") }, GetNamespacedFunc: func(namespace string, name string, opts v1b.GetOptions) (*v1.Endpoints, error) { panic("mock out the GetNamespaced method") }, ListFunc: func(opts v1b.ListOptions) (*v1a.EndpointsList, error) { panic("mock out the List method") }, ListNamespacedFunc: func(namespace string, opts v1b.ListOptions) (*v1a.EndpointsList, error) { panic("mock out the ListNamespaced method") }, ObjectClientFunc: func() *objectclient.ObjectClient { panic("mock out the ObjectClient method") }, UpdateFunc: func(in1 *v1.Endpoints) (*v1.Endpoints, error) { panic("mock out the Update method") }, WatchFunc: func(opts v1b.ListOptions) (watch.Interface, error) { panic("mock out the Watch method") }, } // use mockedEndpointsInterface in code that requires EndpointsInterface // and then make assertions. }
func (*EndpointsInterfaceMock) AddClusterScopedFeatureHandler ¶
func (mock *EndpointsInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.EndpointsHandlerFunc)
AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.
func (*EndpointsInterfaceMock) AddClusterScopedFeatureHandlerCalls ¶
func (mock *EndpointsInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string ClusterName string Sync v1a.EndpointsHandlerFunc }
AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:
len(mockedEndpointsInterface.AddClusterScopedFeatureHandlerCalls())
func (*EndpointsInterfaceMock) AddClusterScopedFeatureLifecycle ¶
func (mock *EndpointsInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.EndpointsLifecycle)
AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.
func (*EndpointsInterfaceMock) AddClusterScopedFeatureLifecycleCalls ¶
func (mock *EndpointsInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct { Ctx context.Context Enabled func() bool Name string ClusterName string Lifecycle v1a.EndpointsLifecycle }
AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:
len(mockedEndpointsInterface.AddClusterScopedFeatureLifecycleCalls())
func (*EndpointsInterfaceMock) AddClusterScopedHandler ¶
func (mock *EndpointsInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.EndpointsHandlerFunc)
AddClusterScopedHandler calls AddClusterScopedHandlerFunc.
func (*EndpointsInterfaceMock) AddClusterScopedHandlerCalls ¶
func (mock *EndpointsInterfaceMock) AddClusterScopedHandlerCalls() []struct { Ctx context.Context Name string ClusterName string Sync v1a.EndpointsHandlerFunc }
AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:
len(mockedEndpointsInterface.AddClusterScopedHandlerCalls())
func (*EndpointsInterfaceMock) AddClusterScopedLifecycle ¶
func (mock *EndpointsInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v1a.EndpointsLifecycle)
AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.
func (*EndpointsInterfaceMock) AddClusterScopedLifecycleCalls ¶
func (mock *EndpointsInterfaceMock) AddClusterScopedLifecycleCalls() []struct { Ctx context.Context Name string ClusterName string Lifecycle v1a.EndpointsLifecycle }
AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:
len(mockedEndpointsInterface.AddClusterScopedLifecycleCalls())
func (*EndpointsInterfaceMock) AddFeatureHandler ¶
func (mock *EndpointsInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v1a.EndpointsHandlerFunc)
AddFeatureHandler calls AddFeatureHandlerFunc.
func (*EndpointsInterfaceMock) AddFeatureHandlerCalls ¶
func (mock *EndpointsInterfaceMock) AddFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string Sync v1a.EndpointsHandlerFunc }
AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:
len(mockedEndpointsInterface.AddFeatureHandlerCalls())
func (*EndpointsInterfaceMock) AddFeatureLifecycle ¶
func (mock *EndpointsInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v1a.EndpointsLifecycle)
AddFeatureLifecycle calls AddFeatureLifecycleFunc.
func (*EndpointsInterfaceMock) AddFeatureLifecycleCalls ¶
func (mock *EndpointsInterfaceMock) AddFeatureLifecycleCalls() []struct { Ctx context.Context Enabled func() bool Name string Lifecycle v1a.EndpointsLifecycle }
AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:
len(mockedEndpointsInterface.AddFeatureLifecycleCalls())
func (*EndpointsInterfaceMock) AddHandler ¶
func (mock *EndpointsInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.EndpointsHandlerFunc)
AddHandler calls AddHandlerFunc.
func (*EndpointsInterfaceMock) AddHandlerCalls ¶
func (mock *EndpointsInterfaceMock) AddHandlerCalls() []struct { Ctx context.Context Name string Sync v1a.EndpointsHandlerFunc }
AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:
len(mockedEndpointsInterface.AddHandlerCalls())
func (*EndpointsInterfaceMock) AddLifecycle ¶
func (mock *EndpointsInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.EndpointsLifecycle)
AddLifecycle calls AddLifecycleFunc.
func (*EndpointsInterfaceMock) AddLifecycleCalls ¶
func (mock *EndpointsInterfaceMock) AddLifecycleCalls() []struct { Ctx context.Context Name string Lifecycle v1a.EndpointsLifecycle }
AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:
len(mockedEndpointsInterface.AddLifecycleCalls())
func (*EndpointsInterfaceMock) Controller ¶
func (mock *EndpointsInterfaceMock) Controller() v1a.EndpointsController
Controller calls ControllerFunc.
func (*EndpointsInterfaceMock) ControllerCalls ¶
func (mock *EndpointsInterfaceMock) ControllerCalls() []struct { }
ControllerCalls gets all the calls that were made to Controller. Check the length with:
len(mockedEndpointsInterface.ControllerCalls())
func (*EndpointsInterfaceMock) CreateCalls ¶
func (mock *EndpointsInterfaceMock) CreateCalls() []struct { In1 *v1.Endpoints }
CreateCalls gets all the calls that were made to Create. Check the length with:
len(mockedEndpointsInterface.CreateCalls())
func (*EndpointsInterfaceMock) Delete ¶
func (mock *EndpointsInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error
Delete calls DeleteFunc.
func (*EndpointsInterfaceMock) DeleteCalls ¶
func (mock *EndpointsInterfaceMock) DeleteCalls() []struct { Name string Options *v1b.DeleteOptions }
DeleteCalls gets all the calls that were made to Delete. Check the length with:
len(mockedEndpointsInterface.DeleteCalls())
func (*EndpointsInterfaceMock) DeleteCollection ¶
func (mock *EndpointsInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error
DeleteCollection calls DeleteCollectionFunc.
func (*EndpointsInterfaceMock) DeleteCollectionCalls ¶
func (mock *EndpointsInterfaceMock) DeleteCollectionCalls() []struct { DeleteOpts *v1b.DeleteOptions ListOpts v1b.ListOptions }
DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:
len(mockedEndpointsInterface.DeleteCollectionCalls())
func (*EndpointsInterfaceMock) DeleteNamespaced ¶
func (mock *EndpointsInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error
DeleteNamespaced calls DeleteNamespacedFunc.
func (*EndpointsInterfaceMock) DeleteNamespacedCalls ¶
func (mock *EndpointsInterfaceMock) DeleteNamespacedCalls() []struct { Namespace string Name string Options *v1b.DeleteOptions }
DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:
len(mockedEndpointsInterface.DeleteNamespacedCalls())
func (*EndpointsInterfaceMock) Get ¶
func (mock *EndpointsInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.Endpoints, error)
Get calls GetFunc.
func (*EndpointsInterfaceMock) GetCalls ¶
func (mock *EndpointsInterfaceMock) GetCalls() []struct { Name string Opts v1b.GetOptions }
GetCalls gets all the calls that were made to Get. Check the length with:
len(mockedEndpointsInterface.GetCalls())
func (*EndpointsInterfaceMock) GetNamespaced ¶
func (mock *EndpointsInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.Endpoints, error)
GetNamespaced calls GetNamespacedFunc.
func (*EndpointsInterfaceMock) GetNamespacedCalls ¶
func (mock *EndpointsInterfaceMock) GetNamespacedCalls() []struct { Namespace string Name string Opts v1b.GetOptions }
GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:
len(mockedEndpointsInterface.GetNamespacedCalls())
func (*EndpointsInterfaceMock) List ¶
func (mock *EndpointsInterfaceMock) List(opts v1b.ListOptions) (*v1a.EndpointsList, error)
List calls ListFunc.
func (*EndpointsInterfaceMock) ListCalls ¶
func (mock *EndpointsInterfaceMock) ListCalls() []struct { Opts v1b.ListOptions }
ListCalls gets all the calls that were made to List. Check the length with:
len(mockedEndpointsInterface.ListCalls())
func (*EndpointsInterfaceMock) ListNamespaced ¶
func (mock *EndpointsInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.EndpointsList, error)
ListNamespaced calls ListNamespacedFunc.
func (*EndpointsInterfaceMock) ListNamespacedCalls ¶
func (mock *EndpointsInterfaceMock) ListNamespacedCalls() []struct { Namespace string Opts v1b.ListOptions }
ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:
len(mockedEndpointsInterface.ListNamespacedCalls())
func (*EndpointsInterfaceMock) ObjectClient ¶
func (mock *EndpointsInterfaceMock) ObjectClient() *objectclient.ObjectClient
ObjectClient calls ObjectClientFunc.
func (*EndpointsInterfaceMock) ObjectClientCalls ¶
func (mock *EndpointsInterfaceMock) ObjectClientCalls() []struct { }
ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:
len(mockedEndpointsInterface.ObjectClientCalls())
func (*EndpointsInterfaceMock) UpdateCalls ¶
func (mock *EndpointsInterfaceMock) UpdateCalls() []struct { In1 *v1.Endpoints }
UpdateCalls gets all the calls that were made to Update. Check the length with:
len(mockedEndpointsInterface.UpdateCalls())
func (*EndpointsInterfaceMock) Watch ¶
func (mock *EndpointsInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)
Watch calls WatchFunc.
func (*EndpointsInterfaceMock) WatchCalls ¶
func (mock *EndpointsInterfaceMock) WatchCalls() []struct { Opts v1b.ListOptions }
WatchCalls gets all the calls that were made to Watch. Check the length with:
len(mockedEndpointsInterface.WatchCalls())
type EndpointsListerMock ¶
type EndpointsListerMock struct { // GetFunc mocks the Get method. GetFunc func(namespace string, name string) (*v1.Endpoints, error) // ListFunc mocks the List method. ListFunc func(namespace string, selector labels.Selector) ([]*v1.Endpoints, error) // contains filtered or unexported fields }
EndpointsListerMock is a mock implementation of EndpointsLister.
func TestSomethingThatUsesEndpointsLister(t *testing.T) { // make and configure a mocked EndpointsLister mockedEndpointsLister := &EndpointsListerMock{ GetFunc: func(namespace string, name string) (*v1.Endpoints, error) { panic("mock out the Get method") }, ListFunc: func(namespace string, selector labels.Selector) ([]*v1.Endpoints, error) { panic("mock out the List method") }, } // use mockedEndpointsLister in code that requires EndpointsLister // and then make assertions. }
func (*EndpointsListerMock) GetCalls ¶
func (mock *EndpointsListerMock) GetCalls() []struct { Namespace string Name string }
GetCalls gets all the calls that were made to Get. Check the length with:
len(mockedEndpointsLister.GetCalls())
type EventControllerMock ¶
type EventControllerMock struct { // AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method. AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.EventHandlerFunc) // AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method. AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.EventHandlerFunc) // AddFeatureHandlerFunc mocks the AddFeatureHandler method. AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v1a.EventHandlerFunc) // AddHandlerFunc mocks the AddHandler method. AddHandlerFunc func(ctx context.Context, name string, handler v1a.EventHandlerFunc) // EnqueueFunc mocks the Enqueue method. EnqueueFunc func(namespace string, name string) // EnqueueAfterFunc mocks the EnqueueAfter method. EnqueueAfterFunc func(namespace string, name string, after time.Duration) // GenericFunc mocks the Generic method. GenericFunc func() controller.GenericController // InformerFunc mocks the Informer method. InformerFunc func() cache.SharedIndexInformer // ListerFunc mocks the Lister method. ListerFunc func() v1a.EventLister // StartFunc mocks the Start method. StartFunc func(ctx context.Context, threadiness int) error // SyncFunc mocks the Sync method. SyncFunc func(ctx context.Context) error // contains filtered or unexported fields }
EventControllerMock is a mock implementation of EventController.
func TestSomethingThatUsesEventController(t *testing.T) { // make and configure a mocked EventController mockedEventController := &EventControllerMock{ AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.EventHandlerFunc) { panic("mock out the AddClusterScopedFeatureHandler method") }, AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.EventHandlerFunc) { panic("mock out the AddClusterScopedHandler method") }, AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.EventHandlerFunc) { panic("mock out the AddFeatureHandler method") }, AddHandlerFunc: func(ctx context.Context, name string, handler v1a.EventHandlerFunc) { panic("mock out the AddHandler method") }, EnqueueFunc: func(namespace string, name string) { panic("mock out the Enqueue method") }, EnqueueAfterFunc: func(namespace string, name string, after time.Duration) { panic("mock out the EnqueueAfter method") }, GenericFunc: func() controller.GenericController { panic("mock out the Generic method") }, InformerFunc: func() cache.SharedIndexInformer { panic("mock out the Informer method") }, ListerFunc: func() v1a.EventLister { panic("mock out the Lister method") }, StartFunc: func(ctx context.Context, threadiness int) error { panic("mock out the Start method") }, SyncFunc: func(ctx context.Context) error { panic("mock out the Sync method") }, } // use mockedEventController in code that requires EventController // and then make assertions. }
func (*EventControllerMock) AddClusterScopedFeatureHandler ¶
func (mock *EventControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.EventHandlerFunc)
AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.
func (*EventControllerMock) AddClusterScopedFeatureHandlerCalls ¶
func (mock *EventControllerMock) AddClusterScopedFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string ClusterName string Handler v1a.EventHandlerFunc }
AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:
len(mockedEventController.AddClusterScopedFeatureHandlerCalls())
func (*EventControllerMock) AddClusterScopedHandler ¶
func (mock *EventControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v1a.EventHandlerFunc)
AddClusterScopedHandler calls AddClusterScopedHandlerFunc.
func (*EventControllerMock) AddClusterScopedHandlerCalls ¶
func (mock *EventControllerMock) AddClusterScopedHandlerCalls() []struct { Ctx context.Context Name string ClusterName string Handler v1a.EventHandlerFunc }
AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:
len(mockedEventController.AddClusterScopedHandlerCalls())
func (*EventControllerMock) AddFeatureHandler ¶
func (mock *EventControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v1a.EventHandlerFunc)
AddFeatureHandler calls AddFeatureHandlerFunc.
func (*EventControllerMock) AddFeatureHandlerCalls ¶
func (mock *EventControllerMock) AddFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string Sync v1a.EventHandlerFunc }
AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:
len(mockedEventController.AddFeatureHandlerCalls())
func (*EventControllerMock) AddHandler ¶
func (mock *EventControllerMock) AddHandler(ctx context.Context, name string, handler v1a.EventHandlerFunc)
AddHandler calls AddHandlerFunc.
func (*EventControllerMock) AddHandlerCalls ¶
func (mock *EventControllerMock) AddHandlerCalls() []struct { Ctx context.Context Name string Handler v1a.EventHandlerFunc }
AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:
len(mockedEventController.AddHandlerCalls())
func (*EventControllerMock) Enqueue ¶
func (mock *EventControllerMock) Enqueue(namespace string, name string)
Enqueue calls EnqueueFunc.
func (*EventControllerMock) EnqueueAfter ¶
func (mock *EventControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)
EnqueueAfter calls EnqueueAfterFunc.
func (*EventControllerMock) EnqueueAfterCalls ¶
func (mock *EventControllerMock) EnqueueAfterCalls() []struct { Namespace string Name string After time.Duration }
EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:
len(mockedEventController.EnqueueAfterCalls())
func (*EventControllerMock) EnqueueCalls ¶
func (mock *EventControllerMock) EnqueueCalls() []struct { Namespace string Name string }
EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:
len(mockedEventController.EnqueueCalls())
func (*EventControllerMock) Generic ¶
func (mock *EventControllerMock) Generic() controller.GenericController
Generic calls GenericFunc.
func (*EventControllerMock) GenericCalls ¶
func (mock *EventControllerMock) GenericCalls() []struct { }
GenericCalls gets all the calls that were made to Generic. Check the length with:
len(mockedEventController.GenericCalls())
func (*EventControllerMock) Informer ¶
func (mock *EventControllerMock) Informer() cache.SharedIndexInformer
Informer calls InformerFunc.
func (*EventControllerMock) InformerCalls ¶
func (mock *EventControllerMock) InformerCalls() []struct { }
InformerCalls gets all the calls that were made to Informer. Check the length with:
len(mockedEventController.InformerCalls())
func (*EventControllerMock) Lister ¶
func (mock *EventControllerMock) Lister() v1a.EventLister
Lister calls ListerFunc.
func (*EventControllerMock) ListerCalls ¶
func (mock *EventControllerMock) ListerCalls() []struct { }
ListerCalls gets all the calls that were made to Lister. Check the length with:
len(mockedEventController.ListerCalls())
func (*EventControllerMock) Start ¶
func (mock *EventControllerMock) Start(ctx context.Context, threadiness int) error
Start calls StartFunc.
func (*EventControllerMock) StartCalls ¶
func (mock *EventControllerMock) StartCalls() []struct { Ctx context.Context Threadiness int }
StartCalls gets all the calls that were made to Start. Check the length with:
len(mockedEventController.StartCalls())
func (*EventControllerMock) Sync ¶
func (mock *EventControllerMock) Sync(ctx context.Context) error
Sync calls SyncFunc.
func (*EventControllerMock) SyncCalls ¶
func (mock *EventControllerMock) SyncCalls() []struct { Ctx context.Context }
SyncCalls gets all the calls that were made to Sync. Check the length with:
len(mockedEventController.SyncCalls())
type EventInterfaceMock ¶
type EventInterfaceMock struct { // AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method. AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.EventHandlerFunc) // AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method. AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.EventLifecycle) // AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method. AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v1a.EventHandlerFunc) // AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method. AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v1a.EventLifecycle) // AddFeatureHandlerFunc mocks the AddFeatureHandler method. AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v1a.EventHandlerFunc) // AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method. AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v1a.EventLifecycle) // AddHandlerFunc mocks the AddHandler method. AddHandlerFunc func(ctx context.Context, name string, sync v1a.EventHandlerFunc) // AddLifecycleFunc mocks the AddLifecycle method. AddLifecycleFunc func(ctx context.Context, name string, lifecycle v1a.EventLifecycle) // ControllerFunc mocks the Controller method. ControllerFunc func() v1a.EventController // CreateFunc mocks the Create method. CreateFunc func(in1 *v1.Event) (*v1.Event, error) // DeleteFunc mocks the Delete method. DeleteFunc func(name string, options *v1b.DeleteOptions) error // DeleteCollectionFunc mocks the DeleteCollection method. DeleteCollectionFunc func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error // DeleteNamespacedFunc mocks the DeleteNamespaced method. DeleteNamespacedFunc func(namespace string, name string, options *v1b.DeleteOptions) error // GetFunc mocks the Get method. GetFunc func(name string, opts v1b.GetOptions) (*v1.Event, error) // GetNamespacedFunc mocks the GetNamespaced method. GetNamespacedFunc func(namespace string, name string, opts v1b.GetOptions) (*v1.Event, error) // ListFunc mocks the List method. ListFunc func(opts v1b.ListOptions) (*v1a.EventList, error) // ListNamespacedFunc mocks the ListNamespaced method. ListNamespacedFunc func(namespace string, opts v1b.ListOptions) (*v1a.EventList, error) // ObjectClientFunc mocks the ObjectClient method. ObjectClientFunc func() *objectclient.ObjectClient // UpdateFunc mocks the Update method. UpdateFunc func(in1 *v1.Event) (*v1.Event, error) // WatchFunc mocks the Watch method. WatchFunc func(opts v1b.ListOptions) (watch.Interface, error) // contains filtered or unexported fields }
EventInterfaceMock is a mock implementation of EventInterface.
func TestSomethingThatUsesEventInterface(t *testing.T) { // make and configure a mocked EventInterface mockedEventInterface := &EventInterfaceMock{ AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.EventHandlerFunc) { panic("mock out the AddClusterScopedFeatureHandler method") }, AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.EventLifecycle) { panic("mock out the AddClusterScopedFeatureLifecycle method") }, AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v1a.EventHandlerFunc) { panic("mock out the AddClusterScopedHandler method") }, AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v1a.EventLifecycle) { panic("mock out the AddClusterScopedLifecycle method") }, AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.EventHandlerFunc) { panic("mock out the AddFeatureHandler method") }, AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v1a.EventLifecycle) { panic("mock out the AddFeatureLifecycle method") }, AddHandlerFunc: func(ctx context.Context, name string, sync v1a.EventHandlerFunc) { panic("mock out the AddHandler method") }, AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v1a.EventLifecycle) { panic("mock out the AddLifecycle method") }, ControllerFunc: func() v1a.EventController { panic("mock out the Controller method") }, CreateFunc: func(in1 *v1.Event) (*v1.Event, error) { panic("mock out the Create method") }, DeleteFunc: func(name string, options *v1b.DeleteOptions) error { panic("mock out the Delete method") }, DeleteCollectionFunc: func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error { panic("mock out the DeleteCollection method") }, DeleteNamespacedFunc: func(namespace string, name string, options *v1b.DeleteOptions) error { panic("mock out the DeleteNamespaced method") }, GetFunc: func(name string, opts v1b.GetOptions) (*v1.Event, error) { panic("mock out the Get method") }, GetNamespacedFunc: func(namespace string, name string, opts v1b.GetOptions) (*v1.Event, error) { panic("mock out the GetNamespaced method") }, ListFunc: func(opts v1b.ListOptions) (*v1a.EventList, error) { panic("mock out the List method") }, ListNamespacedFunc: func(namespace string, opts v1b.ListOptions) (*v1a.EventList, error) { panic("mock out the ListNamespaced method") }, ObjectClientFunc: func() *objectclient.ObjectClient { panic("mock out the ObjectClient method") }, UpdateFunc: func(in1 *v1.Event) (*v1.Event, error) { panic("mock out the Update method") }, WatchFunc: func(opts v1b.ListOptions) (watch.Interface, error) { panic("mock out the Watch method") }, } // use mockedEventInterface in code that requires EventInterface // and then make assertions. }
func (*EventInterfaceMock) AddClusterScopedFeatureHandler ¶
func (mock *EventInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.EventHandlerFunc)
AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.
func (*EventInterfaceMock) AddClusterScopedFeatureHandlerCalls ¶
func (mock *EventInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string ClusterName string Sync v1a.EventHandlerFunc }
AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:
len(mockedEventInterface.AddClusterScopedFeatureHandlerCalls())
func (*EventInterfaceMock) AddClusterScopedFeatureLifecycle ¶
func (mock *EventInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.EventLifecycle)
AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.
func (*EventInterfaceMock) AddClusterScopedFeatureLifecycleCalls ¶
func (mock *EventInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct { Ctx context.Context Enabled func() bool Name string ClusterName string Lifecycle v1a.EventLifecycle }
AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:
len(mockedEventInterface.AddClusterScopedFeatureLifecycleCalls())
func (*EventInterfaceMock) AddClusterScopedHandler ¶
func (mock *EventInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.EventHandlerFunc)
AddClusterScopedHandler calls AddClusterScopedHandlerFunc.
func (*EventInterfaceMock) AddClusterScopedHandlerCalls ¶
func (mock *EventInterfaceMock) AddClusterScopedHandlerCalls() []struct { Ctx context.Context Name string ClusterName string Sync v1a.EventHandlerFunc }
AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:
len(mockedEventInterface.AddClusterScopedHandlerCalls())
func (*EventInterfaceMock) AddClusterScopedLifecycle ¶
func (mock *EventInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v1a.EventLifecycle)
AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.
func (*EventInterfaceMock) AddClusterScopedLifecycleCalls ¶
func (mock *EventInterfaceMock) AddClusterScopedLifecycleCalls() []struct { Ctx context.Context Name string ClusterName string Lifecycle v1a.EventLifecycle }
AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:
len(mockedEventInterface.AddClusterScopedLifecycleCalls())
func (*EventInterfaceMock) AddFeatureHandler ¶
func (mock *EventInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v1a.EventHandlerFunc)
AddFeatureHandler calls AddFeatureHandlerFunc.
func (*EventInterfaceMock) AddFeatureHandlerCalls ¶
func (mock *EventInterfaceMock) AddFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string Sync v1a.EventHandlerFunc }
AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:
len(mockedEventInterface.AddFeatureHandlerCalls())
func (*EventInterfaceMock) AddFeatureLifecycle ¶
func (mock *EventInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v1a.EventLifecycle)
AddFeatureLifecycle calls AddFeatureLifecycleFunc.
func (*EventInterfaceMock) AddFeatureLifecycleCalls ¶
func (mock *EventInterfaceMock) AddFeatureLifecycleCalls() []struct { Ctx context.Context Enabled func() bool Name string Lifecycle v1a.EventLifecycle }
AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:
len(mockedEventInterface.AddFeatureLifecycleCalls())
func (*EventInterfaceMock) AddHandler ¶
func (mock *EventInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.EventHandlerFunc)
AddHandler calls AddHandlerFunc.
func (*EventInterfaceMock) AddHandlerCalls ¶
func (mock *EventInterfaceMock) AddHandlerCalls() []struct { Ctx context.Context Name string Sync v1a.EventHandlerFunc }
AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:
len(mockedEventInterface.AddHandlerCalls())
func (*EventInterfaceMock) AddLifecycle ¶
func (mock *EventInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.EventLifecycle)
AddLifecycle calls AddLifecycleFunc.
func (*EventInterfaceMock) AddLifecycleCalls ¶
func (mock *EventInterfaceMock) AddLifecycleCalls() []struct { Ctx context.Context Name string Lifecycle v1a.EventLifecycle }
AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:
len(mockedEventInterface.AddLifecycleCalls())
func (*EventInterfaceMock) Controller ¶
func (mock *EventInterfaceMock) Controller() v1a.EventController
Controller calls ControllerFunc.
func (*EventInterfaceMock) ControllerCalls ¶
func (mock *EventInterfaceMock) ControllerCalls() []struct { }
ControllerCalls gets all the calls that were made to Controller. Check the length with:
len(mockedEventInterface.ControllerCalls())
func (*EventInterfaceMock) CreateCalls ¶
func (mock *EventInterfaceMock) CreateCalls() []struct { In1 *v1.Event }
CreateCalls gets all the calls that were made to Create. Check the length with:
len(mockedEventInterface.CreateCalls())
func (*EventInterfaceMock) Delete ¶
func (mock *EventInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error
Delete calls DeleteFunc.
func (*EventInterfaceMock) DeleteCalls ¶
func (mock *EventInterfaceMock) DeleteCalls() []struct { Name string Options *v1b.DeleteOptions }
DeleteCalls gets all the calls that were made to Delete. Check the length with:
len(mockedEventInterface.DeleteCalls())
func (*EventInterfaceMock) DeleteCollection ¶
func (mock *EventInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error
DeleteCollection calls DeleteCollectionFunc.
func (*EventInterfaceMock) DeleteCollectionCalls ¶
func (mock *EventInterfaceMock) DeleteCollectionCalls() []struct { DeleteOpts *v1b.DeleteOptions ListOpts v1b.ListOptions }
DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:
len(mockedEventInterface.DeleteCollectionCalls())
func (*EventInterfaceMock) DeleteNamespaced ¶
func (mock *EventInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error
DeleteNamespaced calls DeleteNamespacedFunc.
func (*EventInterfaceMock) DeleteNamespacedCalls ¶
func (mock *EventInterfaceMock) DeleteNamespacedCalls() []struct { Namespace string Name string Options *v1b.DeleteOptions }
DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:
len(mockedEventInterface.DeleteNamespacedCalls())
func (*EventInterfaceMock) Get ¶
func (mock *EventInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.Event, error)
Get calls GetFunc.
func (*EventInterfaceMock) GetCalls ¶
func (mock *EventInterfaceMock) GetCalls() []struct { Name string Opts v1b.GetOptions }
GetCalls gets all the calls that were made to Get. Check the length with:
len(mockedEventInterface.GetCalls())
func (*EventInterfaceMock) GetNamespaced ¶
func (mock *EventInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.Event, error)
GetNamespaced calls GetNamespacedFunc.
func (*EventInterfaceMock) GetNamespacedCalls ¶
func (mock *EventInterfaceMock) GetNamespacedCalls() []struct { Namespace string Name string Opts v1b.GetOptions }
GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:
len(mockedEventInterface.GetNamespacedCalls())
func (*EventInterfaceMock) List ¶
func (mock *EventInterfaceMock) List(opts v1b.ListOptions) (*v1a.EventList, error)
List calls ListFunc.
func (*EventInterfaceMock) ListCalls ¶
func (mock *EventInterfaceMock) ListCalls() []struct { Opts v1b.ListOptions }
ListCalls gets all the calls that were made to List. Check the length with:
len(mockedEventInterface.ListCalls())
func (*EventInterfaceMock) ListNamespaced ¶
func (mock *EventInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.EventList, error)
ListNamespaced calls ListNamespacedFunc.
func (*EventInterfaceMock) ListNamespacedCalls ¶
func (mock *EventInterfaceMock) ListNamespacedCalls() []struct { Namespace string Opts v1b.ListOptions }
ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:
len(mockedEventInterface.ListNamespacedCalls())
func (*EventInterfaceMock) ObjectClient ¶
func (mock *EventInterfaceMock) ObjectClient() *objectclient.ObjectClient
ObjectClient calls ObjectClientFunc.
func (*EventInterfaceMock) ObjectClientCalls ¶
func (mock *EventInterfaceMock) ObjectClientCalls() []struct { }
ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:
len(mockedEventInterface.ObjectClientCalls())
func (*EventInterfaceMock) UpdateCalls ¶
func (mock *EventInterfaceMock) UpdateCalls() []struct { In1 *v1.Event }
UpdateCalls gets all the calls that were made to Update. Check the length with:
len(mockedEventInterface.UpdateCalls())
func (*EventInterfaceMock) Watch ¶
func (mock *EventInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)
Watch calls WatchFunc.
func (*EventInterfaceMock) WatchCalls ¶
func (mock *EventInterfaceMock) WatchCalls() []struct { Opts v1b.ListOptions }
WatchCalls gets all the calls that were made to Watch. Check the length with:
len(mockedEventInterface.WatchCalls())
type EventListerMock ¶
type EventListerMock struct { // GetFunc mocks the Get method. GetFunc func(namespace string, name string) (*v1.Event, error) // ListFunc mocks the List method. ListFunc func(namespace string, selector labels.Selector) ([]*v1.Event, error) // contains filtered or unexported fields }
EventListerMock is a mock implementation of EventLister.
func TestSomethingThatUsesEventLister(t *testing.T) { // make and configure a mocked EventLister mockedEventLister := &EventListerMock{ GetFunc: func(namespace string, name string) (*v1.Event, error) { panic("mock out the Get method") }, ListFunc: func(namespace string, selector labels.Selector) ([]*v1.Event, error) { panic("mock out the List method") }, } // use mockedEventLister in code that requires EventLister // and then make assertions. }
func (*EventListerMock) GetCalls ¶
func (mock *EventListerMock) GetCalls() []struct { Namespace string Name string }
GetCalls gets all the calls that were made to Get. Check the length with:
len(mockedEventLister.GetCalls())
type EventsGetterMock ¶
type EventsGetterMock struct { // EventsFunc mocks the Events method. EventsFunc func(namespace string) v1a.EventInterface // contains filtered or unexported fields }
EventsGetterMock is a mock implementation of EventsGetter.
func TestSomethingThatUsesEventsGetter(t *testing.T) { // make and configure a mocked EventsGetter mockedEventsGetter := &EventsGetterMock{ EventsFunc: func(namespace string) v1a.EventInterface { panic("mock out the Events method") }, } // use mockedEventsGetter in code that requires EventsGetter // and then make assertions. }
func (*EventsGetterMock) Events ¶
func (mock *EventsGetterMock) Events(namespace string) v1a.EventInterface
Events calls EventsFunc.
func (*EventsGetterMock) EventsCalls ¶
func (mock *EventsGetterMock) EventsCalls() []struct { Namespace string }
EventsCalls gets all the calls that were made to Events. Check the length with:
len(mockedEventsGetter.EventsCalls())
type LimitRangeControllerMock ¶
type LimitRangeControllerMock struct { // AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method. AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.LimitRangeHandlerFunc) // AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method. AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.LimitRangeHandlerFunc) // AddFeatureHandlerFunc mocks the AddFeatureHandler method. AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v1a.LimitRangeHandlerFunc) // AddHandlerFunc mocks the AddHandler method. AddHandlerFunc func(ctx context.Context, name string, handler v1a.LimitRangeHandlerFunc) // EnqueueFunc mocks the Enqueue method. EnqueueFunc func(namespace string, name string) // EnqueueAfterFunc mocks the EnqueueAfter method. EnqueueAfterFunc func(namespace string, name string, after time.Duration) // GenericFunc mocks the Generic method. GenericFunc func() controller.GenericController // InformerFunc mocks the Informer method. InformerFunc func() cache.SharedIndexInformer // ListerFunc mocks the Lister method. ListerFunc func() v1a.LimitRangeLister // StartFunc mocks the Start method. StartFunc func(ctx context.Context, threadiness int) error // SyncFunc mocks the Sync method. SyncFunc func(ctx context.Context) error // contains filtered or unexported fields }
LimitRangeControllerMock is a mock implementation of LimitRangeController.
func TestSomethingThatUsesLimitRangeController(t *testing.T) { // make and configure a mocked LimitRangeController mockedLimitRangeController := &LimitRangeControllerMock{ AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.LimitRangeHandlerFunc) { panic("mock out the AddClusterScopedFeatureHandler method") }, AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, handler v1a.LimitRangeHandlerFunc) { panic("mock out the AddClusterScopedHandler method") }, AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.LimitRangeHandlerFunc) { panic("mock out the AddFeatureHandler method") }, AddHandlerFunc: func(ctx context.Context, name string, handler v1a.LimitRangeHandlerFunc) { panic("mock out the AddHandler method") }, EnqueueFunc: func(namespace string, name string) { panic("mock out the Enqueue method") }, EnqueueAfterFunc: func(namespace string, name string, after time.Duration) { panic("mock out the EnqueueAfter method") }, GenericFunc: func() controller.GenericController { panic("mock out the Generic method") }, InformerFunc: func() cache.SharedIndexInformer { panic("mock out the Informer method") }, ListerFunc: func() v1a.LimitRangeLister { panic("mock out the Lister method") }, StartFunc: func(ctx context.Context, threadiness int) error { panic("mock out the Start method") }, SyncFunc: func(ctx context.Context) error { panic("mock out the Sync method") }, } // use mockedLimitRangeController in code that requires LimitRangeController // and then make assertions. }
func (*LimitRangeControllerMock) AddClusterScopedFeatureHandler ¶
func (mock *LimitRangeControllerMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.LimitRangeHandlerFunc)
AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.
func (*LimitRangeControllerMock) AddClusterScopedFeatureHandlerCalls ¶
func (mock *LimitRangeControllerMock) AddClusterScopedFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string ClusterName string Handler v1a.LimitRangeHandlerFunc }
AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:
len(mockedLimitRangeController.AddClusterScopedFeatureHandlerCalls())
func (*LimitRangeControllerMock) AddClusterScopedHandler ¶
func (mock *LimitRangeControllerMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, handler v1a.LimitRangeHandlerFunc)
AddClusterScopedHandler calls AddClusterScopedHandlerFunc.
func (*LimitRangeControllerMock) AddClusterScopedHandlerCalls ¶
func (mock *LimitRangeControllerMock) AddClusterScopedHandlerCalls() []struct { Ctx context.Context Name string ClusterName string Handler v1a.LimitRangeHandlerFunc }
AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:
len(mockedLimitRangeController.AddClusterScopedHandlerCalls())
func (*LimitRangeControllerMock) AddFeatureHandler ¶
func (mock *LimitRangeControllerMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v1a.LimitRangeHandlerFunc)
AddFeatureHandler calls AddFeatureHandlerFunc.
func (*LimitRangeControllerMock) AddFeatureHandlerCalls ¶
func (mock *LimitRangeControllerMock) AddFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string Sync v1a.LimitRangeHandlerFunc }
AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:
len(mockedLimitRangeController.AddFeatureHandlerCalls())
func (*LimitRangeControllerMock) AddHandler ¶
func (mock *LimitRangeControllerMock) AddHandler(ctx context.Context, name string, handler v1a.LimitRangeHandlerFunc)
AddHandler calls AddHandlerFunc.
func (*LimitRangeControllerMock) AddHandlerCalls ¶
func (mock *LimitRangeControllerMock) AddHandlerCalls() []struct { Ctx context.Context Name string Handler v1a.LimitRangeHandlerFunc }
AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:
len(mockedLimitRangeController.AddHandlerCalls())
func (*LimitRangeControllerMock) Enqueue ¶
func (mock *LimitRangeControllerMock) Enqueue(namespace string, name string)
Enqueue calls EnqueueFunc.
func (*LimitRangeControllerMock) EnqueueAfter ¶
func (mock *LimitRangeControllerMock) EnqueueAfter(namespace string, name string, after time.Duration)
EnqueueAfter calls EnqueueAfterFunc.
func (*LimitRangeControllerMock) EnqueueAfterCalls ¶
func (mock *LimitRangeControllerMock) EnqueueAfterCalls() []struct { Namespace string Name string After time.Duration }
EnqueueAfterCalls gets all the calls that were made to EnqueueAfter. Check the length with:
len(mockedLimitRangeController.EnqueueAfterCalls())
func (*LimitRangeControllerMock) EnqueueCalls ¶
func (mock *LimitRangeControllerMock) EnqueueCalls() []struct { Namespace string Name string }
EnqueueCalls gets all the calls that were made to Enqueue. Check the length with:
len(mockedLimitRangeController.EnqueueCalls())
func (*LimitRangeControllerMock) Generic ¶
func (mock *LimitRangeControllerMock) Generic() controller.GenericController
Generic calls GenericFunc.
func (*LimitRangeControllerMock) GenericCalls ¶
func (mock *LimitRangeControllerMock) GenericCalls() []struct { }
GenericCalls gets all the calls that were made to Generic. Check the length with:
len(mockedLimitRangeController.GenericCalls())
func (*LimitRangeControllerMock) Informer ¶
func (mock *LimitRangeControllerMock) Informer() cache.SharedIndexInformer
Informer calls InformerFunc.
func (*LimitRangeControllerMock) InformerCalls ¶
func (mock *LimitRangeControllerMock) InformerCalls() []struct { }
InformerCalls gets all the calls that were made to Informer. Check the length with:
len(mockedLimitRangeController.InformerCalls())
func (*LimitRangeControllerMock) Lister ¶
func (mock *LimitRangeControllerMock) Lister() v1a.LimitRangeLister
Lister calls ListerFunc.
func (*LimitRangeControllerMock) ListerCalls ¶
func (mock *LimitRangeControllerMock) ListerCalls() []struct { }
ListerCalls gets all the calls that were made to Lister. Check the length with:
len(mockedLimitRangeController.ListerCalls())
func (*LimitRangeControllerMock) Start ¶
func (mock *LimitRangeControllerMock) Start(ctx context.Context, threadiness int) error
Start calls StartFunc.
func (*LimitRangeControllerMock) StartCalls ¶
func (mock *LimitRangeControllerMock) StartCalls() []struct { Ctx context.Context Threadiness int }
StartCalls gets all the calls that were made to Start. Check the length with:
len(mockedLimitRangeController.StartCalls())
func (*LimitRangeControllerMock) Sync ¶
func (mock *LimitRangeControllerMock) Sync(ctx context.Context) error
Sync calls SyncFunc.
func (*LimitRangeControllerMock) SyncCalls ¶
func (mock *LimitRangeControllerMock) SyncCalls() []struct { Ctx context.Context }
SyncCalls gets all the calls that were made to Sync. Check the length with:
len(mockedLimitRangeController.SyncCalls())
type LimitRangeInterfaceMock ¶
type LimitRangeInterfaceMock struct { // AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method. AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.LimitRangeHandlerFunc) // AddClusterScopedFeatureLifecycleFunc mocks the AddClusterScopedFeatureLifecycle method. AddClusterScopedFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.LimitRangeLifecycle) // AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method. AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, sync v1a.LimitRangeHandlerFunc) // AddClusterScopedLifecycleFunc mocks the AddClusterScopedLifecycle method. AddClusterScopedLifecycleFunc func(ctx context.Context, name string, clusterName string, lifecycle v1a.LimitRangeLifecycle) // AddFeatureHandlerFunc mocks the AddFeatureHandler method. AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v1a.LimitRangeHandlerFunc) // AddFeatureLifecycleFunc mocks the AddFeatureLifecycle method. AddFeatureLifecycleFunc func(ctx context.Context, enabled func() bool, name string, lifecycle v1a.LimitRangeLifecycle) // AddHandlerFunc mocks the AddHandler method. AddHandlerFunc func(ctx context.Context, name string, sync v1a.LimitRangeHandlerFunc) // AddLifecycleFunc mocks the AddLifecycle method. AddLifecycleFunc func(ctx context.Context, name string, lifecycle v1a.LimitRangeLifecycle) // ControllerFunc mocks the Controller method. ControllerFunc func() v1a.LimitRangeController // CreateFunc mocks the Create method. CreateFunc func(in1 *v1.LimitRange) (*v1.LimitRange, error) // DeleteFunc mocks the Delete method. DeleteFunc func(name string, options *v1b.DeleteOptions) error // DeleteCollectionFunc mocks the DeleteCollection method. DeleteCollectionFunc func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error // DeleteNamespacedFunc mocks the DeleteNamespaced method. DeleteNamespacedFunc func(namespace string, name string, options *v1b.DeleteOptions) error // GetFunc mocks the Get method. GetFunc func(name string, opts v1b.GetOptions) (*v1.LimitRange, error) // GetNamespacedFunc mocks the GetNamespaced method. GetNamespacedFunc func(namespace string, name string, opts v1b.GetOptions) (*v1.LimitRange, error) // ListFunc mocks the List method. ListFunc func(opts v1b.ListOptions) (*v1a.LimitRangeList, error) // ListNamespacedFunc mocks the ListNamespaced method. ListNamespacedFunc func(namespace string, opts v1b.ListOptions) (*v1a.LimitRangeList, error) // ObjectClientFunc mocks the ObjectClient method. ObjectClientFunc func() *objectclient.ObjectClient // UpdateFunc mocks the Update method. UpdateFunc func(in1 *v1.LimitRange) (*v1.LimitRange, error) // WatchFunc mocks the Watch method. WatchFunc func(opts v1b.ListOptions) (watch.Interface, error) // contains filtered or unexported fields }
LimitRangeInterfaceMock is a mock implementation of LimitRangeInterface.
func TestSomethingThatUsesLimitRangeInterface(t *testing.T) { // make and configure a mocked LimitRangeInterface mockedLimitRangeInterface := &LimitRangeInterfaceMock{ AddClusterScopedFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.LimitRangeHandlerFunc) { panic("mock out the AddClusterScopedFeatureHandler method") }, AddClusterScopedFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.LimitRangeLifecycle) { panic("mock out the AddClusterScopedFeatureLifecycle method") }, AddClusterScopedHandlerFunc: func(ctx context.Context, name string, clusterName string, sync v1a.LimitRangeHandlerFunc) { panic("mock out the AddClusterScopedHandler method") }, AddClusterScopedLifecycleFunc: func(ctx context.Context, name string, clusterName string, lifecycle v1a.LimitRangeLifecycle) { panic("mock out the AddClusterScopedLifecycle method") }, AddFeatureHandlerFunc: func(ctx context.Context, enabled func() bool, name string, sync v1a.LimitRangeHandlerFunc) { panic("mock out the AddFeatureHandler method") }, AddFeatureLifecycleFunc: func(ctx context.Context, enabled func() bool, name string, lifecycle v1a.LimitRangeLifecycle) { panic("mock out the AddFeatureLifecycle method") }, AddHandlerFunc: func(ctx context.Context, name string, sync v1a.LimitRangeHandlerFunc) { panic("mock out the AddHandler method") }, AddLifecycleFunc: func(ctx context.Context, name string, lifecycle v1a.LimitRangeLifecycle) { panic("mock out the AddLifecycle method") }, ControllerFunc: func() v1a.LimitRangeController { panic("mock out the Controller method") }, CreateFunc: func(in1 *v1.LimitRange) (*v1.LimitRange, error) { panic("mock out the Create method") }, DeleteFunc: func(name string, options *v1b.DeleteOptions) error { panic("mock out the Delete method") }, DeleteCollectionFunc: func(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error { panic("mock out the DeleteCollection method") }, DeleteNamespacedFunc: func(namespace string, name string, options *v1b.DeleteOptions) error { panic("mock out the DeleteNamespaced method") }, GetFunc: func(name string, opts v1b.GetOptions) (*v1.LimitRange, error) { panic("mock out the Get method") }, GetNamespacedFunc: func(namespace string, name string, opts v1b.GetOptions) (*v1.LimitRange, error) { panic("mock out the GetNamespaced method") }, ListFunc: func(opts v1b.ListOptions) (*v1a.LimitRangeList, error) { panic("mock out the List method") }, ListNamespacedFunc: func(namespace string, opts v1b.ListOptions) (*v1a.LimitRangeList, error) { panic("mock out the ListNamespaced method") }, ObjectClientFunc: func() *objectclient.ObjectClient { panic("mock out the ObjectClient method") }, UpdateFunc: func(in1 *v1.LimitRange) (*v1.LimitRange, error) { panic("mock out the Update method") }, WatchFunc: func(opts v1b.ListOptions) (watch.Interface, error) { panic("mock out the Watch method") }, } // use mockedLimitRangeInterface in code that requires LimitRangeInterface // and then make assertions. }
func (*LimitRangeInterfaceMock) AddClusterScopedFeatureHandler ¶
func (mock *LimitRangeInterfaceMock) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name string, clusterName string, sync v1a.LimitRangeHandlerFunc)
AddClusterScopedFeatureHandler calls AddClusterScopedFeatureHandlerFunc.
func (*LimitRangeInterfaceMock) AddClusterScopedFeatureHandlerCalls ¶
func (mock *LimitRangeInterfaceMock) AddClusterScopedFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string ClusterName string Sync v1a.LimitRangeHandlerFunc }
AddClusterScopedFeatureHandlerCalls gets all the calls that were made to AddClusterScopedFeatureHandler. Check the length with:
len(mockedLimitRangeInterface.AddClusterScopedFeatureHandlerCalls())
func (*LimitRangeInterfaceMock) AddClusterScopedFeatureLifecycle ¶
func (mock *LimitRangeInterfaceMock) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name string, clusterName string, lifecycle v1a.LimitRangeLifecycle)
AddClusterScopedFeatureLifecycle calls AddClusterScopedFeatureLifecycleFunc.
func (*LimitRangeInterfaceMock) AddClusterScopedFeatureLifecycleCalls ¶
func (mock *LimitRangeInterfaceMock) AddClusterScopedFeatureLifecycleCalls() []struct { Ctx context.Context Enabled func() bool Name string ClusterName string Lifecycle v1a.LimitRangeLifecycle }
AddClusterScopedFeatureLifecycleCalls gets all the calls that were made to AddClusterScopedFeatureLifecycle. Check the length with:
len(mockedLimitRangeInterface.AddClusterScopedFeatureLifecycleCalls())
func (*LimitRangeInterfaceMock) AddClusterScopedHandler ¶
func (mock *LimitRangeInterfaceMock) AddClusterScopedHandler(ctx context.Context, name string, clusterName string, sync v1a.LimitRangeHandlerFunc)
AddClusterScopedHandler calls AddClusterScopedHandlerFunc.
func (*LimitRangeInterfaceMock) AddClusterScopedHandlerCalls ¶
func (mock *LimitRangeInterfaceMock) AddClusterScopedHandlerCalls() []struct { Ctx context.Context Name string ClusterName string Sync v1a.LimitRangeHandlerFunc }
AddClusterScopedHandlerCalls gets all the calls that were made to AddClusterScopedHandler. Check the length with:
len(mockedLimitRangeInterface.AddClusterScopedHandlerCalls())
func (*LimitRangeInterfaceMock) AddClusterScopedLifecycle ¶
func (mock *LimitRangeInterfaceMock) AddClusterScopedLifecycle(ctx context.Context, name string, clusterName string, lifecycle v1a.LimitRangeLifecycle)
AddClusterScopedLifecycle calls AddClusterScopedLifecycleFunc.
func (*LimitRangeInterfaceMock) AddClusterScopedLifecycleCalls ¶
func (mock *LimitRangeInterfaceMock) AddClusterScopedLifecycleCalls() []struct { Ctx context.Context Name string ClusterName string Lifecycle v1a.LimitRangeLifecycle }
AddClusterScopedLifecycleCalls gets all the calls that were made to AddClusterScopedLifecycle. Check the length with:
len(mockedLimitRangeInterface.AddClusterScopedLifecycleCalls())
func (*LimitRangeInterfaceMock) AddFeatureHandler ¶
func (mock *LimitRangeInterfaceMock) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync v1a.LimitRangeHandlerFunc)
AddFeatureHandler calls AddFeatureHandlerFunc.
func (*LimitRangeInterfaceMock) AddFeatureHandlerCalls ¶
func (mock *LimitRangeInterfaceMock) AddFeatureHandlerCalls() []struct { Ctx context.Context Enabled func() bool Name string Sync v1a.LimitRangeHandlerFunc }
AddFeatureHandlerCalls gets all the calls that were made to AddFeatureHandler. Check the length with:
len(mockedLimitRangeInterface.AddFeatureHandlerCalls())
func (*LimitRangeInterfaceMock) AddFeatureLifecycle ¶
func (mock *LimitRangeInterfaceMock) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle v1a.LimitRangeLifecycle)
AddFeatureLifecycle calls AddFeatureLifecycleFunc.
func (*LimitRangeInterfaceMock) AddFeatureLifecycleCalls ¶
func (mock *LimitRangeInterfaceMock) AddFeatureLifecycleCalls() []struct { Ctx context.Context Enabled func() bool Name string Lifecycle v1a.LimitRangeLifecycle }
AddFeatureLifecycleCalls gets all the calls that were made to AddFeatureLifecycle. Check the length with:
len(mockedLimitRangeInterface.AddFeatureLifecycleCalls())
func (*LimitRangeInterfaceMock) AddHandler ¶
func (mock *LimitRangeInterfaceMock) AddHandler(ctx context.Context, name string, sync v1a.LimitRangeHandlerFunc)
AddHandler calls AddHandlerFunc.
func (*LimitRangeInterfaceMock) AddHandlerCalls ¶
func (mock *LimitRangeInterfaceMock) AddHandlerCalls() []struct { Ctx context.Context Name string Sync v1a.LimitRangeHandlerFunc }
AddHandlerCalls gets all the calls that were made to AddHandler. Check the length with:
len(mockedLimitRangeInterface.AddHandlerCalls())
func (*LimitRangeInterfaceMock) AddLifecycle ¶
func (mock *LimitRangeInterfaceMock) AddLifecycle(ctx context.Context, name string, lifecycle v1a.LimitRangeLifecycle)
AddLifecycle calls AddLifecycleFunc.
func (*LimitRangeInterfaceMock) AddLifecycleCalls ¶
func (mock *LimitRangeInterfaceMock) AddLifecycleCalls() []struct { Ctx context.Context Name string Lifecycle v1a.LimitRangeLifecycle }
AddLifecycleCalls gets all the calls that were made to AddLifecycle. Check the length with:
len(mockedLimitRangeInterface.AddLifecycleCalls())
func (*LimitRangeInterfaceMock) Controller ¶
func (mock *LimitRangeInterfaceMock) Controller() v1a.LimitRangeController
Controller calls ControllerFunc.
func (*LimitRangeInterfaceMock) ControllerCalls ¶
func (mock *LimitRangeInterfaceMock) ControllerCalls() []struct { }
ControllerCalls gets all the calls that were made to Controller. Check the length with:
len(mockedLimitRangeInterface.ControllerCalls())
func (*LimitRangeInterfaceMock) Create ¶
func (mock *LimitRangeInterfaceMock) Create(in1 *v1.LimitRange) (*v1.LimitRange, error)
Create calls CreateFunc.
func (*LimitRangeInterfaceMock) CreateCalls ¶
func (mock *LimitRangeInterfaceMock) CreateCalls() []struct { In1 *v1.LimitRange }
CreateCalls gets all the calls that were made to Create. Check the length with:
len(mockedLimitRangeInterface.CreateCalls())
func (*LimitRangeInterfaceMock) Delete ¶
func (mock *LimitRangeInterfaceMock) Delete(name string, options *v1b.DeleteOptions) error
Delete calls DeleteFunc.
func (*LimitRangeInterfaceMock) DeleteCalls ¶
func (mock *LimitRangeInterfaceMock) DeleteCalls() []struct { Name string Options *v1b.DeleteOptions }
DeleteCalls gets all the calls that were made to Delete. Check the length with:
len(mockedLimitRangeInterface.DeleteCalls())
func (*LimitRangeInterfaceMock) DeleteCollection ¶
func (mock *LimitRangeInterfaceMock) DeleteCollection(deleteOpts *v1b.DeleteOptions, listOpts v1b.ListOptions) error
DeleteCollection calls DeleteCollectionFunc.
func (*LimitRangeInterfaceMock) DeleteCollectionCalls ¶
func (mock *LimitRangeInterfaceMock) DeleteCollectionCalls() []struct { DeleteOpts *v1b.DeleteOptions ListOpts v1b.ListOptions }
DeleteCollectionCalls gets all the calls that were made to DeleteCollection. Check the length with:
len(mockedLimitRangeInterface.DeleteCollectionCalls())
func (*LimitRangeInterfaceMock) DeleteNamespaced ¶
func (mock *LimitRangeInterfaceMock) DeleteNamespaced(namespace string, name string, options *v1b.DeleteOptions) error
DeleteNamespaced calls DeleteNamespacedFunc.
func (*LimitRangeInterfaceMock) DeleteNamespacedCalls ¶
func (mock *LimitRangeInterfaceMock) DeleteNamespacedCalls() []struct { Namespace string Name string Options *v1b.DeleteOptions }
DeleteNamespacedCalls gets all the calls that were made to DeleteNamespaced. Check the length with:
len(mockedLimitRangeInterface.DeleteNamespacedCalls())
func (*LimitRangeInterfaceMock) Get ¶
func (mock *LimitRangeInterfaceMock) Get(name string, opts v1b.GetOptions) (*v1.LimitRange, error)
Get calls GetFunc.
func (*LimitRangeInterfaceMock) GetCalls ¶
func (mock *LimitRangeInterfaceMock) GetCalls() []struct { Name string Opts v1b.GetOptions }
GetCalls gets all the calls that were made to Get. Check the length with:
len(mockedLimitRangeInterface.GetCalls())
func (*LimitRangeInterfaceMock) GetNamespaced ¶
func (mock *LimitRangeInterfaceMock) GetNamespaced(namespace string, name string, opts v1b.GetOptions) (*v1.LimitRange, error)
GetNamespaced calls GetNamespacedFunc.
func (*LimitRangeInterfaceMock) GetNamespacedCalls ¶
func (mock *LimitRangeInterfaceMock) GetNamespacedCalls() []struct { Namespace string Name string Opts v1b.GetOptions }
GetNamespacedCalls gets all the calls that were made to GetNamespaced. Check the length with:
len(mockedLimitRangeInterface.GetNamespacedCalls())
func (*LimitRangeInterfaceMock) List ¶
func (mock *LimitRangeInterfaceMock) List(opts v1b.ListOptions) (*v1a.LimitRangeList, error)
List calls ListFunc.
func (*LimitRangeInterfaceMock) ListCalls ¶
func (mock *LimitRangeInterfaceMock) ListCalls() []struct { Opts v1b.ListOptions }
ListCalls gets all the calls that were made to List. Check the length with:
len(mockedLimitRangeInterface.ListCalls())
func (*LimitRangeInterfaceMock) ListNamespaced ¶
func (mock *LimitRangeInterfaceMock) ListNamespaced(namespace string, opts v1b.ListOptions) (*v1a.LimitRangeList, error)
ListNamespaced calls ListNamespacedFunc.
func (*LimitRangeInterfaceMock) ListNamespacedCalls ¶
func (mock *LimitRangeInterfaceMock) ListNamespacedCalls() []struct { Namespace string Opts v1b.ListOptions }
ListNamespacedCalls gets all the calls that were made to ListNamespaced. Check the length with:
len(mockedLimitRangeInterface.ListNamespacedCalls())
func (*LimitRangeInterfaceMock) ObjectClient ¶
func (mock *LimitRangeInterfaceMock) ObjectClient() *objectclient.ObjectClient
ObjectClient calls ObjectClientFunc.
func (*LimitRangeInterfaceMock) ObjectClientCalls ¶
func (mock *LimitRangeInterfaceMock) ObjectClientCalls() []struct { }
ObjectClientCalls gets all the calls that were made to ObjectClient. Check the length with:
len(mockedLimitRangeInterface.ObjectClientCalls())
func (*LimitRangeInterfaceMock) Update ¶
func (mock *LimitRangeInterfaceMock) Update(in1 *v1.LimitRange) (*v1.LimitRange, error)
Update calls UpdateFunc.
func (*LimitRangeInterfaceMock) UpdateCalls ¶
func (mock *LimitRangeInterfaceMock) UpdateCalls() []struct { In1 *v1.LimitRange }
UpdateCalls gets all the calls that were made to Update. Check the length with:
len(mockedLimitRangeInterface.UpdateCalls())
func (*LimitRangeInterfaceMock) Watch ¶
func (mock *LimitRangeInterfaceMock) Watch(opts v1b.ListOptions) (watch.Interface, error)
Watch calls WatchFunc.
func (*LimitRangeInterfaceMock) WatchCalls ¶
func (mock *LimitRangeInterfaceMock) WatchCalls() []struct { Opts v1b.ListOptions }
WatchCalls gets all the calls that were made to Watch. Check the length with:
len(mockedLimitRangeInterface.WatchCalls())
type LimitRangeListerMock ¶
type LimitRangeListerMock struct { // GetFunc mocks the Get method. GetFunc func(namespace string, name string) (*v1.LimitRange, error) // ListFunc mocks the List method. ListFunc func(namespace string, selector labels.Selector) ([]*v1.LimitRange, error) // contains filtered or unexported fields }
LimitRangeListerMock is a mock implementation of LimitRangeLister.
func TestSomethingThatUsesLimitRangeLister(t *testing.T) { // make and configure a mocked LimitRangeLister mockedLimitRangeLister := &LimitRangeListerMock{ GetFunc: func(namespace string, name string) (*v1.LimitRange, error) { panic("mock out the Get method") }, ListFunc: func(namespace string, selector labels.Selector) ([]*v1.LimitRange, error) { panic("mock out the List method") }, } // use mockedLimitRangeLister in code that requires LimitRangeLister // and then make assertions. }
func (*LimitRangeListerMock) Get ¶
func (mock *LimitRangeListerMock) Get(namespace string, name string) (*v1.LimitRange, error)
Get calls GetFunc.
func (*LimitRangeListerMock) GetCalls ¶
func (mock *LimitRangeListerMock) GetCalls() []struct { Namespace string Name string }
GetCalls gets all the calls that were made to Get. Check the length with:
len(mockedLimitRangeLister.GetCalls())
func (*LimitRangeListerMock) List ¶
func (mock *LimitRangeListerMock) List(namespace string, selector labels.Selector) ([]*v1.LimitRange, error)
List calls ListFunc.
type LimitRangesGetterMock ¶
type LimitRangesGetterMock struct { // LimitRangesFunc mocks the LimitRanges method. LimitRangesFunc func(namespace string) v1a.LimitRangeInterface // contains filtered or unexported fields }
LimitRangesGetterMock is a mock implementation of LimitRangesGetter.
func TestSomethingThatUsesLimitRangesGetter(t *testing.T) { // make and configure a mocked LimitRangesGetter mockedLimitRangesGetter := &LimitRangesGetterMock{ LimitRangesFunc: func(namespace string) v1a.LimitRangeInterface { panic("mock out the LimitRanges method") }, } // use mockedLimitRangesGetter in code that requires LimitRangesGetter // and then make assertions. }
func (*LimitRangesGetterMock) LimitRanges ¶
func (mock *LimitRangesGetterMock) LimitRanges(namespace string) v1a.LimitRangeInterface
LimitRanges calls LimitRangesFunc.
func (*LimitRangesGetterMock) LimitRangesCalls ¶
func (mock *LimitRangesGetterMock) LimitRangesCalls() []struct { Namespace string }
LimitRangesCalls gets all the calls that were made to LimitRanges. Check the length with:
len(mockedLimitRangesGetter.LimitRangesCalls())
type NamespaceControllerMock ¶
type NamespaceControllerMock struct { // AddClusterScopedFeatureHandlerFunc mocks the AddClusterScopedFeatureHandler method. AddClusterScopedFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, clusterName string, handler v1a.NamespaceHandlerFunc) // AddClusterScopedHandlerFunc mocks the AddClusterScopedHandler method. AddClusterScopedHandlerFunc func(ctx context.Context, name string, clusterName string, handler v1a.NamespaceHandlerFunc) // AddFeatureHandlerFunc mocks the AddFeatureHandler method. AddFeatureHandlerFunc func(ctx context.Context, enabled func() bool, name string, sync v1a.NamespaceHandlerFunc) // AddHandlerFunc mocks the AddHandler method. AddHandlerFunc func(ctx context.Context, name string, handler