Documentation ¶
Overview ¶
Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.
Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.
Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.
Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.
Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.
Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.
Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.
Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.
Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.
Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.
Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.
Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.
Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0. This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2024 Datadog, Inc.
Index ¶
- type CacheInformerMock
- func (_m *CacheInformerMock) AddEventHandler(handler cache.ResourceEventHandler) (cache.ResourceEventHandlerRegistration, error)
- func (_m *CacheInformerMock) AddEventHandlerWithResyncPeriod(handler cache.ResourceEventHandler, resyncPeriod time.Duration) (cache.ResourceEventHandlerRegistration, error)
- func (_m *CacheInformerMock) AddIndexers(indexers cache.Indexers) error
- func (_m *CacheInformerMock) EXPECT() *CacheInformerMock_Expecter
- func (_m *CacheInformerMock) HasSynced() bool
- func (_m *CacheInformerMock) IsStopped() bool
- func (_m *CacheInformerMock) RemoveEventHandler(handle cache.ResourceEventHandlerRegistration) error
- type CacheInformerMock_AddEventHandlerWithResyncPeriod_Call
- func (_c *CacheInformerMock_AddEventHandlerWithResyncPeriod_Call) Return(_a0 cache.ResourceEventHandlerRegistration, _a1 error) *CacheInformerMock_AddEventHandlerWithResyncPeriod_Call
- func (_c *CacheInformerMock_AddEventHandlerWithResyncPeriod_Call) Run(run func(handler cache.ResourceEventHandler, resyncPeriod time.Duration)) *CacheInformerMock_AddEventHandlerWithResyncPeriod_Call
- func (_c *CacheInformerMock_AddEventHandlerWithResyncPeriod_Call) RunAndReturn(...) *CacheInformerMock_AddEventHandlerWithResyncPeriod_Call
- type CacheInformerMock_AddEventHandler_Call
- func (_c *CacheInformerMock_AddEventHandler_Call) Return(_a0 cache.ResourceEventHandlerRegistration, _a1 error) *CacheInformerMock_AddEventHandler_Call
- func (_c *CacheInformerMock_AddEventHandler_Call) Run(run func(handler cache.ResourceEventHandler)) *CacheInformerMock_AddEventHandler_Call
- func (_c *CacheInformerMock_AddEventHandler_Call) RunAndReturn(...) *CacheInformerMock_AddEventHandler_Call
- type CacheInformerMock_AddIndexers_Call
- func (_c *CacheInformerMock_AddIndexers_Call) Return(_a0 error) *CacheInformerMock_AddIndexers_Call
- func (_c *CacheInformerMock_AddIndexers_Call) Run(run func(indexers cache.Indexers)) *CacheInformerMock_AddIndexers_Call
- func (_c *CacheInformerMock_AddIndexers_Call) RunAndReturn(run func(cache.Indexers) error) *CacheInformerMock_AddIndexers_Call
- type CacheInformerMock_Expecter
- func (_e *CacheInformerMock_Expecter) AddEventHandler(handler interface{}) *CacheInformerMock_AddEventHandler_Call
- func (_e *CacheInformerMock_Expecter) AddEventHandlerWithResyncPeriod(handler interface{}, resyncPeriod interface{}) *CacheInformerMock_AddEventHandlerWithResyncPeriod_Call
- func (_e *CacheInformerMock_Expecter) AddIndexers(indexers interface{}) *CacheInformerMock_AddIndexers_Call
- func (_e *CacheInformerMock_Expecter) HasSynced() *CacheInformerMock_HasSynced_Call
- func (_e *CacheInformerMock_Expecter) IsStopped() *CacheInformerMock_IsStopped_Call
- func (_e *CacheInformerMock_Expecter) RemoveEventHandler(handle interface{}) *CacheInformerMock_RemoveEventHandler_Call
- type CacheInformerMock_HasSynced_Call
- type CacheInformerMock_IsStopped_Call
- type CacheInformerMock_RemoveEventHandler_Call
- func (_c *CacheInformerMock_RemoveEventHandler_Call) Return(_a0 error) *CacheInformerMock_RemoveEventHandler_Call
- func (_c *CacheInformerMock_RemoveEventHandler_Call) Run(run func(handle cache.ResourceEventHandlerRegistration)) *CacheInformerMock_RemoveEventHandler_Call
- func (_c *CacheInformerMock_RemoveEventHandler_Call) RunAndReturn(run func(cache.ResourceEventHandlerRegistration) error) *CacheInformerMock_RemoveEventHandler_Call
- type CacheWatcherMock
- type CacheWatcherMock_Expecter
- type CacheWatcherMock_Watch_Call
- func (_c *CacheWatcherMock_Watch_Call) Return(_a0 watch.Interface, _a1 error) *CacheWatcherMock_Watch_Call
- func (_c *CacheWatcherMock_Watch_Call) Run(run func(options v1.ListOptions)) *CacheWatcherMock_Watch_Call
- func (_c *CacheWatcherMock_Watch_Call) RunAndReturn(run func(v1.ListOptions) (watch.Interface, error)) *CacheWatcherMock_Watch_Call
- type ClientStatsdMock
- func (_m *ClientStatsdMock) Close() error
- func (_m *ClientStatsdMock) Count(name string, value int64, tags []string, rate float64) error
- func (_m *ClientStatsdMock) Decr(name string, tags []string, rate float64) error
- func (_m *ClientStatsdMock) Distribution(name string, value float64, tags []string, rate float64) error
- func (_m *ClientStatsdMock) EXPECT() *ClientStatsdMock_Expecter
- func (_m *ClientStatsdMock) Event(e *statsd.Event) error
- func (_m *ClientStatsdMock) Flush() error
- func (_m *ClientStatsdMock) Gauge(name string, value float64, tags []string, rate float64) error
- func (_m *ClientStatsdMock) Histogram(name string, value float64, tags []string, rate float64) error
- func (_m *ClientStatsdMock) Incr(name string, tags []string, rate float64) error
- func (_m *ClientStatsdMock) ServiceCheck(sc *statsd.ServiceCheck) error
- func (_m *ClientStatsdMock) Set(name string, value string, tags []string, rate float64) error
- func (_m *ClientStatsdMock) SetWriteTimeout(d time.Duration) error
- func (_m *ClientStatsdMock) SimpleEvent(title string, text string) error
- func (_m *ClientStatsdMock) SimpleServiceCheck(name string, status statsd.ServiceCheckStatus) error
- func (_m *ClientStatsdMock) TimeInMilliseconds(name string, value float64, tags []string, rate float64) error
- func (_m *ClientStatsdMock) Timing(name string, value time.Duration, tags []string, rate float64) error
- type ClientStatsdMock_Close_Call
- type ClientStatsdMock_Count_Call
- func (_c *ClientStatsdMock_Count_Call) Return(_a0 error) *ClientStatsdMock_Count_Call
- func (_c *ClientStatsdMock_Count_Call) Run(run func(name string, value int64, tags []string, rate float64)) *ClientStatsdMock_Count_Call
- func (_c *ClientStatsdMock_Count_Call) RunAndReturn(run func(string, int64, []string, float64) error) *ClientStatsdMock_Count_Call
- type ClientStatsdMock_Decr_Call
- func (_c *ClientStatsdMock_Decr_Call) Return(_a0 error) *ClientStatsdMock_Decr_Call
- func (_c *ClientStatsdMock_Decr_Call) Run(run func(name string, tags []string, rate float64)) *ClientStatsdMock_Decr_Call
- func (_c *ClientStatsdMock_Decr_Call) RunAndReturn(run func(string, []string, float64) error) *ClientStatsdMock_Decr_Call
- type ClientStatsdMock_Distribution_Call
- func (_c *ClientStatsdMock_Distribution_Call) Return(_a0 error) *ClientStatsdMock_Distribution_Call
- func (_c *ClientStatsdMock_Distribution_Call) Run(run func(name string, value float64, tags []string, rate float64)) *ClientStatsdMock_Distribution_Call
- func (_c *ClientStatsdMock_Distribution_Call) RunAndReturn(run func(string, float64, []string, float64) error) *ClientStatsdMock_Distribution_Call
- type ClientStatsdMock_Event_Call
- type ClientStatsdMock_Expecter
- func (_e *ClientStatsdMock_Expecter) Close() *ClientStatsdMock_Close_Call
- func (_e *ClientStatsdMock_Expecter) Count(name interface{}, value interface{}, tags interface{}, rate interface{}) *ClientStatsdMock_Count_Call
- func (_e *ClientStatsdMock_Expecter) Decr(name interface{}, tags interface{}, rate interface{}) *ClientStatsdMock_Decr_Call
- func (_e *ClientStatsdMock_Expecter) Distribution(name interface{}, value interface{}, tags interface{}, rate interface{}) *ClientStatsdMock_Distribution_Call
- func (_e *ClientStatsdMock_Expecter) Event(e interface{}) *ClientStatsdMock_Event_Call
- func (_e *ClientStatsdMock_Expecter) Flush() *ClientStatsdMock_Flush_Call
- func (_e *ClientStatsdMock_Expecter) Gauge(name interface{}, value interface{}, tags interface{}, rate interface{}) *ClientStatsdMock_Gauge_Call
- func (_e *ClientStatsdMock_Expecter) Histogram(name interface{}, value interface{}, tags interface{}, rate interface{}) *ClientStatsdMock_Histogram_Call
- func (_e *ClientStatsdMock_Expecter) Incr(name interface{}, tags interface{}, rate interface{}) *ClientStatsdMock_Incr_Call
- func (_e *ClientStatsdMock_Expecter) ServiceCheck(sc interface{}) *ClientStatsdMock_ServiceCheck_Call
- func (_e *ClientStatsdMock_Expecter) Set(name interface{}, value interface{}, tags interface{}, rate interface{}) *ClientStatsdMock_Set_Call
- func (_e *ClientStatsdMock_Expecter) SetWriteTimeout(d interface{}) *ClientStatsdMock_SetWriteTimeout_Call
- func (_e *ClientStatsdMock_Expecter) SimpleEvent(title interface{}, text interface{}) *ClientStatsdMock_SimpleEvent_Call
- func (_e *ClientStatsdMock_Expecter) SimpleServiceCheck(name interface{}, status interface{}) *ClientStatsdMock_SimpleServiceCheck_Call
- func (_e *ClientStatsdMock_Expecter) TimeInMilliseconds(name interface{}, value interface{}, tags interface{}, rate interface{}) *ClientStatsdMock_TimeInMilliseconds_Call
- func (_e *ClientStatsdMock_Expecter) Timing(name interface{}, value interface{}, tags interface{}, rate interface{}) *ClientStatsdMock_Timing_Call
- type ClientStatsdMock_Flush_Call
- type ClientStatsdMock_Gauge_Call
- func (_c *ClientStatsdMock_Gauge_Call) Return(_a0 error) *ClientStatsdMock_Gauge_Call
- func (_c *ClientStatsdMock_Gauge_Call) Run(run func(name string, value float64, tags []string, rate float64)) *ClientStatsdMock_Gauge_Call
- func (_c *ClientStatsdMock_Gauge_Call) RunAndReturn(run func(string, float64, []string, float64) error) *ClientStatsdMock_Gauge_Call
- type ClientStatsdMock_Histogram_Call
- func (_c *ClientStatsdMock_Histogram_Call) Return(_a0 error) *ClientStatsdMock_Histogram_Call
- func (_c *ClientStatsdMock_Histogram_Call) Run(run func(name string, value float64, tags []string, rate float64)) *ClientStatsdMock_Histogram_Call
- func (_c *ClientStatsdMock_Histogram_Call) RunAndReturn(run func(string, float64, []string, float64) error) *ClientStatsdMock_Histogram_Call
- type ClientStatsdMock_Incr_Call
- func (_c *ClientStatsdMock_Incr_Call) Return(_a0 error) *ClientStatsdMock_Incr_Call
- func (_c *ClientStatsdMock_Incr_Call) Run(run func(name string, tags []string, rate float64)) *ClientStatsdMock_Incr_Call
- func (_c *ClientStatsdMock_Incr_Call) RunAndReturn(run func(string, []string, float64) error) *ClientStatsdMock_Incr_Call
- type ClientStatsdMock_ServiceCheck_Call
- func (_c *ClientStatsdMock_ServiceCheck_Call) Return(_a0 error) *ClientStatsdMock_ServiceCheck_Call
- func (_c *ClientStatsdMock_ServiceCheck_Call) Run(run func(sc *statsd.ServiceCheck)) *ClientStatsdMock_ServiceCheck_Call
- func (_c *ClientStatsdMock_ServiceCheck_Call) RunAndReturn(run func(*statsd.ServiceCheck) error) *ClientStatsdMock_ServiceCheck_Call
- type ClientStatsdMock_SetWriteTimeout_Call
- func (_c *ClientStatsdMock_SetWriteTimeout_Call) Return(_a0 error) *ClientStatsdMock_SetWriteTimeout_Call
- func (_c *ClientStatsdMock_SetWriteTimeout_Call) Run(run func(d time.Duration)) *ClientStatsdMock_SetWriteTimeout_Call
- func (_c *ClientStatsdMock_SetWriteTimeout_Call) RunAndReturn(run func(time.Duration) error) *ClientStatsdMock_SetWriteTimeout_Call
- type ClientStatsdMock_Set_Call
- func (_c *ClientStatsdMock_Set_Call) Return(_a0 error) *ClientStatsdMock_Set_Call
- func (_c *ClientStatsdMock_Set_Call) Run(run func(name string, value string, tags []string, rate float64)) *ClientStatsdMock_Set_Call
- func (_c *ClientStatsdMock_Set_Call) RunAndReturn(run func(string, string, []string, float64) error) *ClientStatsdMock_Set_Call
- type ClientStatsdMock_SimpleEvent_Call
- func (_c *ClientStatsdMock_SimpleEvent_Call) Return(_a0 error) *ClientStatsdMock_SimpleEvent_Call
- func (_c *ClientStatsdMock_SimpleEvent_Call) Run(run func(title string, text string)) *ClientStatsdMock_SimpleEvent_Call
- func (_c *ClientStatsdMock_SimpleEvent_Call) RunAndReturn(run func(string, string) error) *ClientStatsdMock_SimpleEvent_Call
- type ClientStatsdMock_SimpleServiceCheck_Call
- func (_c *ClientStatsdMock_SimpleServiceCheck_Call) Return(_a0 error) *ClientStatsdMock_SimpleServiceCheck_Call
- func (_c *ClientStatsdMock_SimpleServiceCheck_Call) Run(run func(name string, status statsd.ServiceCheckStatus)) *ClientStatsdMock_SimpleServiceCheck_Call
- func (_c *ClientStatsdMock_SimpleServiceCheck_Call) RunAndReturn(run func(string, statsd.ServiceCheckStatus) error) *ClientStatsdMock_SimpleServiceCheck_Call
- type ClientStatsdMock_TimeInMilliseconds_Call
- func (_c *ClientStatsdMock_TimeInMilliseconds_Call) Return(_a0 error) *ClientStatsdMock_TimeInMilliseconds_Call
- func (_c *ClientStatsdMock_TimeInMilliseconds_Call) Run(run func(name string, value float64, tags []string, rate float64)) *ClientStatsdMock_TimeInMilliseconds_Call
- func (_c *ClientStatsdMock_TimeInMilliseconds_Call) RunAndReturn(run func(string, float64, []string, float64) error) *ClientStatsdMock_TimeInMilliseconds_Call
- type ClientStatsdMock_Timing_Call
- func (_c *ClientStatsdMock_Timing_Call) Return(_a0 error) *ClientStatsdMock_Timing_Call
- func (_c *ClientStatsdMock_Timing_Call) Run(run func(name string, value time.Duration, tags []string, rate float64)) *ClientStatsdMock_Timing_Call
- func (_c *ClientStatsdMock_Timing_Call) RunAndReturn(run func(string, time.Duration, []string, float64) error) *ClientStatsdMock_Timing_Call
- type EventBroadcasterMock
- func (_m *EventBroadcasterMock) EXPECT() *EventBroadcasterMock_Expecter
- func (_m *EventBroadcasterMock) NewRecorder(scheme *runtime.Scheme, source v1.EventSource) record.EventRecorderLogger
- func (_m *EventBroadcasterMock) Shutdown()
- func (_m *EventBroadcasterMock) StartEventWatcher(eventHandler func(*v1.Event)) watch.Interface
- func (_m *EventBroadcasterMock) StartLogging(logf func(string, ...interface{})) watch.Interface
- func (_m *EventBroadcasterMock) StartRecordingToSink(sink record.EventSink) watch.Interface
- func (_m *EventBroadcasterMock) StartStructuredLogging(verbosity klog.Level) watch.Interface
- type EventBroadcasterMock_Expecter
- func (_e *EventBroadcasterMock_Expecter) NewRecorder(scheme interface{}, source interface{}) *EventBroadcasterMock_NewRecorder_Call
- func (_e *EventBroadcasterMock_Expecter) Shutdown() *EventBroadcasterMock_Shutdown_Call
- func (_e *EventBroadcasterMock_Expecter) StartEventWatcher(eventHandler interface{}) *EventBroadcasterMock_StartEventWatcher_Call
- func (_e *EventBroadcasterMock_Expecter) StartLogging(logf interface{}) *EventBroadcasterMock_StartLogging_Call
- func (_e *EventBroadcasterMock_Expecter) StartRecordingToSink(sink interface{}) *EventBroadcasterMock_StartRecordingToSink_Call
- func (_e *EventBroadcasterMock_Expecter) StartStructuredLogging(verbosity interface{}) *EventBroadcasterMock_StartStructuredLogging_Call
- type EventBroadcasterMock_NewRecorder_Call
- func (_c *EventBroadcasterMock_NewRecorder_Call) Return(_a0 record.EventRecorderLogger) *EventBroadcasterMock_NewRecorder_Call
- func (_c *EventBroadcasterMock_NewRecorder_Call) Run(run func(scheme *runtime.Scheme, source v1.EventSource)) *EventBroadcasterMock_NewRecorder_Call
- func (_c *EventBroadcasterMock_NewRecorder_Call) RunAndReturn(run func(*runtime.Scheme, v1.EventSource) record.EventRecorderLogger) *EventBroadcasterMock_NewRecorder_Call
- type EventBroadcasterMock_Shutdown_Call
- type EventBroadcasterMock_StartEventWatcher_Call
- func (_c *EventBroadcasterMock_StartEventWatcher_Call) Return(_a0 watch.Interface) *EventBroadcasterMock_StartEventWatcher_Call
- func (_c *EventBroadcasterMock_StartEventWatcher_Call) Run(run func(eventHandler func(*v1.Event))) *EventBroadcasterMock_StartEventWatcher_Call
- func (_c *EventBroadcasterMock_StartEventWatcher_Call) RunAndReturn(run func(func(*v1.Event)) watch.Interface) *EventBroadcasterMock_StartEventWatcher_Call
- type EventBroadcasterMock_StartLogging_Call
- func (_c *EventBroadcasterMock_StartLogging_Call) Return(_a0 watch.Interface) *EventBroadcasterMock_StartLogging_Call
- func (_c *EventBroadcasterMock_StartLogging_Call) Run(run func(logf func(string, ...interface{}))) *EventBroadcasterMock_StartLogging_Call
- func (_c *EventBroadcasterMock_StartLogging_Call) RunAndReturn(run func(func(string, ...interface{})) watch.Interface) *EventBroadcasterMock_StartLogging_Call
- type EventBroadcasterMock_StartRecordingToSink_Call
- func (_c *EventBroadcasterMock_StartRecordingToSink_Call) Return(_a0 watch.Interface) *EventBroadcasterMock_StartRecordingToSink_Call
- func (_c *EventBroadcasterMock_StartRecordingToSink_Call) Run(run func(sink record.EventSink)) *EventBroadcasterMock_StartRecordingToSink_Call
- func (_c *EventBroadcasterMock_StartRecordingToSink_Call) RunAndReturn(run func(record.EventSink) watch.Interface) *EventBroadcasterMock_StartRecordingToSink_Call
- type EventBroadcasterMock_StartStructuredLogging_Call
- func (_c *EventBroadcasterMock_StartStructuredLogging_Call) Return(_a0 watch.Interface) *EventBroadcasterMock_StartStructuredLogging_Call
- func (_c *EventBroadcasterMock_StartStructuredLogging_Call) Run(run func(verbosity klog.Level)) *EventBroadcasterMock_StartStructuredLogging_Call
- func (_c *EventBroadcasterMock_StartStructuredLogging_Call) RunAndReturn(run func(klog.Level) watch.Interface) *EventBroadcasterMock_StartStructuredLogging_Call
- type EventRecorderMock
- func (_m *EventRecorderMock) AnnotatedEventf(object runtime.Object, annotations map[string]string, eventtype string, ...)
- func (_m *EventRecorderMock) EXPECT() *EventRecorderMock_Expecter
- func (_m *EventRecorderMock) Event(object runtime.Object, eventtype string, reason string, message string)
- func (_m *EventRecorderMock) Eventf(object runtime.Object, eventtype string, reason string, messageFmt string, ...)
- type EventRecorderMock_AnnotatedEventf_Call
- func (_c *EventRecorderMock_AnnotatedEventf_Call) Return() *EventRecorderMock_AnnotatedEventf_Call
- func (_c *EventRecorderMock_AnnotatedEventf_Call) Run(...) *EventRecorderMock_AnnotatedEventf_Call
- func (_c *EventRecorderMock_AnnotatedEventf_Call) RunAndReturn(...) *EventRecorderMock_AnnotatedEventf_Call
- type EventRecorderMock_Event_Call
- type EventRecorderMock_Eventf_Call
- func (_c *EventRecorderMock_Eventf_Call) Return() *EventRecorderMock_Eventf_Call
- func (_c *EventRecorderMock_Eventf_Call) Run(...) *EventRecorderMock_Eventf_Call
- func (_c *EventRecorderMock_Eventf_Call) RunAndReturn(run func(runtime.Object, string, string, string, ...interface{})) *EventRecorderMock_Eventf_Call
- type EventRecorderMock_Expecter
- func (_e *EventRecorderMock_Expecter) AnnotatedEventf(object interface{}, annotations interface{}, eventtype interface{}, ...) *EventRecorderMock_AnnotatedEventf_Call
- func (_e *EventRecorderMock_Expecter) Event(object interface{}, eventtype interface{}, reason interface{}, ...) *EventRecorderMock_Event_Call
- func (_e *EventRecorderMock_Expecter) Eventf(object interface{}, eventtype interface{}, reason interface{}, ...) *EventRecorderMock_Eventf_Call
- type K8SClientMock
- func (_m *K8SClientMock) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
- func (_m *K8SClientMock) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error
- func (_m *K8SClientMock) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error
- func (_m *K8SClientMock) EXPECT() *K8SClientMock_Expecter
- func (_m *K8SClientMock) Get(ctx context.Context, key types.NamespacedName, obj client.Object, ...) error
- func (_m *K8SClientMock) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error)
- func (_m *K8SClientMock) IsObjectNamespaced(obj runtime.Object) (bool, error)
- func (_m *K8SClientMock) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
- func (_m *K8SClientMock) Patch(ctx context.Context, obj client.Object, patch client.Patch, ...) error
- func (_m *K8SClientMock) RESTMapper() meta.RESTMapper
- func (_m *K8SClientMock) Scheme() *runtime.Scheme
- func (_m *K8SClientMock) Status() client.SubResourceWriter
- func (_m *K8SClientMock) SubResource(subResource string) client.SubResourceClient
- func (_m *K8SClientMock) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error
- type K8SClientMock_Create_Call
- func (_c *K8SClientMock_Create_Call) Return(_a0 error) *K8SClientMock_Create_Call
- func (_c *K8SClientMock_Create_Call) Run(run func(ctx context.Context, obj client.Object, opts ...client.CreateOption)) *K8SClientMock_Create_Call
- func (_c *K8SClientMock_Create_Call) RunAndReturn(run func(context.Context, client.Object, ...client.CreateOption) error) *K8SClientMock_Create_Call
- type K8SClientMock_DeleteAllOf_Call
- func (_c *K8SClientMock_DeleteAllOf_Call) Return(_a0 error) *K8SClientMock_DeleteAllOf_Call
- func (_c *K8SClientMock_DeleteAllOf_Call) Run(...) *K8SClientMock_DeleteAllOf_Call
- func (_c *K8SClientMock_DeleteAllOf_Call) RunAndReturn(run func(context.Context, client.Object, ...client.DeleteAllOfOption) error) *K8SClientMock_DeleteAllOf_Call
- type K8SClientMock_Delete_Call
- func (_c *K8SClientMock_Delete_Call) Return(_a0 error) *K8SClientMock_Delete_Call
- func (_c *K8SClientMock_Delete_Call) Run(run func(ctx context.Context, obj client.Object, opts ...client.DeleteOption)) *K8SClientMock_Delete_Call
- func (_c *K8SClientMock_Delete_Call) RunAndReturn(run func(context.Context, client.Object, ...client.DeleteOption) error) *K8SClientMock_Delete_Call
- type K8SClientMock_Expecter
- func (_e *K8SClientMock_Expecter) Create(ctx interface{}, obj interface{}, opts ...interface{}) *K8SClientMock_Create_Call
- func (_e *K8SClientMock_Expecter) Delete(ctx interface{}, obj interface{}, opts ...interface{}) *K8SClientMock_Delete_Call
- func (_e *K8SClientMock_Expecter) DeleteAllOf(ctx interface{}, obj interface{}, opts ...interface{}) *K8SClientMock_DeleteAllOf_Call
- func (_e *K8SClientMock_Expecter) Get(ctx interface{}, key interface{}, obj interface{}, opts ...interface{}) *K8SClientMock_Get_Call
- func (_e *K8SClientMock_Expecter) GroupVersionKindFor(obj interface{}) *K8SClientMock_GroupVersionKindFor_Call
- func (_e *K8SClientMock_Expecter) IsObjectNamespaced(obj interface{}) *K8SClientMock_IsObjectNamespaced_Call
- func (_e *K8SClientMock_Expecter) List(ctx interface{}, list interface{}, opts ...interface{}) *K8SClientMock_List_Call
- func (_e *K8SClientMock_Expecter) Patch(ctx interface{}, obj interface{}, patch interface{}, opts ...interface{}) *K8SClientMock_Patch_Call
- func (_e *K8SClientMock_Expecter) RESTMapper() *K8SClientMock_RESTMapper_Call
- func (_e *K8SClientMock_Expecter) Scheme() *K8SClientMock_Scheme_Call
- func (_e *K8SClientMock_Expecter) Status() *K8SClientMock_Status_Call
- func (_e *K8SClientMock_Expecter) SubResource(subResource interface{}) *K8SClientMock_SubResource_Call
- func (_e *K8SClientMock_Expecter) Update(ctx interface{}, obj interface{}, opts ...interface{}) *K8SClientMock_Update_Call
- type K8SClientMock_Get_Call
- type K8SClientMock_GroupVersionKindFor_Call
- func (_c *K8SClientMock_GroupVersionKindFor_Call) Return(_a0 schema.GroupVersionKind, _a1 error) *K8SClientMock_GroupVersionKindFor_Call
- func (_c *K8SClientMock_GroupVersionKindFor_Call) Run(run func(obj runtime.Object)) *K8SClientMock_GroupVersionKindFor_Call
- func (_c *K8SClientMock_GroupVersionKindFor_Call) RunAndReturn(run func(runtime.Object) (schema.GroupVersionKind, error)) *K8SClientMock_GroupVersionKindFor_Call
- type K8SClientMock_IsObjectNamespaced_Call
- func (_c *K8SClientMock_IsObjectNamespaced_Call) Return(_a0 bool, _a1 error) *K8SClientMock_IsObjectNamespaced_Call
- func (_c *K8SClientMock_IsObjectNamespaced_Call) Run(run func(obj runtime.Object)) *K8SClientMock_IsObjectNamespaced_Call
- func (_c *K8SClientMock_IsObjectNamespaced_Call) RunAndReturn(run func(runtime.Object) (bool, error)) *K8SClientMock_IsObjectNamespaced_Call
- type K8SClientMock_List_Call
- type K8SClientMock_Patch_Call
- func (_c *K8SClientMock_Patch_Call) Return(_a0 error) *K8SClientMock_Patch_Call
- func (_c *K8SClientMock_Patch_Call) Run(run func(ctx context.Context, obj client.Object, patch client.Patch, ...)) *K8SClientMock_Patch_Call
- func (_c *K8SClientMock_Patch_Call) RunAndReturn(...) *K8SClientMock_Patch_Call
- type K8SClientMock_RESTMapper_Call
- func (_c *K8SClientMock_RESTMapper_Call) Return(_a0 meta.RESTMapper) *K8SClientMock_RESTMapper_Call
- func (_c *K8SClientMock_RESTMapper_Call) Run(run func()) *K8SClientMock_RESTMapper_Call
- func (_c *K8SClientMock_RESTMapper_Call) RunAndReturn(run func() meta.RESTMapper) *K8SClientMock_RESTMapper_Call
- type K8SClientMock_Scheme_Call
- type K8SClientMock_Status_Call
- type K8SClientMock_SubResource_Call
- func (_c *K8SClientMock_SubResource_Call) Return(_a0 client.SubResourceClient) *K8SClientMock_SubResource_Call
- func (_c *K8SClientMock_SubResource_Call) Run(run func(subResource string)) *K8SClientMock_SubResource_Call
- func (_c *K8SClientMock_SubResource_Call) RunAndReturn(run func(string) client.SubResourceClient) *K8SClientMock_SubResource_Call
- type K8SClientMock_Update_Call
- func (_c *K8SClientMock_Update_Call) Return(_a0 error) *K8SClientMock_Update_Call
- func (_c *K8SClientMock_Update_Call) Run(run func(ctx context.Context, obj client.Object, opts ...client.UpdateOption)) *K8SClientMock_Update_Call
- func (_c *K8SClientMock_Update_Call) RunAndReturn(run func(context.Context, client.Object, ...client.UpdateOption) error) *K8SClientMock_Update_Call
- type ManagerMock
- func (_m *ManagerMock) Add(_a0 manager.Runnable) error
- func (_m *ManagerMock) AddHealthzCheck(name string, check healthz.Checker) error
- func (_m *ManagerMock) AddReadyzCheck(name string, check healthz.Checker) error
- func (_m *ManagerMock) EXPECT() *ManagerMock_Expecter
- func (_m *ManagerMock) Elected() <-chan struct{}
- func (_m *ManagerMock) GetAPIReader() client.Reader
- func (_m *ManagerMock) GetCache() cache.Cache
- func (_m *ManagerMock) GetClient() client.Client
- func (_m *ManagerMock) GetConfig() *rest.Config
- func (_m *ManagerMock) GetControllerOptions() config.Controller
- func (_m *ManagerMock) GetEventRecorderFor(name string) record.EventRecorder
- func (_m *ManagerMock) GetFieldIndexer() client.FieldIndexer
- func (_m *ManagerMock) GetHTTPClient() *http.Client
- func (_m *ManagerMock) GetLogger() logr.Logger
- func (_m *ManagerMock) GetRESTMapper() meta.RESTMapper
- func (_m *ManagerMock) GetScheme() *runtime.Scheme
- func (_m *ManagerMock) GetWebhookServer() webhook.Server
- func (_m *ManagerMock) Start(ctx context.Context) error
- type ManagerMock_AddHealthzCheck_Call
- func (_c *ManagerMock_AddHealthzCheck_Call) Return(_a0 error) *ManagerMock_AddHealthzCheck_Call
- func (_c *ManagerMock_AddHealthzCheck_Call) Run(run func(name string, check healthz.Checker)) *ManagerMock_AddHealthzCheck_Call
- func (_c *ManagerMock_AddHealthzCheck_Call) RunAndReturn(run func(string, healthz.Checker) error) *ManagerMock_AddHealthzCheck_Call
- type ManagerMock_AddReadyzCheck_Call
- func (_c *ManagerMock_AddReadyzCheck_Call) Return(_a0 error) *ManagerMock_AddReadyzCheck_Call
- func (_c *ManagerMock_AddReadyzCheck_Call) Run(run func(name string, check healthz.Checker)) *ManagerMock_AddReadyzCheck_Call
- func (_c *ManagerMock_AddReadyzCheck_Call) RunAndReturn(run func(string, healthz.Checker) error) *ManagerMock_AddReadyzCheck_Call
- type ManagerMock_Add_Call
- type ManagerMock_Elected_Call
- type ManagerMock_Expecter
- func (_e *ManagerMock_Expecter) Add(_a0 interface{}) *ManagerMock_Add_Call
- func (_e *ManagerMock_Expecter) AddHealthzCheck(name interface{}, check interface{}) *ManagerMock_AddHealthzCheck_Call
- func (_e *ManagerMock_Expecter) AddReadyzCheck(name interface{}, check interface{}) *ManagerMock_AddReadyzCheck_Call
- func (_e *ManagerMock_Expecter) Elected() *ManagerMock_Elected_Call
- func (_e *ManagerMock_Expecter) GetAPIReader() *ManagerMock_GetAPIReader_Call
- func (_e *ManagerMock_Expecter) GetCache() *ManagerMock_GetCache_Call
- func (_e *ManagerMock_Expecter) GetClient() *ManagerMock_GetClient_Call
- func (_e *ManagerMock_Expecter) GetConfig() *ManagerMock_GetConfig_Call
- func (_e *ManagerMock_Expecter) GetControllerOptions() *ManagerMock_GetControllerOptions_Call
- func (_e *ManagerMock_Expecter) GetEventRecorderFor(name interface{}) *ManagerMock_GetEventRecorderFor_Call
- func (_e *ManagerMock_Expecter) GetFieldIndexer() *ManagerMock_GetFieldIndexer_Call
- func (_e *ManagerMock_Expecter) GetHTTPClient() *ManagerMock_GetHTTPClient_Call
- func (_e *ManagerMock_Expecter) GetLogger() *ManagerMock_GetLogger_Call
- func (_e *ManagerMock_Expecter) GetRESTMapper() *ManagerMock_GetRESTMapper_Call
- func (_e *ManagerMock_Expecter) GetScheme() *ManagerMock_GetScheme_Call
- func (_e *ManagerMock_Expecter) GetWebhookServer() *ManagerMock_GetWebhookServer_Call
- func (_e *ManagerMock_Expecter) Start(ctx interface{}) *ManagerMock_Start_Call
- type ManagerMock_GetAPIReader_Call
- type ManagerMock_GetCache_Call
- type ManagerMock_GetClient_Call
- type ManagerMock_GetConfig_Call
- type ManagerMock_GetControllerOptions_Call
- func (_c *ManagerMock_GetControllerOptions_Call) Return(_a0 config.Controller) *ManagerMock_GetControllerOptions_Call
- func (_c *ManagerMock_GetControllerOptions_Call) Run(run func()) *ManagerMock_GetControllerOptions_Call
- func (_c *ManagerMock_GetControllerOptions_Call) RunAndReturn(run func() config.Controller) *ManagerMock_GetControllerOptions_Call
- type ManagerMock_GetEventRecorderFor_Call
- func (_c *ManagerMock_GetEventRecorderFor_Call) Return(_a0 record.EventRecorder) *ManagerMock_GetEventRecorderFor_Call
- func (_c *ManagerMock_GetEventRecorderFor_Call) Run(run func(name string)) *ManagerMock_GetEventRecorderFor_Call
- func (_c *ManagerMock_GetEventRecorderFor_Call) RunAndReturn(run func(string) record.EventRecorder) *ManagerMock_GetEventRecorderFor_Call
- type ManagerMock_GetFieldIndexer_Call
- func (_c *ManagerMock_GetFieldIndexer_Call) Return(_a0 client.FieldIndexer) *ManagerMock_GetFieldIndexer_Call
- func (_c *ManagerMock_GetFieldIndexer_Call) Run(run func()) *ManagerMock_GetFieldIndexer_Call
- func (_c *ManagerMock_GetFieldIndexer_Call) RunAndReturn(run func() client.FieldIndexer) *ManagerMock_GetFieldIndexer_Call
- type ManagerMock_GetHTTPClient_Call
- func (_c *ManagerMock_GetHTTPClient_Call) Return(_a0 *http.Client) *ManagerMock_GetHTTPClient_Call
- func (_c *ManagerMock_GetHTTPClient_Call) Run(run func()) *ManagerMock_GetHTTPClient_Call
- func (_c *ManagerMock_GetHTTPClient_Call) RunAndReturn(run func() *http.Client) *ManagerMock_GetHTTPClient_Call
- type ManagerMock_GetLogger_Call
- type ManagerMock_GetRESTMapper_Call
- func (_c *ManagerMock_GetRESTMapper_Call) Return(_a0 meta.RESTMapper) *ManagerMock_GetRESTMapper_Call
- func (_c *ManagerMock_GetRESTMapper_Call) Run(run func()) *ManagerMock_GetRESTMapper_Call
- func (_c *ManagerMock_GetRESTMapper_Call) RunAndReturn(run func() meta.RESTMapper) *ManagerMock_GetRESTMapper_Call
- type ManagerMock_GetScheme_Call
- type ManagerMock_GetWebhookServer_Call
- func (_c *ManagerMock_GetWebhookServer_Call) Return(_a0 webhook.Server) *ManagerMock_GetWebhookServer_Call
- func (_c *ManagerMock_GetWebhookServer_Call) Run(run func()) *ManagerMock_GetWebhookServer_Call
- func (_c *ManagerMock_GetWebhookServer_Call) RunAndReturn(run func() webhook.Server) *ManagerMock_GetWebhookServer_Call
- type ManagerMock_Start_Call
- type ReaderMock
- type ReaderMock_Expecter
- type ReaderMock_Get_Call
- type ReaderMock_List_Call
- type ResourceEventHandlerMock
- func (_m *ResourceEventHandlerMock) EXPECT() *ResourceEventHandlerMock_Expecter
- func (_m *ResourceEventHandlerMock) OnAdd(obj interface{}, isInInitialList bool)
- func (_m *ResourceEventHandlerMock) OnDelete(obj interface{})
- func (_m *ResourceEventHandlerMock) OnUpdate(oldObj interface{}, newObj interface{})
- type ResourceEventHandlerMock_Expecter
- func (_e *ResourceEventHandlerMock_Expecter) OnAdd(obj interface{}, isInInitialList interface{}) *ResourceEventHandlerMock_OnAdd_Call
- func (_e *ResourceEventHandlerMock_Expecter) OnDelete(obj interface{}) *ResourceEventHandlerMock_OnDelete_Call
- func (_e *ResourceEventHandlerMock_Expecter) OnUpdate(oldObj interface{}, newObj interface{}) *ResourceEventHandlerMock_OnUpdate_Call
- type ResourceEventHandlerMock_OnAdd_Call
- func (_c *ResourceEventHandlerMock_OnAdd_Call) Return() *ResourceEventHandlerMock_OnAdd_Call
- func (_c *ResourceEventHandlerMock_OnAdd_Call) Run(run func(obj interface{}, isInInitialList bool)) *ResourceEventHandlerMock_OnAdd_Call
- func (_c *ResourceEventHandlerMock_OnAdd_Call) RunAndReturn(run func(interface{}, bool)) *ResourceEventHandlerMock_OnAdd_Call
- type ResourceEventHandlerMock_OnDelete_Call
- func (_c *ResourceEventHandlerMock_OnDelete_Call) Return() *ResourceEventHandlerMock_OnDelete_Call
- func (_c *ResourceEventHandlerMock_OnDelete_Call) Run(run func(obj interface{})) *ResourceEventHandlerMock_OnDelete_Call
- func (_c *ResourceEventHandlerMock_OnDelete_Call) RunAndReturn(run func(interface{})) *ResourceEventHandlerMock_OnDelete_Call
- type ResourceEventHandlerMock_OnUpdate_Call
- func (_c *ResourceEventHandlerMock_OnUpdate_Call) Return() *ResourceEventHandlerMock_OnUpdate_Call
- func (_c *ResourceEventHandlerMock_OnUpdate_Call) Run(run func(oldObj interface{}, newObj interface{})) *ResourceEventHandlerMock_OnUpdate_Call
- func (_c *ResourceEventHandlerMock_OnUpdate_Call) RunAndReturn(run func(interface{}, interface{})) *ResourceEventHandlerMock_OnUpdate_Call
- type RoundTripperMock
- type RoundTripperMock_Expecter
- type RoundTripperMock_RoundTrip_Call
- func (_c *RoundTripperMock_RoundTrip_Call) Return(_a0 *http.Response, _a1 error) *RoundTripperMock_RoundTrip_Call
- func (_c *RoundTripperMock_RoundTrip_Call) Run(run func(_a0 *http.Request)) *RoundTripperMock_RoundTrip_Call
- func (_c *RoundTripperMock_RoundTrip_Call) RunAndReturn(run func(*http.Request) (*http.Response, error)) *RoundTripperMock_RoundTrip_Call
- type RuntimeControllerMock
- func (_m *RuntimeControllerMock) EXPECT() *RuntimeControllerMock_Expecter
- func (_m *RuntimeControllerMock) GetLogger() logr.Logger
- func (_m *RuntimeControllerMock) Reconcile(_a0 context.Context, _a1 reconcile.Request) (reconcile.Result, error)
- func (_m *RuntimeControllerMock) Start(ctx context.Context) error
- func (_m *RuntimeControllerMock) Watch(src source.Source, eventhandler handler.EventHandler, ...) error
- type RuntimeControllerMock_Expecter
- func (_e *RuntimeControllerMock_Expecter) GetLogger() *RuntimeControllerMock_GetLogger_Call
- func (_e *RuntimeControllerMock_Expecter) Reconcile(_a0 interface{}, _a1 interface{}) *RuntimeControllerMock_Reconcile_Call
- func (_e *RuntimeControllerMock_Expecter) Start(ctx interface{}) *RuntimeControllerMock_Start_Call
- func (_e *RuntimeControllerMock_Expecter) Watch(src interface{}, eventhandler interface{}, predicates ...interface{}) *RuntimeControllerMock_Watch_Call
- type RuntimeControllerMock_GetLogger_Call
- func (_c *RuntimeControllerMock_GetLogger_Call) Return(_a0 logr.Logger) *RuntimeControllerMock_GetLogger_Call
- func (_c *RuntimeControllerMock_GetLogger_Call) Run(run func()) *RuntimeControllerMock_GetLogger_Call
- func (_c *RuntimeControllerMock_GetLogger_Call) RunAndReturn(run func() logr.Logger) *RuntimeControllerMock_GetLogger_Call
- type RuntimeControllerMock_Reconcile_Call
- func (_c *RuntimeControllerMock_Reconcile_Call) Return(_a0 reconcile.Result, _a1 error) *RuntimeControllerMock_Reconcile_Call
- func (_c *RuntimeControllerMock_Reconcile_Call) Run(run func(_a0 context.Context, _a1 reconcile.Request)) *RuntimeControllerMock_Reconcile_Call
- func (_c *RuntimeControllerMock_Reconcile_Call) RunAndReturn(run func(context.Context, reconcile.Request) (reconcile.Result, error)) *RuntimeControllerMock_Reconcile_Call
- type RuntimeControllerMock_Start_Call
- func (_c *RuntimeControllerMock_Start_Call) Return(_a0 error) *RuntimeControllerMock_Start_Call
- func (_c *RuntimeControllerMock_Start_Call) Run(run func(ctx context.Context)) *RuntimeControllerMock_Start_Call
- func (_c *RuntimeControllerMock_Start_Call) RunAndReturn(run func(context.Context) error) *RuntimeControllerMock_Start_Call
- type RuntimeControllerMock_Watch_Call
- func (_c *RuntimeControllerMock_Watch_Call) Return(_a0 error) *RuntimeControllerMock_Watch_Call
- func (_c *RuntimeControllerMock_Watch_Call) Run(run func(src source.Source, eventhandler handler.EventHandler, ...)) *RuntimeControllerMock_Watch_Call
- func (_c *RuntimeControllerMock_Watch_Call) RunAndReturn(run func(source.Source, handler.EventHandler, ...predicate.Predicate) error) *RuntimeControllerMock_Watch_Call
- type StatFSMock
- type StatFSMock_Expecter
- type StatFSMock_Open_Call
- type StatFSMock_Stat_Call
- type SyncingSourceMock
- type SyncingSourceMock_Expecter
- type SyncingSourceMock_Start_Call
- func (_c *SyncingSourceMock_Start_Call) Return(_a0 error) *SyncingSourceMock_Start_Call
- func (_c *SyncingSourceMock_Start_Call) Run(run func(_a0 context.Context, _a1 handler.EventHandler, ...)) *SyncingSourceMock_Start_Call
- func (_c *SyncingSourceMock_Start_Call) RunAndReturn(...) *SyncingSourceMock_Start_Call
- type SyncingSourceMock_WaitForSync_Call
- func (_c *SyncingSourceMock_WaitForSync_Call) Return(_a0 error) *SyncingSourceMock_WaitForSync_Call
- func (_c *SyncingSourceMock_WaitForSync_Call) Run(run func(ctx context.Context)) *SyncingSourceMock_WaitForSync_Call
- func (_c *SyncingSourceMock_WaitForSync_Call) RunAndReturn(run func(context.Context) error) *SyncingSourceMock_WaitForSync_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheInformerMock ¶
CacheInformerMock is an autogenerated mock type for the Informer type
func NewCacheInformerMock ¶
func NewCacheInformerMock(t interface { mock.TestingT Cleanup(func()) }) *CacheInformerMock
NewCacheInformerMock creates a new instance of CacheInformerMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CacheInformerMock) AddEventHandler ¶
func (_m *CacheInformerMock) AddEventHandler(handler cache.ResourceEventHandler) (cache.ResourceEventHandlerRegistration, error)
AddEventHandler provides a mock function with given fields: handler
func (*CacheInformerMock) AddEventHandlerWithResyncPeriod ¶
func (_m *CacheInformerMock) AddEventHandlerWithResyncPeriod(handler cache.ResourceEventHandler, resyncPeriod time.Duration) (cache.ResourceEventHandlerRegistration, error)
AddEventHandlerWithResyncPeriod provides a mock function with given fields: handler, resyncPeriod
func (*CacheInformerMock) AddIndexers ¶
func (_m *CacheInformerMock) AddIndexers(indexers cache.Indexers) error
AddIndexers provides a mock function with given fields: indexers
func (*CacheInformerMock) EXPECT ¶
func (_m *CacheInformerMock) EXPECT() *CacheInformerMock_Expecter
func (*CacheInformerMock) HasSynced ¶
func (_m *CacheInformerMock) HasSynced() bool
HasSynced provides a mock function with given fields:
func (*CacheInformerMock) IsStopped ¶
func (_m *CacheInformerMock) IsStopped() bool
IsStopped provides a mock function with given fields:
func (*CacheInformerMock) RemoveEventHandler ¶
func (_m *CacheInformerMock) RemoveEventHandler(handle cache.ResourceEventHandlerRegistration) error
RemoveEventHandler provides a mock function with given fields: handle
type CacheInformerMock_AddEventHandlerWithResyncPeriod_Call ¶
CacheInformerMock_AddEventHandlerWithResyncPeriod_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddEventHandlerWithResyncPeriod'
func (*CacheInformerMock_AddEventHandlerWithResyncPeriod_Call) Run ¶
func (_c *CacheInformerMock_AddEventHandlerWithResyncPeriod_Call) Run(run func(handler cache.ResourceEventHandler, resyncPeriod time.Duration)) *CacheInformerMock_AddEventHandlerWithResyncPeriod_Call
func (*CacheInformerMock_AddEventHandlerWithResyncPeriod_Call) RunAndReturn ¶
func (_c *CacheInformerMock_AddEventHandlerWithResyncPeriod_Call) RunAndReturn(run func(cache.ResourceEventHandler, time.Duration) (cache.ResourceEventHandlerRegistration, error)) *CacheInformerMock_AddEventHandlerWithResyncPeriod_Call
type CacheInformerMock_AddEventHandler_Call ¶
CacheInformerMock_AddEventHandler_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddEventHandler'
func (*CacheInformerMock_AddEventHandler_Call) Return ¶
func (_c *CacheInformerMock_AddEventHandler_Call) Return(_a0 cache.ResourceEventHandlerRegistration, _a1 error) *CacheInformerMock_AddEventHandler_Call
func (*CacheInformerMock_AddEventHandler_Call) Run ¶
func (_c *CacheInformerMock_AddEventHandler_Call) Run(run func(handler cache.ResourceEventHandler)) *CacheInformerMock_AddEventHandler_Call
func (*CacheInformerMock_AddEventHandler_Call) RunAndReturn ¶
func (_c *CacheInformerMock_AddEventHandler_Call) RunAndReturn(run func(cache.ResourceEventHandler) (cache.ResourceEventHandlerRegistration, error)) *CacheInformerMock_AddEventHandler_Call
type CacheInformerMock_AddIndexers_Call ¶
CacheInformerMock_AddIndexers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddIndexers'
func (*CacheInformerMock_AddIndexers_Call) Return ¶
func (_c *CacheInformerMock_AddIndexers_Call) Return(_a0 error) *CacheInformerMock_AddIndexers_Call
func (*CacheInformerMock_AddIndexers_Call) Run ¶
func (_c *CacheInformerMock_AddIndexers_Call) Run(run func(indexers cache.Indexers)) *CacheInformerMock_AddIndexers_Call
func (*CacheInformerMock_AddIndexers_Call) RunAndReturn ¶
func (_c *CacheInformerMock_AddIndexers_Call) RunAndReturn(run func(cache.Indexers) error) *CacheInformerMock_AddIndexers_Call
type CacheInformerMock_Expecter ¶
type CacheInformerMock_Expecter struct {
// contains filtered or unexported fields
}
func (*CacheInformerMock_Expecter) AddEventHandler ¶
func (_e *CacheInformerMock_Expecter) AddEventHandler(handler interface{}) *CacheInformerMock_AddEventHandler_Call
AddEventHandler is a helper method to define mock.On call
- handler cache.ResourceEventHandler
func (*CacheInformerMock_Expecter) AddEventHandlerWithResyncPeriod ¶
func (_e *CacheInformerMock_Expecter) AddEventHandlerWithResyncPeriod(handler interface{}, resyncPeriod interface{}) *CacheInformerMock_AddEventHandlerWithResyncPeriod_Call
AddEventHandlerWithResyncPeriod is a helper method to define mock.On call
- handler cache.ResourceEventHandler
- resyncPeriod time.Duration
func (*CacheInformerMock_Expecter) AddIndexers ¶
func (_e *CacheInformerMock_Expecter) AddIndexers(indexers interface{}) *CacheInformerMock_AddIndexers_Call
AddIndexers is a helper method to define mock.On call
- indexers cache.Indexers
func (*CacheInformerMock_Expecter) HasSynced ¶
func (_e *CacheInformerMock_Expecter) HasSynced() *CacheInformerMock_HasSynced_Call
HasSynced is a helper method to define mock.On call
func (*CacheInformerMock_Expecter) IsStopped ¶
func (_e *CacheInformerMock_Expecter) IsStopped() *CacheInformerMock_IsStopped_Call
IsStopped is a helper method to define mock.On call
func (*CacheInformerMock_Expecter) RemoveEventHandler ¶
func (_e *CacheInformerMock_Expecter) RemoveEventHandler(handle interface{}) *CacheInformerMock_RemoveEventHandler_Call
RemoveEventHandler is a helper method to define mock.On call
- handle cache.ResourceEventHandlerRegistration
type CacheInformerMock_HasSynced_Call ¶
CacheInformerMock_HasSynced_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasSynced'
func (*CacheInformerMock_HasSynced_Call) Return ¶
func (_c *CacheInformerMock_HasSynced_Call) Return(_a0 bool) *CacheInformerMock_HasSynced_Call
func (*CacheInformerMock_HasSynced_Call) Run ¶
func (_c *CacheInformerMock_HasSynced_Call) Run(run func()) *CacheInformerMock_HasSynced_Call
func (*CacheInformerMock_HasSynced_Call) RunAndReturn ¶
func (_c *CacheInformerMock_HasSynced_Call) RunAndReturn(run func() bool) *CacheInformerMock_HasSynced_Call
type CacheInformerMock_IsStopped_Call ¶
CacheInformerMock_IsStopped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsStopped'
func (*CacheInformerMock_IsStopped_Call) Return ¶
func (_c *CacheInformerMock_IsStopped_Call) Return(_a0 bool) *CacheInformerMock_IsStopped_Call
func (*CacheInformerMock_IsStopped_Call) Run ¶
func (_c *CacheInformerMock_IsStopped_Call) Run(run func()) *CacheInformerMock_IsStopped_Call
func (*CacheInformerMock_IsStopped_Call) RunAndReturn ¶
func (_c *CacheInformerMock_IsStopped_Call) RunAndReturn(run func() bool) *CacheInformerMock_IsStopped_Call
type CacheInformerMock_RemoveEventHandler_Call ¶
CacheInformerMock_RemoveEventHandler_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveEventHandler'
func (*CacheInformerMock_RemoveEventHandler_Call) Return ¶
func (_c *CacheInformerMock_RemoveEventHandler_Call) Return(_a0 error) *CacheInformerMock_RemoveEventHandler_Call
func (*CacheInformerMock_RemoveEventHandler_Call) Run ¶
func (_c *CacheInformerMock_RemoveEventHandler_Call) Run(run func(handle cache.ResourceEventHandlerRegistration)) *CacheInformerMock_RemoveEventHandler_Call
func (*CacheInformerMock_RemoveEventHandler_Call) RunAndReturn ¶
func (_c *CacheInformerMock_RemoveEventHandler_Call) RunAndReturn(run func(cache.ResourceEventHandlerRegistration) error) *CacheInformerMock_RemoveEventHandler_Call
type CacheWatcherMock ¶
CacheWatcherMock is an autogenerated mock type for the Watcher type
func NewCacheWatcherMock ¶
func NewCacheWatcherMock(t interface { mock.TestingT Cleanup(func()) }) *CacheWatcherMock
NewCacheWatcherMock creates a new instance of CacheWatcherMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CacheWatcherMock) EXPECT ¶
func (_m *CacheWatcherMock) EXPECT() *CacheWatcherMock_Expecter
func (*CacheWatcherMock) Watch ¶
func (_m *CacheWatcherMock) Watch(options v1.ListOptions) (watch.Interface, error)
Watch provides a mock function with given fields: options
type CacheWatcherMock_Expecter ¶
type CacheWatcherMock_Expecter struct {
// contains filtered or unexported fields
}
func (*CacheWatcherMock_Expecter) Watch ¶
func (_e *CacheWatcherMock_Expecter) Watch(options interface{}) *CacheWatcherMock_Watch_Call
Watch is a helper method to define mock.On call
- options v1.ListOptions
type CacheWatcherMock_Watch_Call ¶
CacheWatcherMock_Watch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Watch'
func (*CacheWatcherMock_Watch_Call) Return ¶
func (_c *CacheWatcherMock_Watch_Call) Return(_a0 watch.Interface, _a1 error) *CacheWatcherMock_Watch_Call
func (*CacheWatcherMock_Watch_Call) Run ¶
func (_c *CacheWatcherMock_Watch_Call) Run(run func(options v1.ListOptions)) *CacheWatcherMock_Watch_Call
func (*CacheWatcherMock_Watch_Call) RunAndReturn ¶
func (_c *CacheWatcherMock_Watch_Call) RunAndReturn(run func(v1.ListOptions) (watch.Interface, error)) *CacheWatcherMock_Watch_Call
type ClientStatsdMock ¶
ClientStatsdMock is an autogenerated mock type for the ClientInterface type
func NewClientStatsdMock ¶
func NewClientStatsdMock(t interface { mock.TestingT Cleanup(func()) }) *ClientStatsdMock
NewClientStatsdMock creates a new instance of ClientStatsdMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ClientStatsdMock) Close ¶
func (_m *ClientStatsdMock) Close() error
Close provides a mock function with given fields:
func (*ClientStatsdMock) Count ¶
Count provides a mock function with given fields: name, value, tags, rate
func (*ClientStatsdMock) Decr ¶
func (_m *ClientStatsdMock) Decr(name string, tags []string, rate float64) error
Decr provides a mock function with given fields: name, tags, rate
func (*ClientStatsdMock) Distribution ¶
func (_m *ClientStatsdMock) Distribution(name string, value float64, tags []string, rate float64) error
Distribution provides a mock function with given fields: name, value, tags, rate
func (*ClientStatsdMock) EXPECT ¶
func (_m *ClientStatsdMock) EXPECT() *ClientStatsdMock_Expecter
func (*ClientStatsdMock) Event ¶
func (_m *ClientStatsdMock) Event(e *statsd.Event) error
Event provides a mock function with given fields: e
func (*ClientStatsdMock) Flush ¶
func (_m *ClientStatsdMock) Flush() error
Flush provides a mock function with given fields:
func (*ClientStatsdMock) Gauge ¶
Gauge provides a mock function with given fields: name, value, tags, rate
func (*ClientStatsdMock) Histogram ¶
func (_m *ClientStatsdMock) Histogram(name string, value float64, tags []string, rate float64) error
Histogram provides a mock function with given fields: name, value, tags, rate
func (*ClientStatsdMock) Incr ¶
func (_m *ClientStatsdMock) Incr(name string, tags []string, rate float64) error
Incr provides a mock function with given fields: name, tags, rate
func (*ClientStatsdMock) ServiceCheck ¶
func (_m *ClientStatsdMock) ServiceCheck(sc *statsd.ServiceCheck) error
ServiceCheck provides a mock function with given fields: sc
func (*ClientStatsdMock) Set ¶
Set provides a mock function with given fields: name, value, tags, rate
func (*ClientStatsdMock) SetWriteTimeout ¶
func (_m *ClientStatsdMock) SetWriteTimeout(d time.Duration) error
SetWriteTimeout provides a mock function with given fields: d
func (*ClientStatsdMock) SimpleEvent ¶
func (_m *ClientStatsdMock) SimpleEvent(title string, text string) error
SimpleEvent provides a mock function with given fields: title, text
func (*ClientStatsdMock) SimpleServiceCheck ¶
func (_m *ClientStatsdMock) SimpleServiceCheck(name string, status statsd.ServiceCheckStatus) error
SimpleServiceCheck provides a mock function with given fields: name, status
func (*ClientStatsdMock) TimeInMilliseconds ¶
func (_m *ClientStatsdMock) TimeInMilliseconds(name string, value float64, tags []string, rate float64) error
TimeInMilliseconds provides a mock function with given fields: name, value, tags, rate
type ClientStatsdMock_Close_Call ¶
ClientStatsdMock_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*ClientStatsdMock_Close_Call) Return ¶
func (_c *ClientStatsdMock_Close_Call) Return(_a0 error) *ClientStatsdMock_Close_Call
func (*ClientStatsdMock_Close_Call) Run ¶
func (_c *ClientStatsdMock_Close_Call) Run(run func()) *ClientStatsdMock_Close_Call
func (*ClientStatsdMock_Close_Call) RunAndReturn ¶
func (_c *ClientStatsdMock_Close_Call) RunAndReturn(run func() error) *ClientStatsdMock_Close_Call
type ClientStatsdMock_Count_Call ¶
ClientStatsdMock_Count_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Count'
func (*ClientStatsdMock_Count_Call) Return ¶
func (_c *ClientStatsdMock_Count_Call) Return(_a0 error) *ClientStatsdMock_Count_Call
func (*ClientStatsdMock_Count_Call) Run ¶
func (_c *ClientStatsdMock_Count_Call) Run(run func(name string, value int64, tags []string, rate float64)) *ClientStatsdMock_Count_Call
func (*ClientStatsdMock_Count_Call) RunAndReturn ¶
func (_c *ClientStatsdMock_Count_Call) RunAndReturn(run func(string, int64, []string, float64) error) *ClientStatsdMock_Count_Call
type ClientStatsdMock_Decr_Call ¶
ClientStatsdMock_Decr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Decr'
func (*ClientStatsdMock_Decr_Call) Return ¶
func (_c *ClientStatsdMock_Decr_Call) Return(_a0 error) *ClientStatsdMock_Decr_Call
func (*ClientStatsdMock_Decr_Call) Run ¶
func (_c *ClientStatsdMock_Decr_Call) Run(run func(name string, tags []string, rate float64)) *ClientStatsdMock_Decr_Call
func (*ClientStatsdMock_Decr_Call) RunAndReturn ¶
func (_c *ClientStatsdMock_Decr_Call) RunAndReturn(run func(string, []string, float64) error) *ClientStatsdMock_Decr_Call
type ClientStatsdMock_Distribution_Call ¶
ClientStatsdMock_Distribution_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Distribution'
func (*ClientStatsdMock_Distribution_Call) Return ¶
func (_c *ClientStatsdMock_Distribution_Call) Return(_a0 error) *ClientStatsdMock_Distribution_Call
func (*ClientStatsdMock_Distribution_Call) Run ¶
func (_c *ClientStatsdMock_Distribution_Call) Run(run func(name string, value float64, tags []string, rate float64)) *ClientStatsdMock_Distribution_Call
func (*ClientStatsdMock_Distribution_Call) RunAndReturn ¶
func (_c *ClientStatsdMock_Distribution_Call) RunAndReturn(run func(string, float64, []string, float64) error) *ClientStatsdMock_Distribution_Call
type ClientStatsdMock_Event_Call ¶
ClientStatsdMock_Event_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Event'
func (*ClientStatsdMock_Event_Call) Return ¶
func (_c *ClientStatsdMock_Event_Call) Return(_a0 error) *ClientStatsdMock_Event_Call
func (*ClientStatsdMock_Event_Call) Run ¶
func (_c *ClientStatsdMock_Event_Call) Run(run func(e *statsd.Event)) *ClientStatsdMock_Event_Call
func (*ClientStatsdMock_Event_Call) RunAndReturn ¶
func (_c *ClientStatsdMock_Event_Call) RunAndReturn(run func(*statsd.Event) error) *ClientStatsdMock_Event_Call
type ClientStatsdMock_Expecter ¶
type ClientStatsdMock_Expecter struct {
// contains filtered or unexported fields
}
func (*ClientStatsdMock_Expecter) Close ¶
func (_e *ClientStatsdMock_Expecter) Close() *ClientStatsdMock_Close_Call
Close is a helper method to define mock.On call
func (*ClientStatsdMock_Expecter) Count ¶
func (_e *ClientStatsdMock_Expecter) Count(name interface{}, value interface{}, tags interface{}, rate interface{}) *ClientStatsdMock_Count_Call
Count is a helper method to define mock.On call
- name string
- value int64
- tags []string
- rate float64
func (*ClientStatsdMock_Expecter) Decr ¶
func (_e *ClientStatsdMock_Expecter) Decr(name interface{}, tags interface{}, rate interface{}) *ClientStatsdMock_Decr_Call
Decr is a helper method to define mock.On call
- name string
- tags []string
- rate float64
func (*ClientStatsdMock_Expecter) Distribution ¶
func (_e *ClientStatsdMock_Expecter) Distribution(name interface{}, value interface{}, tags interface{}, rate interface{}) *ClientStatsdMock_Distribution_Call
Distribution is a helper method to define mock.On call
- name string
- value float64
- tags []string
- rate float64
func (*ClientStatsdMock_Expecter) Event ¶
func (_e *ClientStatsdMock_Expecter) Event(e interface{}) *ClientStatsdMock_Event_Call
Event is a helper method to define mock.On call
- e *statsd.Event
func (*ClientStatsdMock_Expecter) Flush ¶
func (_e *ClientStatsdMock_Expecter) Flush() *ClientStatsdMock_Flush_Call
Flush is a helper method to define mock.On call
func (*ClientStatsdMock_Expecter) Gauge ¶
func (_e *ClientStatsdMock_Expecter) Gauge(name interface{}, value interface{}, tags interface{}, rate interface{}) *ClientStatsdMock_Gauge_Call
Gauge is a helper method to define mock.On call
- name string
- value float64
- tags []string
- rate float64
func (*ClientStatsdMock_Expecter) Histogram ¶
func (_e *ClientStatsdMock_Expecter) Histogram(name interface{}, value interface{}, tags interface{}, rate interface{}) *ClientStatsdMock_Histogram_Call
Histogram is a helper method to define mock.On call
- name string
- value float64
- tags []string
- rate float64
func (*ClientStatsdMock_Expecter) Incr ¶
func (_e *ClientStatsdMock_Expecter) Incr(name interface{}, tags interface{}, rate interface{}) *ClientStatsdMock_Incr_Call
Incr is a helper method to define mock.On call
- name string
- tags []string
- rate float64
func (*ClientStatsdMock_Expecter) ServiceCheck ¶
func (_e *ClientStatsdMock_Expecter) ServiceCheck(sc interface{}) *ClientStatsdMock_ServiceCheck_Call
ServiceCheck is a helper method to define mock.On call
- sc *statsd.ServiceCheck
func (*ClientStatsdMock_Expecter) Set ¶
func (_e *ClientStatsdMock_Expecter) Set(name interface{}, value interface{}, tags interface{}, rate interface{}) *ClientStatsdMock_Set_Call
Set is a helper method to define mock.On call
- name string
- value string
- tags []string
- rate float64
func (*ClientStatsdMock_Expecter) SetWriteTimeout ¶
func (_e *ClientStatsdMock_Expecter) SetWriteTimeout(d interface{}) *ClientStatsdMock_SetWriteTimeout_Call
SetWriteTimeout is a helper method to define mock.On call
- d time.Duration
func (*ClientStatsdMock_Expecter) SimpleEvent ¶
func (_e *ClientStatsdMock_Expecter) SimpleEvent(title interface{}, text interface{}) *ClientStatsdMock_SimpleEvent_Call
SimpleEvent is a helper method to define mock.On call
- title string
- text string
func (*ClientStatsdMock_Expecter) SimpleServiceCheck ¶
func (_e *ClientStatsdMock_Expecter) SimpleServiceCheck(name interface{}, status interface{}) *ClientStatsdMock_SimpleServiceCheck_Call
SimpleServiceCheck is a helper method to define mock.On call
- name string
- status statsd.ServiceCheckStatus
func (*ClientStatsdMock_Expecter) TimeInMilliseconds ¶
func (_e *ClientStatsdMock_Expecter) TimeInMilliseconds(name interface{}, value interface{}, tags interface{}, rate interface{}) *ClientStatsdMock_TimeInMilliseconds_Call
TimeInMilliseconds is a helper method to define mock.On call
- name string
- value float64
- tags []string
- rate float64
func (*ClientStatsdMock_Expecter) Timing ¶
func (_e *ClientStatsdMock_Expecter) Timing(name interface{}, value interface{}, tags interface{}, rate interface{}) *ClientStatsdMock_Timing_Call
Timing is a helper method to define mock.On call
- name string
- value time.Duration
- tags []string
- rate float64
type ClientStatsdMock_Flush_Call ¶
ClientStatsdMock_Flush_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Flush'
func (*ClientStatsdMock_Flush_Call) Return ¶
func (_c *ClientStatsdMock_Flush_Call) Return(_a0 error) *ClientStatsdMock_Flush_Call
func (*ClientStatsdMock_Flush_Call) Run ¶
func (_c *ClientStatsdMock_Flush_Call) Run(run func()) *ClientStatsdMock_Flush_Call
func (*ClientStatsdMock_Flush_Call) RunAndReturn ¶
func (_c *ClientStatsdMock_Flush_Call) RunAndReturn(run func() error) *ClientStatsdMock_Flush_Call
type ClientStatsdMock_Gauge_Call ¶
ClientStatsdMock_Gauge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Gauge'
func (*ClientStatsdMock_Gauge_Call) Return ¶
func (_c *ClientStatsdMock_Gauge_Call) Return(_a0 error) *ClientStatsdMock_Gauge_Call
func (*ClientStatsdMock_Gauge_Call) Run ¶
func (_c *ClientStatsdMock_Gauge_Call) Run(run func(name string, value float64, tags []string, rate float64)) *ClientStatsdMock_Gauge_Call
func (*ClientStatsdMock_Gauge_Call) RunAndReturn ¶
func (_c *ClientStatsdMock_Gauge_Call) RunAndReturn(run func(string, float64, []string, float64) error) *ClientStatsdMock_Gauge_Call
type ClientStatsdMock_Histogram_Call ¶
ClientStatsdMock_Histogram_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Histogram'
func (*ClientStatsdMock_Histogram_Call) Return ¶
func (_c *ClientStatsdMock_Histogram_Call) Return(_a0 error) *ClientStatsdMock_Histogram_Call
func (*ClientStatsdMock_Histogram_Call) Run ¶
func (_c *ClientStatsdMock_Histogram_Call) Run(run func(name string, value float64, tags []string, rate float64)) *ClientStatsdMock_Histogram_Call
func (*ClientStatsdMock_Histogram_Call) RunAndReturn ¶
func (_c *ClientStatsdMock_Histogram_Call) RunAndReturn(run func(string, float64, []string, float64) error) *ClientStatsdMock_Histogram_Call
type ClientStatsdMock_Incr_Call ¶
ClientStatsdMock_Incr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Incr'
func (*ClientStatsdMock_Incr_Call) Return ¶
func (_c *ClientStatsdMock_Incr_Call) Return(_a0 error) *ClientStatsdMock_Incr_Call
func (*ClientStatsdMock_Incr_Call) Run ¶
func (_c *ClientStatsdMock_Incr_Call) Run(run func(name string, tags []string, rate float64)) *ClientStatsdMock_Incr_Call
func (*ClientStatsdMock_Incr_Call) RunAndReturn ¶
func (_c *ClientStatsdMock_Incr_Call) RunAndReturn(run func(string, []string, float64) error) *ClientStatsdMock_Incr_Call
type ClientStatsdMock_ServiceCheck_Call ¶
ClientStatsdMock_ServiceCheck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ServiceCheck'
func (*ClientStatsdMock_ServiceCheck_Call) Return ¶
func (_c *ClientStatsdMock_ServiceCheck_Call) Return(_a0 error) *ClientStatsdMock_ServiceCheck_Call
func (*ClientStatsdMock_ServiceCheck_Call) Run ¶
func (_c *ClientStatsdMock_ServiceCheck_Call) Run(run func(sc *statsd.ServiceCheck)) *ClientStatsdMock_ServiceCheck_Call
func (*ClientStatsdMock_ServiceCheck_Call) RunAndReturn ¶
func (_c *ClientStatsdMock_ServiceCheck_Call) RunAndReturn(run func(*statsd.ServiceCheck) error) *ClientStatsdMock_ServiceCheck_Call
type ClientStatsdMock_SetWriteTimeout_Call ¶
ClientStatsdMock_SetWriteTimeout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetWriteTimeout'
func (*ClientStatsdMock_SetWriteTimeout_Call) Return ¶
func (_c *ClientStatsdMock_SetWriteTimeout_Call) Return(_a0 error) *ClientStatsdMock_SetWriteTimeout_Call
func (*ClientStatsdMock_SetWriteTimeout_Call) Run ¶
func (_c *ClientStatsdMock_SetWriteTimeout_Call) Run(run func(d time.Duration)) *ClientStatsdMock_SetWriteTimeout_Call
func (*ClientStatsdMock_SetWriteTimeout_Call) RunAndReturn ¶
func (_c *ClientStatsdMock_SetWriteTimeout_Call) RunAndReturn(run func(time.Duration) error) *ClientStatsdMock_SetWriteTimeout_Call
type ClientStatsdMock_Set_Call ¶
ClientStatsdMock_Set_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Set'
func (*ClientStatsdMock_Set_Call) Return ¶
func (_c *ClientStatsdMock_Set_Call) Return(_a0 error) *ClientStatsdMock_Set_Call
func (*ClientStatsdMock_Set_Call) Run ¶
func (_c *ClientStatsdMock_Set_Call) Run(run func(name string, value string, tags []string, rate float64)) *ClientStatsdMock_Set_Call
func (*ClientStatsdMock_Set_Call) RunAndReturn ¶
func (_c *ClientStatsdMock_Set_Call) RunAndReturn(run func(string, string, []string, float64) error) *ClientStatsdMock_Set_Call
type ClientStatsdMock_SimpleEvent_Call ¶
ClientStatsdMock_SimpleEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SimpleEvent'
func (*ClientStatsdMock_SimpleEvent_Call) Return ¶
func (_c *ClientStatsdMock_SimpleEvent_Call) Return(_a0 error) *ClientStatsdMock_SimpleEvent_Call
func (*ClientStatsdMock_SimpleEvent_Call) Run ¶
func (_c *ClientStatsdMock_SimpleEvent_Call) Run(run func(title string, text string)) *ClientStatsdMock_SimpleEvent_Call
func (*ClientStatsdMock_SimpleEvent_Call) RunAndReturn ¶
func (_c *ClientStatsdMock_SimpleEvent_Call) RunAndReturn(run func(string, string) error) *ClientStatsdMock_SimpleEvent_Call
type ClientStatsdMock_SimpleServiceCheck_Call ¶
ClientStatsdMock_SimpleServiceCheck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SimpleServiceCheck'
func (*ClientStatsdMock_SimpleServiceCheck_Call) Return ¶
func (_c *ClientStatsdMock_SimpleServiceCheck_Call) Return(_a0 error) *ClientStatsdMock_SimpleServiceCheck_Call
func (*ClientStatsdMock_SimpleServiceCheck_Call) Run ¶
func (_c *ClientStatsdMock_SimpleServiceCheck_Call) Run(run func(name string, status statsd.ServiceCheckStatus)) *ClientStatsdMock_SimpleServiceCheck_Call
func (*ClientStatsdMock_SimpleServiceCheck_Call) RunAndReturn ¶
func (_c *ClientStatsdMock_SimpleServiceCheck_Call) RunAndReturn(run func(string, statsd.ServiceCheckStatus) error) *ClientStatsdMock_SimpleServiceCheck_Call
type ClientStatsdMock_TimeInMilliseconds_Call ¶
ClientStatsdMock_TimeInMilliseconds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TimeInMilliseconds'
func (*ClientStatsdMock_TimeInMilliseconds_Call) Return ¶
func (_c *ClientStatsdMock_TimeInMilliseconds_Call) Return(_a0 error) *ClientStatsdMock_TimeInMilliseconds_Call
func (*ClientStatsdMock_TimeInMilliseconds_Call) Run ¶
func (_c *ClientStatsdMock_TimeInMilliseconds_Call) Run(run func(name string, value float64, tags []string, rate float64)) *ClientStatsdMock_TimeInMilliseconds_Call
func (*ClientStatsdMock_TimeInMilliseconds_Call) RunAndReturn ¶
func (_c *ClientStatsdMock_TimeInMilliseconds_Call) RunAndReturn(run func(string, float64, []string, float64) error) *ClientStatsdMock_TimeInMilliseconds_Call
type ClientStatsdMock_Timing_Call ¶
ClientStatsdMock_Timing_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Timing'
func (*ClientStatsdMock_Timing_Call) Return ¶
func (_c *ClientStatsdMock_Timing_Call) Return(_a0 error) *ClientStatsdMock_Timing_Call
func (*ClientStatsdMock_Timing_Call) Run ¶
func (_c *ClientStatsdMock_Timing_Call) Run(run func(name string, value time.Duration, tags []string, rate float64)) *ClientStatsdMock_Timing_Call
func (*ClientStatsdMock_Timing_Call) RunAndReturn ¶
func (_c *ClientStatsdMock_Timing_Call) RunAndReturn(run func(string, time.Duration, []string, float64) error) *ClientStatsdMock_Timing_Call
type EventBroadcasterMock ¶
EventBroadcasterMock is an autogenerated mock type for the EventBroadcaster type
func NewEventBroadcasterMock ¶
func NewEventBroadcasterMock(t interface { mock.TestingT Cleanup(func()) }) *EventBroadcasterMock
NewEventBroadcasterMock creates a new instance of EventBroadcasterMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*EventBroadcasterMock) EXPECT ¶
func (_m *EventBroadcasterMock) EXPECT() *EventBroadcasterMock_Expecter
func (*EventBroadcasterMock) NewRecorder ¶
func (_m *EventBroadcasterMock) NewRecorder(scheme *runtime.Scheme, source v1.EventSource) record.EventRecorderLogger
NewRecorder provides a mock function with given fields: scheme, source
func (*EventBroadcasterMock) Shutdown ¶
func (_m *EventBroadcasterMock) Shutdown()
Shutdown provides a mock function with given fields:
func (*EventBroadcasterMock) StartEventWatcher ¶
func (_m *EventBroadcasterMock) StartEventWatcher(eventHandler func(*v1.Event)) watch.Interface
StartEventWatcher provides a mock function with given fields: eventHandler
func (*EventBroadcasterMock) StartLogging ¶
func (_m *EventBroadcasterMock) StartLogging(logf func(string, ...interface{})) watch.Interface
StartLogging provides a mock function with given fields: logf
func (*EventBroadcasterMock) StartRecordingToSink ¶
func (_m *EventBroadcasterMock) StartRecordingToSink(sink record.EventSink) watch.Interface
StartRecordingToSink provides a mock function with given fields: sink
func (*EventBroadcasterMock) StartStructuredLogging ¶
func (_m *EventBroadcasterMock) StartStructuredLogging(verbosity klog.Level) watch.Interface
StartStructuredLogging provides a mock function with given fields: verbosity
type EventBroadcasterMock_Expecter ¶
type EventBroadcasterMock_Expecter struct {
// contains filtered or unexported fields
}
func (*EventBroadcasterMock_Expecter) NewRecorder ¶
func (_e *EventBroadcasterMock_Expecter) NewRecorder(scheme interface{}, source interface{}) *EventBroadcasterMock_NewRecorder_Call
NewRecorder is a helper method to define mock.On call
- scheme *runtime.Scheme
- source v1.EventSource
func (*EventBroadcasterMock_Expecter) Shutdown ¶
func (_e *EventBroadcasterMock_Expecter) Shutdown() *EventBroadcasterMock_Shutdown_Call
Shutdown is a helper method to define mock.On call
func (*EventBroadcasterMock_Expecter) StartEventWatcher ¶
func (_e *EventBroadcasterMock_Expecter) StartEventWatcher(eventHandler interface{}) *EventBroadcasterMock_StartEventWatcher_Call
StartEventWatcher is a helper method to define mock.On call
- eventHandler func(*v1.Event)
func (*EventBroadcasterMock_Expecter) StartLogging ¶
func (_e *EventBroadcasterMock_Expecter) StartLogging(logf interface{}) *EventBroadcasterMock_StartLogging_Call
StartLogging is a helper method to define mock.On call
- logf func(string , ...interface{})
func (*EventBroadcasterMock_Expecter) StartRecordingToSink ¶
func (_e *EventBroadcasterMock_Expecter) StartRecordingToSink(sink interface{}) *EventBroadcasterMock_StartRecordingToSink_Call
StartRecordingToSink is a helper method to define mock.On call
- sink record.EventSink
func (*EventBroadcasterMock_Expecter) StartStructuredLogging ¶
func (_e *EventBroadcasterMock_Expecter) StartStructuredLogging(verbosity interface{}) *EventBroadcasterMock_StartStructuredLogging_Call
StartStructuredLogging is a helper method to define mock.On call
- verbosity klog.Level
type EventBroadcasterMock_NewRecorder_Call ¶
EventBroadcasterMock_NewRecorder_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewRecorder'
func (*EventBroadcasterMock_NewRecorder_Call) Return ¶
func (_c *EventBroadcasterMock_NewRecorder_Call) Return(_a0 record.EventRecorderLogger) *EventBroadcasterMock_NewRecorder_Call
func (*EventBroadcasterMock_NewRecorder_Call) Run ¶
func (_c *EventBroadcasterMock_NewRecorder_Call) Run(run func(scheme *runtime.Scheme, source v1.EventSource)) *EventBroadcasterMock_NewRecorder_Call
func (*EventBroadcasterMock_NewRecorder_Call) RunAndReturn ¶
func (_c *EventBroadcasterMock_NewRecorder_Call) RunAndReturn(run func(*runtime.Scheme, v1.EventSource) record.EventRecorderLogger) *EventBroadcasterMock_NewRecorder_Call
type EventBroadcasterMock_Shutdown_Call ¶
EventBroadcasterMock_Shutdown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Shutdown'
func (*EventBroadcasterMock_Shutdown_Call) Return ¶
func (_c *EventBroadcasterMock_Shutdown_Call) Return() *EventBroadcasterMock_Shutdown_Call
func (*EventBroadcasterMock_Shutdown_Call) Run ¶
func (_c *EventBroadcasterMock_Shutdown_Call) Run(run func()) *EventBroadcasterMock_Shutdown_Call
func (*EventBroadcasterMock_Shutdown_Call) RunAndReturn ¶
func (_c *EventBroadcasterMock_Shutdown_Call) RunAndReturn(run func()) *EventBroadcasterMock_Shutdown_Call
type EventBroadcasterMock_StartEventWatcher_Call ¶
EventBroadcasterMock_StartEventWatcher_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartEventWatcher'
func (*EventBroadcasterMock_StartEventWatcher_Call) Return ¶
func (_c *EventBroadcasterMock_StartEventWatcher_Call) Return(_a0 watch.Interface) *EventBroadcasterMock_StartEventWatcher_Call
func (*EventBroadcasterMock_StartEventWatcher_Call) Run ¶
func (_c *EventBroadcasterMock_StartEventWatcher_Call) Run(run func(eventHandler func(*v1.Event))) *EventBroadcasterMock_StartEventWatcher_Call
func (*EventBroadcasterMock_StartEventWatcher_Call) RunAndReturn ¶
func (_c *EventBroadcasterMock_StartEventWatcher_Call) RunAndReturn(run func(func(*v1.Event)) watch.Interface) *EventBroadcasterMock_StartEventWatcher_Call
type EventBroadcasterMock_StartLogging_Call ¶
EventBroadcasterMock_StartLogging_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartLogging'
func (*EventBroadcasterMock_StartLogging_Call) Return ¶
func (_c *EventBroadcasterMock_StartLogging_Call) Return(_a0 watch.Interface) *EventBroadcasterMock_StartLogging_Call
func (*EventBroadcasterMock_StartLogging_Call) Run ¶
func (_c *EventBroadcasterMock_StartLogging_Call) Run(run func(logf func(string, ...interface{}))) *EventBroadcasterMock_StartLogging_Call
func (*EventBroadcasterMock_StartLogging_Call) RunAndReturn ¶
func (_c *EventBroadcasterMock_StartLogging_Call) RunAndReturn(run func(func(string, ...interface{})) watch.Interface) *EventBroadcasterMock_StartLogging_Call
type EventBroadcasterMock_StartRecordingToSink_Call ¶
EventBroadcasterMock_StartRecordingToSink_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartRecordingToSink'
func (*EventBroadcasterMock_StartRecordingToSink_Call) Return ¶
func (_c *EventBroadcasterMock_StartRecordingToSink_Call) Return(_a0 watch.Interface) *EventBroadcasterMock_StartRecordingToSink_Call
func (*EventBroadcasterMock_StartRecordingToSink_Call) Run ¶
func (_c *EventBroadcasterMock_StartRecordingToSink_Call) Run(run func(sink record.EventSink)) *EventBroadcasterMock_StartRecordingToSink_Call
func (*EventBroadcasterMock_StartRecordingToSink_Call) RunAndReturn ¶
func (_c *EventBroadcasterMock_StartRecordingToSink_Call) RunAndReturn(run func(record.EventSink) watch.Interface) *EventBroadcasterMock_StartRecordingToSink_Call
type EventBroadcasterMock_StartStructuredLogging_Call ¶
EventBroadcasterMock_StartStructuredLogging_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartStructuredLogging'
func (*EventBroadcasterMock_StartStructuredLogging_Call) Run ¶
func (_c *EventBroadcasterMock_StartStructuredLogging_Call) Run(run func(verbosity klog.Level)) *EventBroadcasterMock_StartStructuredLogging_Call
func (*EventBroadcasterMock_StartStructuredLogging_Call) RunAndReturn ¶
func (_c *EventBroadcasterMock_StartStructuredLogging_Call) RunAndReturn(run func(klog.Level) watch.Interface) *EventBroadcasterMock_StartStructuredLogging_Call
type EventRecorderMock ¶
EventRecorderMock is an autogenerated mock type for the EventRecorder type
func NewEventRecorderMock ¶
func NewEventRecorderMock(t interface { mock.TestingT Cleanup(func()) }) *EventRecorderMock
NewEventRecorderMock creates a new instance of EventRecorderMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*EventRecorderMock) AnnotatedEventf ¶
func (_m *EventRecorderMock) AnnotatedEventf(object runtime.Object, annotations map[string]string, eventtype string, reason string, messageFmt string, args ...interface{})
AnnotatedEventf provides a mock function with given fields: object, annotations, eventtype, reason, messageFmt, args
func (*EventRecorderMock) EXPECT ¶
func (_m *EventRecorderMock) EXPECT() *EventRecorderMock_Expecter
type EventRecorderMock_AnnotatedEventf_Call ¶
EventRecorderMock_AnnotatedEventf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AnnotatedEventf'
func (*EventRecorderMock_AnnotatedEventf_Call) Return ¶
func (_c *EventRecorderMock_AnnotatedEventf_Call) Return() *EventRecorderMock_AnnotatedEventf_Call
func (*EventRecorderMock_AnnotatedEventf_Call) Run ¶
func (_c *EventRecorderMock_AnnotatedEventf_Call) Run(run func(object runtime.Object, annotations map[string]string, eventtype string, reason string, messageFmt string, args ...interface{})) *EventRecorderMock_AnnotatedEventf_Call
func (*EventRecorderMock_AnnotatedEventf_Call) RunAndReturn ¶
func (_c *EventRecorderMock_AnnotatedEventf_Call) RunAndReturn(run func(runtime.Object, map[string]string, string, string, string, ...interface{})) *EventRecorderMock_AnnotatedEventf_Call
type EventRecorderMock_Event_Call ¶
EventRecorderMock_Event_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Event'
func (*EventRecorderMock_Event_Call) Return ¶
func (_c *EventRecorderMock_Event_Call) Return() *EventRecorderMock_Event_Call
func (*EventRecorderMock_Event_Call) Run ¶
func (_c *EventRecorderMock_Event_Call) Run(run func(object runtime.Object, eventtype string, reason string, message string)) *EventRecorderMock_Event_Call
func (*EventRecorderMock_Event_Call) RunAndReturn ¶
func (_c *EventRecorderMock_Event_Call) RunAndReturn(run func(runtime.Object, string, string, string)) *EventRecorderMock_Event_Call
type EventRecorderMock_Eventf_Call ¶
EventRecorderMock_Eventf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Eventf'
func (*EventRecorderMock_Eventf_Call) Return ¶
func (_c *EventRecorderMock_Eventf_Call) Return() *EventRecorderMock_Eventf_Call
func (*EventRecorderMock_Eventf_Call) Run ¶
func (_c *EventRecorderMock_Eventf_Call) Run(run func(object runtime.Object, eventtype string, reason string, messageFmt string, args ...interface{})) *EventRecorderMock_Eventf_Call
func (*EventRecorderMock_Eventf_Call) RunAndReturn ¶
func (_c *EventRecorderMock_Eventf_Call) RunAndReturn(run func(runtime.Object, string, string, string, ...interface{})) *EventRecorderMock_Eventf_Call
type EventRecorderMock_Expecter ¶
type EventRecorderMock_Expecter struct {
// contains filtered or unexported fields
}
func (*EventRecorderMock_Expecter) AnnotatedEventf ¶
func (_e *EventRecorderMock_Expecter) AnnotatedEventf(object interface{}, annotations interface{}, eventtype interface{}, reason interface{}, messageFmt interface{}, args ...interface{}) *EventRecorderMock_AnnotatedEventf_Call
AnnotatedEventf is a helper method to define mock.On call
- object runtime.Object
- annotations map[string]string
- eventtype string
- reason string
- messageFmt string
- args ...interface{}
func (*EventRecorderMock_Expecter) Event ¶
func (_e *EventRecorderMock_Expecter) Event(object interface{}, eventtype interface{}, reason interface{}, message interface{}) *EventRecorderMock_Event_Call
Event is a helper method to define mock.On call
- object runtime.Object
- eventtype string
- reason string
- message string
func (*EventRecorderMock_Expecter) Eventf ¶
func (_e *EventRecorderMock_Expecter) Eventf(object interface{}, eventtype interface{}, reason interface{}, messageFmt interface{}, args ...interface{}) *EventRecorderMock_Eventf_Call
Eventf is a helper method to define mock.On call
- object runtime.Object
- eventtype string
- reason string
- messageFmt string
- args ...interface{}
type K8SClientMock ¶
K8SClientMock is an autogenerated mock type for the Client type
func NewK8SClientMock ¶
func NewK8SClientMock(t interface { mock.TestingT Cleanup(func()) }) *K8SClientMock
NewK8SClientMock creates a new instance of K8SClientMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*K8SClientMock) Create ¶
func (_m *K8SClientMock) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
Create provides a mock function with given fields: ctx, obj, opts
func (*K8SClientMock) Delete ¶
func (_m *K8SClientMock) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error
Delete provides a mock function with given fields: ctx, obj, opts
func (*K8SClientMock) DeleteAllOf ¶
func (_m *K8SClientMock) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error
DeleteAllOf provides a mock function with given fields: ctx, obj, opts
func (*K8SClientMock) EXPECT ¶
func (_m *K8SClientMock) EXPECT() *K8SClientMock_Expecter
func (*K8SClientMock) Get ¶
func (_m *K8SClientMock) Get(ctx context.Context, key types.NamespacedName, obj client.Object, opts ...client.GetOption) error
Get provides a mock function with given fields: ctx, key, obj, opts
func (*K8SClientMock) GroupVersionKindFor ¶
func (_m *K8SClientMock) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error)
GroupVersionKindFor provides a mock function with given fields: obj
func (*K8SClientMock) IsObjectNamespaced ¶
func (_m *K8SClientMock) IsObjectNamespaced(obj runtime.Object) (bool, error)
IsObjectNamespaced provides a mock function with given fields: obj
func (*K8SClientMock) List ¶
func (_m *K8SClientMock) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
List provides a mock function with given fields: ctx, list, opts
func (*K8SClientMock) Patch ¶
func (_m *K8SClientMock) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error
Patch provides a mock function with given fields: ctx, obj, patch, opts
func (*K8SClientMock) RESTMapper ¶
func (_m *K8SClientMock) RESTMapper() meta.RESTMapper
RESTMapper provides a mock function with given fields:
func (*K8SClientMock) Scheme ¶
func (_m *K8SClientMock) Scheme() *runtime.Scheme
Scheme provides a mock function with given fields:
func (*K8SClientMock) Status ¶
func (_m *K8SClientMock) Status() client.SubResourceWriter
Status provides a mock function with given fields:
func (*K8SClientMock) SubResource ¶
func (_m *K8SClientMock) SubResource(subResource string) client.SubResourceClient
SubResource provides a mock function with given fields: subResource
func (*K8SClientMock) Update ¶
func (_m *K8SClientMock) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error
Update provides a mock function with given fields: ctx, obj, opts
type K8SClientMock_Create_Call ¶
K8SClientMock_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*K8SClientMock_Create_Call) Return ¶
func (_c *K8SClientMock_Create_Call) Return(_a0 error) *K8SClientMock_Create_Call
func (*K8SClientMock_Create_Call) Run ¶
func (_c *K8SClientMock_Create_Call) Run(run func(ctx context.Context, obj client.Object, opts ...client.CreateOption)) *K8SClientMock_Create_Call
func (*K8SClientMock_Create_Call) RunAndReturn ¶
func (_c *K8SClientMock_Create_Call) RunAndReturn(run func(context.Context, client.Object, ...client.CreateOption) error) *K8SClientMock_Create_Call
type K8SClientMock_DeleteAllOf_Call ¶
K8SClientMock_DeleteAllOf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllOf'
func (*K8SClientMock_DeleteAllOf_Call) Return ¶
func (_c *K8SClientMock_DeleteAllOf_Call) Return(_a0 error) *K8SClientMock_DeleteAllOf_Call
func (*K8SClientMock_DeleteAllOf_Call) Run ¶
func (_c *K8SClientMock_DeleteAllOf_Call) Run(run func(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption)) *K8SClientMock_DeleteAllOf_Call
func (*K8SClientMock_DeleteAllOf_Call) RunAndReturn ¶
func (_c *K8SClientMock_DeleteAllOf_Call) RunAndReturn(run func(context.Context, client.Object, ...client.DeleteAllOfOption) error) *K8SClientMock_DeleteAllOf_Call
type K8SClientMock_Delete_Call ¶
K8SClientMock_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*K8SClientMock_Delete_Call) Return ¶
func (_c *K8SClientMock_Delete_Call) Return(_a0 error) *K8SClientMock_Delete_Call
func (*K8SClientMock_Delete_Call) Run ¶
func (_c *K8SClientMock_Delete_Call) Run(run func(ctx context.Context, obj client.Object, opts ...client.DeleteOption)) *K8SClientMock_Delete_Call
func (*K8SClientMock_Delete_Call) RunAndReturn ¶
func (_c *K8SClientMock_Delete_Call) RunAndReturn(run func(context.Context, client.Object, ...client.DeleteOption) error) *K8SClientMock_Delete_Call
type K8SClientMock_Expecter ¶
type K8SClientMock_Expecter struct {
// contains filtered or unexported fields
}
func (*K8SClientMock_Expecter) Create ¶
func (_e *K8SClientMock_Expecter) Create(ctx interface{}, obj interface{}, opts ...interface{}) *K8SClientMock_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- obj client.Object
- opts ...client.CreateOption
func (*K8SClientMock_Expecter) Delete ¶
func (_e *K8SClientMock_Expecter) Delete(ctx interface{}, obj interface{}, opts ...interface{}) *K8SClientMock_Delete_Call
Delete is a helper method to define mock.On call
- ctx context.Context
- obj client.Object
- opts ...client.DeleteOption
func (*K8SClientMock_Expecter) DeleteAllOf ¶
func (_e *K8SClientMock_Expecter) DeleteAllOf(ctx interface{}, obj interface{}, opts ...interface{}) *K8SClientMock_DeleteAllOf_Call
DeleteAllOf is a helper method to define mock.On call
- ctx context.Context
- obj client.Object
- opts ...client.DeleteAllOfOption
func (*K8SClientMock_Expecter) Get ¶
func (_e *K8SClientMock_Expecter) Get(ctx interface{}, key interface{}, obj interface{}, opts ...interface{}) *K8SClientMock_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- key types.NamespacedName
- obj client.Object
- opts ...client.GetOption
func (*K8SClientMock_Expecter) GroupVersionKindFor ¶
func (_e *K8SClientMock_Expecter) GroupVersionKindFor(obj interface{}) *K8SClientMock_GroupVersionKindFor_Call
GroupVersionKindFor is a helper method to define mock.On call
- obj runtime.Object
func (*K8SClientMock_Expecter) IsObjectNamespaced ¶
func (_e *K8SClientMock_Expecter) IsObjectNamespaced(obj interface{}) *K8SClientMock_IsObjectNamespaced_Call
IsObjectNamespaced is a helper method to define mock.On call
- obj runtime.Object
func (*K8SClientMock_Expecter) List ¶
func (_e *K8SClientMock_Expecter) List(ctx interface{}, list interface{}, opts ...interface{}) *K8SClientMock_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- list client.ObjectList
- opts ...client.ListOption
func (*K8SClientMock_Expecter) Patch ¶
func (_e *K8SClientMock_Expecter) Patch(ctx interface{}, obj interface{}, patch interface{}, opts ...interface{}) *K8SClientMock_Patch_Call
Patch is a helper method to define mock.On call
- ctx context.Context
- obj client.Object
- patch client.Patch
- opts ...client.PatchOption
func (*K8SClientMock_Expecter) RESTMapper ¶
func (_e *K8SClientMock_Expecter) RESTMapper() *K8SClientMock_RESTMapper_Call
RESTMapper is a helper method to define mock.On call
func (*K8SClientMock_Expecter) Scheme ¶
func (_e *K8SClientMock_Expecter) Scheme() *K8SClientMock_Scheme_Call
Scheme is a helper method to define mock.On call
func (*K8SClientMock_Expecter) Status ¶
func (_e *K8SClientMock_Expecter) Status() *K8SClientMock_Status_Call
Status is a helper method to define mock.On call
func (*K8SClientMock_Expecter) SubResource ¶
func (_e *K8SClientMock_Expecter) SubResource(subResource interface{}) *K8SClientMock_SubResource_Call
SubResource is a helper method to define mock.On call
- subResource string
func (*K8SClientMock_Expecter) Update ¶
func (_e *K8SClientMock_Expecter) Update(ctx interface{}, obj interface{}, opts ...interface{}) *K8SClientMock_Update_Call
Update is a helper method to define mock.On call
- ctx context.Context
- obj client.Object
- opts ...client.UpdateOption
type K8SClientMock_Get_Call ¶
K8SClientMock_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*K8SClientMock_Get_Call) Return ¶
func (_c *K8SClientMock_Get_Call) Return(_a0 error) *K8SClientMock_Get_Call
func (*K8SClientMock_Get_Call) Run ¶
func (_c *K8SClientMock_Get_Call) Run(run func(ctx context.Context, key types.NamespacedName, obj client.Object, opts ...client.GetOption)) *K8SClientMock_Get_Call
func (*K8SClientMock_Get_Call) RunAndReturn ¶
func (_c *K8SClientMock_Get_Call) RunAndReturn(run func(context.Context, types.NamespacedName, client.Object, ...client.GetOption) error) *K8SClientMock_Get_Call
type K8SClientMock_GroupVersionKindFor_Call ¶
K8SClientMock_GroupVersionKindFor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GroupVersionKindFor'
func (*K8SClientMock_GroupVersionKindFor_Call) Return ¶
func (_c *K8SClientMock_GroupVersionKindFor_Call) Return(_a0 schema.GroupVersionKind, _a1 error) *K8SClientMock_GroupVersionKindFor_Call
func (*K8SClientMock_GroupVersionKindFor_Call) Run ¶
func (_c *K8SClientMock_GroupVersionKindFor_Call) Run(run func(obj runtime.Object)) *K8SClientMock_GroupVersionKindFor_Call
func (*K8SClientMock_GroupVersionKindFor_Call) RunAndReturn ¶
func (_c *K8SClientMock_GroupVersionKindFor_Call) RunAndReturn(run func(runtime.Object) (schema.GroupVersionKind, error)) *K8SClientMock_GroupVersionKindFor_Call
type K8SClientMock_IsObjectNamespaced_Call ¶
K8SClientMock_IsObjectNamespaced_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsObjectNamespaced'
func (*K8SClientMock_IsObjectNamespaced_Call) Return ¶
func (_c *K8SClientMock_IsObjectNamespaced_Call) Return(_a0 bool, _a1 error) *K8SClientMock_IsObjectNamespaced_Call
func (*K8SClientMock_IsObjectNamespaced_Call) Run ¶
func (_c *K8SClientMock_IsObjectNamespaced_Call) Run(run func(obj runtime.Object)) *K8SClientMock_IsObjectNamespaced_Call
func (*K8SClientMock_IsObjectNamespaced_Call) RunAndReturn ¶
func (_c *K8SClientMock_IsObjectNamespaced_Call) RunAndReturn(run func(runtime.Object) (bool, error)) *K8SClientMock_IsObjectNamespaced_Call
type K8SClientMock_List_Call ¶
K8SClientMock_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*K8SClientMock_List_Call) Return ¶
func (_c *K8SClientMock_List_Call) Return(_a0 error) *K8SClientMock_List_Call
func (*K8SClientMock_List_Call) Run ¶
func (_c *K8SClientMock_List_Call) Run(run func(ctx context.Context, list client.ObjectList, opts ...client.ListOption)) *K8SClientMock_List_Call
func (*K8SClientMock_List_Call) RunAndReturn ¶
func (_c *K8SClientMock_List_Call) RunAndReturn(run func(context.Context, client.ObjectList, ...client.ListOption) error) *K8SClientMock_List_Call
type K8SClientMock_Patch_Call ¶
K8SClientMock_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'
func (*K8SClientMock_Patch_Call) Return ¶
func (_c *K8SClientMock_Patch_Call) Return(_a0 error) *K8SClientMock_Patch_Call
func (*K8SClientMock_Patch_Call) Run ¶
func (_c *K8SClientMock_Patch_Call) Run(run func(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption)) *K8SClientMock_Patch_Call
func (*K8SClientMock_Patch_Call) RunAndReturn ¶
func (_c *K8SClientMock_Patch_Call) RunAndReturn(run func(context.Context, client.Object, client.Patch, ...client.PatchOption) error) *K8SClientMock_Patch_Call
type K8SClientMock_RESTMapper_Call ¶
K8SClientMock_RESTMapper_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RESTMapper'
func (*K8SClientMock_RESTMapper_Call) Return ¶
func (_c *K8SClientMock_RESTMapper_Call) Return(_a0 meta.RESTMapper) *K8SClientMock_RESTMapper_Call
func (*K8SClientMock_RESTMapper_Call) Run ¶
func (_c *K8SClientMock_RESTMapper_Call) Run(run func()) *K8SClientMock_RESTMapper_Call
func (*K8SClientMock_RESTMapper_Call) RunAndReturn ¶
func (_c *K8SClientMock_RESTMapper_Call) RunAndReturn(run func() meta.RESTMapper) *K8SClientMock_RESTMapper_Call
type K8SClientMock_Scheme_Call ¶
K8SClientMock_Scheme_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scheme'
func (*K8SClientMock_Scheme_Call) Return ¶
func (_c *K8SClientMock_Scheme_Call) Return(_a0 *runtime.Scheme) *K8SClientMock_Scheme_Call
func (*K8SClientMock_Scheme_Call) Run ¶
func (_c *K8SClientMock_Scheme_Call) Run(run func()) *K8SClientMock_Scheme_Call
func (*K8SClientMock_Scheme_Call) RunAndReturn ¶
func (_c *K8SClientMock_Scheme_Call) RunAndReturn(run func() *runtime.Scheme) *K8SClientMock_Scheme_Call
type K8SClientMock_Status_Call ¶
K8SClientMock_Status_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Status'
func (*K8SClientMock_Status_Call) Return ¶
func (_c *K8SClientMock_Status_Call) Return(_a0 client.SubResourceWriter) *K8SClientMock_Status_Call
func (*K8SClientMock_Status_Call) Run ¶
func (_c *K8SClientMock_Status_Call) Run(run func()) *K8SClientMock_Status_Call
func (*K8SClientMock_Status_Call) RunAndReturn ¶
func (_c *K8SClientMock_Status_Call) RunAndReturn(run func() client.SubResourceWriter) *K8SClientMock_Status_Call
type K8SClientMock_SubResource_Call ¶
K8SClientMock_SubResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubResource'
func (*K8SClientMock_SubResource_Call) Return ¶
func (_c *K8SClientMock_SubResource_Call) Return(_a0 client.SubResourceClient) *K8SClientMock_SubResource_Call
func (*K8SClientMock_SubResource_Call) Run ¶
func (_c *K8SClientMock_SubResource_Call) Run(run func(subResource string)) *K8SClientMock_SubResource_Call
func (*K8SClientMock_SubResource_Call) RunAndReturn ¶
func (_c *K8SClientMock_SubResource_Call) RunAndReturn(run func(string) client.SubResourceClient) *K8SClientMock_SubResource_Call
type K8SClientMock_Update_Call ¶
K8SClientMock_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*K8SClientMock_Update_Call) Return ¶
func (_c *K8SClientMock_Update_Call) Return(_a0 error) *K8SClientMock_Update_Call
func (*K8SClientMock_Update_Call) Run ¶
func (_c *K8SClientMock_Update_Call) Run(run func(ctx context.Context, obj client.Object, opts ...client.UpdateOption)) *K8SClientMock_Update_Call
func (*K8SClientMock_Update_Call) RunAndReturn ¶
func (_c *K8SClientMock_Update_Call) RunAndReturn(run func(context.Context, client.Object, ...client.UpdateOption) error) *K8SClientMock_Update_Call
type ManagerMock ¶
ManagerMock is an autogenerated mock type for the Manager type
func NewManagerMock ¶
func NewManagerMock(t interface { mock.TestingT Cleanup(func()) }) *ManagerMock
NewManagerMock creates a new instance of ManagerMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ManagerMock) Add ¶
func (_m *ManagerMock) Add(_a0 manager.Runnable) error
Add provides a mock function with given fields: _a0
func (*ManagerMock) AddHealthzCheck ¶
func (_m *ManagerMock) AddHealthzCheck(name string, check healthz.Checker) error
AddHealthzCheck provides a mock function with given fields: name, check
func (*ManagerMock) AddReadyzCheck ¶
func (_m *ManagerMock) AddReadyzCheck(name string, check healthz.Checker) error
AddReadyzCheck provides a mock function with given fields: name, check
func (*ManagerMock) EXPECT ¶
func (_m *ManagerMock) EXPECT() *ManagerMock_Expecter
func (*ManagerMock) Elected ¶
func (_m *ManagerMock) Elected() <-chan struct{}
Elected provides a mock function with given fields:
func (*ManagerMock) GetAPIReader ¶
func (_m *ManagerMock) GetAPIReader() client.Reader
GetAPIReader provides a mock function with given fields:
func (*ManagerMock) GetCache ¶
func (_m *ManagerMock) GetCache() cache.Cache
GetCache provides a mock function with given fields:
func (*ManagerMock) GetClient ¶
func (_m *ManagerMock) GetClient() client.Client
GetClient provides a mock function with given fields:
func (*ManagerMock) GetConfig ¶
func (_m *ManagerMock) GetConfig() *rest.Config
GetConfig provides a mock function with given fields:
func (*ManagerMock) GetControllerOptions ¶
func (_m *ManagerMock) GetControllerOptions() config.Controller
GetControllerOptions provides a mock function with given fields:
func (*ManagerMock) GetEventRecorderFor ¶
func (_m *ManagerMock) GetEventRecorderFor(name string) record.EventRecorder
GetEventRecorderFor provides a mock function with given fields: name
func (*ManagerMock) GetFieldIndexer ¶
func (_m *ManagerMock) GetFieldIndexer() client.FieldIndexer
GetFieldIndexer provides a mock function with given fields:
func (*ManagerMock) GetHTTPClient ¶
func (_m *ManagerMock) GetHTTPClient() *http.Client
GetHTTPClient provides a mock function with given fields:
func (*ManagerMock) GetLogger ¶
func (_m *ManagerMock) GetLogger() logr.Logger
GetLogger provides a mock function with given fields:
func (*ManagerMock) GetRESTMapper ¶
func (_m *ManagerMock) GetRESTMapper() meta.RESTMapper
GetRESTMapper provides a mock function with given fields:
func (*ManagerMock) GetScheme ¶
func (_m *ManagerMock) GetScheme() *runtime.Scheme
GetScheme provides a mock function with given fields:
func (*ManagerMock) GetWebhookServer ¶
func (_m *ManagerMock) GetWebhookServer() webhook.Server
GetWebhookServer provides a mock function with given fields:
type ManagerMock_AddHealthzCheck_Call ¶
ManagerMock_AddHealthzCheck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddHealthzCheck'
func (*ManagerMock_AddHealthzCheck_Call) Return ¶
func (_c *ManagerMock_AddHealthzCheck_Call) Return(_a0 error) *ManagerMock_AddHealthzCheck_Call
func (*ManagerMock_AddHealthzCheck_Call) Run ¶
func (_c *ManagerMock_AddHealthzCheck_Call) Run(run func(name string, check healthz.Checker)) *ManagerMock_AddHealthzCheck_Call
func (*ManagerMock_AddHealthzCheck_Call) RunAndReturn ¶
func (_c *ManagerMock_AddHealthzCheck_Call) RunAndReturn(run func(string, healthz.Checker) error) *ManagerMock_AddHealthzCheck_Call
type ManagerMock_AddReadyzCheck_Call ¶
ManagerMock_AddReadyzCheck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddReadyzCheck'
func (*ManagerMock_AddReadyzCheck_Call) Return ¶
func (_c *ManagerMock_AddReadyzCheck_Call) Return(_a0 error) *ManagerMock_AddReadyzCheck_Call
func (*ManagerMock_AddReadyzCheck_Call) Run ¶
func (_c *ManagerMock_AddReadyzCheck_Call) Run(run func(name string, check healthz.Checker)) *ManagerMock_AddReadyzCheck_Call
func (*ManagerMock_AddReadyzCheck_Call) RunAndReturn ¶
func (_c *ManagerMock_AddReadyzCheck_Call) RunAndReturn(run func(string, healthz.Checker) error) *ManagerMock_AddReadyzCheck_Call
type ManagerMock_Add_Call ¶
ManagerMock_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*ManagerMock_Add_Call) Return ¶
func (_c *ManagerMock_Add_Call) Return(_a0 error) *ManagerMock_Add_Call
func (*ManagerMock_Add_Call) Run ¶
func (_c *ManagerMock_Add_Call) Run(run func(_a0 manager.Runnable)) *ManagerMock_Add_Call
func (*ManagerMock_Add_Call) RunAndReturn ¶
func (_c *ManagerMock_Add_Call) RunAndReturn(run func(manager.Runnable) error) *ManagerMock_Add_Call
type ManagerMock_Elected_Call ¶
ManagerMock_Elected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Elected'
func (*ManagerMock_Elected_Call) Return ¶
func (_c *ManagerMock_Elected_Call) Return(_a0 <-chan struct{}) *ManagerMock_Elected_Call
func (*ManagerMock_Elected_Call) Run ¶
func (_c *ManagerMock_Elected_Call) Run(run func()) *ManagerMock_Elected_Call
func (*ManagerMock_Elected_Call) RunAndReturn ¶
func (_c *ManagerMock_Elected_Call) RunAndReturn(run func() <-chan struct{}) *ManagerMock_Elected_Call
type ManagerMock_Expecter ¶
type ManagerMock_Expecter struct {
// contains filtered or unexported fields
}
func (*ManagerMock_Expecter) Add ¶
func (_e *ManagerMock_Expecter) Add(_a0 interface{}) *ManagerMock_Add_Call
Add is a helper method to define mock.On call
- _a0 manager.Runnable
func (*ManagerMock_Expecter) AddHealthzCheck ¶
func (_e *ManagerMock_Expecter) AddHealthzCheck(name interface{}, check interface{}) *ManagerMock_AddHealthzCheck_Call
AddHealthzCheck is a helper method to define mock.On call
- name string
- check healthz.Checker
func (*ManagerMock_Expecter) AddReadyzCheck ¶
func (_e *ManagerMock_Expecter) AddReadyzCheck(name interface{}, check interface{}) *ManagerMock_AddReadyzCheck_Call
AddReadyzCheck is a helper method to define mock.On call
- name string
- check healthz.Checker
func (*ManagerMock_Expecter) Elected ¶
func (_e *ManagerMock_Expecter) Elected() *ManagerMock_Elected_Call
Elected is a helper method to define mock.On call
func (*ManagerMock_Expecter) GetAPIReader ¶
func (_e *ManagerMock_Expecter) GetAPIReader() *ManagerMock_GetAPIReader_Call
GetAPIReader is a helper method to define mock.On call
func (*ManagerMock_Expecter) GetCache ¶
func (_e *ManagerMock_Expecter) GetCache() *ManagerMock_GetCache_Call
GetCache is a helper method to define mock.On call
func (*ManagerMock_Expecter) GetClient ¶
func (_e *ManagerMock_Expecter) GetClient() *ManagerMock_GetClient_Call
GetClient is a helper method to define mock.On call
func (*ManagerMock_Expecter) GetConfig ¶
func (_e *ManagerMock_Expecter) GetConfig() *ManagerMock_GetConfig_Call
GetConfig is a helper method to define mock.On call
func (*ManagerMock_Expecter) GetControllerOptions ¶
func (_e *ManagerMock_Expecter) GetControllerOptions() *ManagerMock_GetControllerOptions_Call
GetControllerOptions is a helper method to define mock.On call
func (*ManagerMock_Expecter) GetEventRecorderFor ¶
func (_e *ManagerMock_Expecter) GetEventRecorderFor(name interface{}) *ManagerMock_GetEventRecorderFor_Call
GetEventRecorderFor is a helper method to define mock.On call
- name string
func (*ManagerMock_Expecter) GetFieldIndexer ¶
func (_e *ManagerMock_Expecter) GetFieldIndexer() *ManagerMock_GetFieldIndexer_Call
GetFieldIndexer is a helper method to define mock.On call
func (*ManagerMock_Expecter) GetHTTPClient ¶
func (_e *ManagerMock_Expecter) GetHTTPClient() *ManagerMock_GetHTTPClient_Call
GetHTTPClient is a helper method to define mock.On call
func (*ManagerMock_Expecter) GetLogger ¶
func (_e *ManagerMock_Expecter) GetLogger() *ManagerMock_GetLogger_Call
GetLogger is a helper method to define mock.On call
func (*ManagerMock_Expecter) GetRESTMapper ¶
func (_e *ManagerMock_Expecter) GetRESTMapper() *ManagerMock_GetRESTMapper_Call
GetRESTMapper is a helper method to define mock.On call
func (*ManagerMock_Expecter) GetScheme ¶
func (_e *ManagerMock_Expecter) GetScheme() *ManagerMock_GetScheme_Call
GetScheme is a helper method to define mock.On call
func (*ManagerMock_Expecter) GetWebhookServer ¶
func (_e *ManagerMock_Expecter) GetWebhookServer() *ManagerMock_GetWebhookServer_Call
GetWebhookServer is a helper method to define mock.On call
func (*ManagerMock_Expecter) Start ¶
func (_e *ManagerMock_Expecter) Start(ctx interface{}) *ManagerMock_Start_Call
Start is a helper method to define mock.On call
- ctx context.Context
type ManagerMock_GetAPIReader_Call ¶
ManagerMock_GetAPIReader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAPIReader'
func (*ManagerMock_GetAPIReader_Call) Return ¶
func (_c *ManagerMock_GetAPIReader_Call) Return(_a0 client.Reader) *ManagerMock_GetAPIReader_Call
func (*ManagerMock_GetAPIReader_Call) Run ¶
func (_c *ManagerMock_GetAPIReader_Call) Run(run func()) *ManagerMock_GetAPIReader_Call
func (*ManagerMock_GetAPIReader_Call) RunAndReturn ¶
func (_c *ManagerMock_GetAPIReader_Call) RunAndReturn(run func() client.Reader) *ManagerMock_GetAPIReader_Call
type ManagerMock_GetCache_Call ¶
ManagerMock_GetCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCache'
func (*ManagerMock_GetCache_Call) Return ¶
func (_c *ManagerMock_GetCache_Call) Return(_a0 cache.Cache) *ManagerMock_GetCache_Call
func (*ManagerMock_GetCache_Call) Run ¶
func (_c *ManagerMock_GetCache_Call) Run(run func()) *ManagerMock_GetCache_Call
func (*ManagerMock_GetCache_Call) RunAndReturn ¶
func (_c *ManagerMock_GetCache_Call) RunAndReturn(run func() cache.Cache) *ManagerMock_GetCache_Call
type ManagerMock_GetClient_Call ¶
ManagerMock_GetClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClient'
func (*ManagerMock_GetClient_Call) Return ¶
func (_c *ManagerMock_GetClient_Call) Return(_a0 client.Client) *ManagerMock_GetClient_Call
func (*ManagerMock_GetClient_Call) Run ¶
func (_c *ManagerMock_GetClient_Call) Run(run func()) *ManagerMock_GetClient_Call
func (*ManagerMock_GetClient_Call) RunAndReturn ¶
func (_c *ManagerMock_GetClient_Call) RunAndReturn(run func() client.Client) *ManagerMock_GetClient_Call
type ManagerMock_GetConfig_Call ¶
ManagerMock_GetConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConfig'
func (*ManagerMock_GetConfig_Call) Return ¶
func (_c *ManagerMock_GetConfig_Call) Return(_a0 *rest.Config) *ManagerMock_GetConfig_Call
func (*ManagerMock_GetConfig_Call) Run ¶
func (_c *ManagerMock_GetConfig_Call) Run(run func()) *ManagerMock_GetConfig_Call
func (*ManagerMock_GetConfig_Call) RunAndReturn ¶
func (_c *ManagerMock_GetConfig_Call) RunAndReturn(run func() *rest.Config) *ManagerMock_GetConfig_Call
type ManagerMock_GetControllerOptions_Call ¶
ManagerMock_GetControllerOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetControllerOptions'
func (*ManagerMock_GetControllerOptions_Call) Return ¶
func (_c *ManagerMock_GetControllerOptions_Call) Return(_a0 config.Controller) *ManagerMock_GetControllerOptions_Call
func (*ManagerMock_GetControllerOptions_Call) Run ¶
func (_c *ManagerMock_GetControllerOptions_Call) Run(run func()) *ManagerMock_GetControllerOptions_Call
func (*ManagerMock_GetControllerOptions_Call) RunAndReturn ¶
func (_c *ManagerMock_GetControllerOptions_Call) RunAndReturn(run func() config.Controller) *ManagerMock_GetControllerOptions_Call
type ManagerMock_GetEventRecorderFor_Call ¶
ManagerMock_GetEventRecorderFor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEventRecorderFor'
func (*ManagerMock_GetEventRecorderFor_Call) Return ¶
func (_c *ManagerMock_GetEventRecorderFor_Call) Return(_a0 record.EventRecorder) *ManagerMock_GetEventRecorderFor_Call
func (*ManagerMock_GetEventRecorderFor_Call) Run ¶
func (_c *ManagerMock_GetEventRecorderFor_Call) Run(run func(name string)) *ManagerMock_GetEventRecorderFor_Call
func (*ManagerMock_GetEventRecorderFor_Call) RunAndReturn ¶
func (_c *ManagerMock_GetEventRecorderFor_Call) RunAndReturn(run func(string) record.EventRecorder) *ManagerMock_GetEventRecorderFor_Call
type ManagerMock_GetFieldIndexer_Call ¶
ManagerMock_GetFieldIndexer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFieldIndexer'
func (*ManagerMock_GetFieldIndexer_Call) Return ¶
func (_c *ManagerMock_GetFieldIndexer_Call) Return(_a0 client.FieldIndexer) *ManagerMock_GetFieldIndexer_Call
func (*ManagerMock_GetFieldIndexer_Call) Run ¶
func (_c *ManagerMock_GetFieldIndexer_Call) Run(run func()) *ManagerMock_GetFieldIndexer_Call
func (*ManagerMock_GetFieldIndexer_Call) RunAndReturn ¶
func (_c *ManagerMock_GetFieldIndexer_Call) RunAndReturn(run func() client.FieldIndexer) *ManagerMock_GetFieldIndexer_Call
type ManagerMock_GetHTTPClient_Call ¶
ManagerMock_GetHTTPClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHTTPClient'
func (*ManagerMock_GetHTTPClient_Call) Return ¶
func (_c *ManagerMock_GetHTTPClient_Call) Return(_a0 *http.Client) *ManagerMock_GetHTTPClient_Call
func (*ManagerMock_GetHTTPClient_Call) Run ¶
func (_c *ManagerMock_GetHTTPClient_Call) Run(run func()) *ManagerMock_GetHTTPClient_Call
func (*ManagerMock_GetHTTPClient_Call) RunAndReturn ¶
func (_c *ManagerMock_GetHTTPClient_Call) RunAndReturn(run func() *http.Client) *ManagerMock_GetHTTPClient_Call
type ManagerMock_GetLogger_Call ¶
ManagerMock_GetLogger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogger'
func (*ManagerMock_GetLogger_Call) Return ¶
func (_c *ManagerMock_GetLogger_Call) Return(_a0 logr.Logger) *ManagerMock_GetLogger_Call
func (*ManagerMock_GetLogger_Call) Run ¶
func (_c *ManagerMock_GetLogger_Call) Run(run func()) *ManagerMock_GetLogger_Call
func (*ManagerMock_GetLogger_Call) RunAndReturn ¶
func (_c *ManagerMock_GetLogger_Call) RunAndReturn(run func() logr.Logger) *ManagerMock_GetLogger_Call
type ManagerMock_GetRESTMapper_Call ¶
ManagerMock_GetRESTMapper_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRESTMapper'
func (*ManagerMock_GetRESTMapper_Call) Return ¶
func (_c *ManagerMock_GetRESTMapper_Call) Return(_a0 meta.RESTMapper) *ManagerMock_GetRESTMapper_Call
func (*ManagerMock_GetRESTMapper_Call) Run ¶
func (_c *ManagerMock_GetRESTMapper_Call) Run(run func()) *ManagerMock_GetRESTMapper_Call
func (*ManagerMock_GetRESTMapper_Call) RunAndReturn ¶
func (_c *ManagerMock_GetRESTMapper_Call) RunAndReturn(run func() meta.RESTMapper) *ManagerMock_GetRESTMapper_Call
type ManagerMock_GetScheme_Call ¶
ManagerMock_GetScheme_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetScheme'
func (*ManagerMock_GetScheme_Call) Return ¶
func (_c *ManagerMock_GetScheme_Call) Return(_a0 *runtime.Scheme) *ManagerMock_GetScheme_Call
func (*ManagerMock_GetScheme_Call) Run ¶
func (_c *ManagerMock_GetScheme_Call) Run(run func()) *ManagerMock_GetScheme_Call
func (*ManagerMock_GetScheme_Call) RunAndReturn ¶
func (_c *ManagerMock_GetScheme_Call) RunAndReturn(run func() *runtime.Scheme) *ManagerMock_GetScheme_Call
type ManagerMock_GetWebhookServer_Call ¶
ManagerMock_GetWebhookServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWebhookServer'
func (*ManagerMock_GetWebhookServer_Call) Return ¶
func (_c *ManagerMock_GetWebhookServer_Call) Return(_a0 webhook.Server) *ManagerMock_GetWebhookServer_Call
func (*ManagerMock_GetWebhookServer_Call) Run ¶
func (_c *ManagerMock_GetWebhookServer_Call) Run(run func()) *ManagerMock_GetWebhookServer_Call
func (*ManagerMock_GetWebhookServer_Call) RunAndReturn ¶
func (_c *ManagerMock_GetWebhookServer_Call) RunAndReturn(run func() webhook.Server) *ManagerMock_GetWebhookServer_Call
type ManagerMock_Start_Call ¶
ManagerMock_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*ManagerMock_Start_Call) Return ¶
func (_c *ManagerMock_Start_Call) Return(_a0 error) *ManagerMock_Start_Call
func (*ManagerMock_Start_Call) Run ¶
func (_c *ManagerMock_Start_Call) Run(run func(ctx context.Context)) *ManagerMock_Start_Call
func (*ManagerMock_Start_Call) RunAndReturn ¶
func (_c *ManagerMock_Start_Call) RunAndReturn(run func(context.Context) error) *ManagerMock_Start_Call
type ReaderMock ¶
ReaderMock is an autogenerated mock type for the Reader type
func NewReaderMock ¶
func NewReaderMock(t interface { mock.TestingT Cleanup(func()) }) *ReaderMock
NewReaderMock creates a new instance of ReaderMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ReaderMock) EXPECT ¶
func (_m *ReaderMock) EXPECT() *ReaderMock_Expecter
func (*ReaderMock) Get ¶
func (_m *ReaderMock) Get(ctx context.Context, key types.NamespacedName, obj client.Object, opts ...client.GetOption) error
Get provides a mock function with given fields: ctx, key, obj, opts
func (*ReaderMock) List ¶
func (_m *ReaderMock) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
List provides a mock function with given fields: ctx, list, opts
type ReaderMock_Expecter ¶
type ReaderMock_Expecter struct {
// contains filtered or unexported fields
}
func (*ReaderMock_Expecter) Get ¶
func (_e *ReaderMock_Expecter) Get(ctx interface{}, key interface{}, obj interface{}, opts ...interface{}) *ReaderMock_Get_Call
Get is a helper method to define mock.On call
- ctx context.Context
- key types.NamespacedName
- obj client.Object
- opts ...client.GetOption
func (*ReaderMock_Expecter) List ¶
func (_e *ReaderMock_Expecter) List(ctx interface{}, list interface{}, opts ...interface{}) *ReaderMock_List_Call
List is a helper method to define mock.On call
- ctx context.Context
- list client.ObjectList
- opts ...client.ListOption
type ReaderMock_Get_Call ¶
ReaderMock_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*ReaderMock_Get_Call) Return ¶
func (_c *ReaderMock_Get_Call) Return(_a0 error) *ReaderMock_Get_Call
func (*ReaderMock_Get_Call) Run ¶
func (_c *ReaderMock_Get_Call) Run(run func(ctx context.Context, key types.NamespacedName, obj client.Object, opts ...client.GetOption)) *ReaderMock_Get_Call
func (*ReaderMock_Get_Call) RunAndReturn ¶
func (_c *ReaderMock_Get_Call) RunAndReturn(run func(context.Context, types.NamespacedName, client.Object, ...client.GetOption) error) *ReaderMock_Get_Call
type ReaderMock_List_Call ¶
ReaderMock_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'
func (*ReaderMock_List_Call) Return ¶
func (_c *ReaderMock_List_Call) Return(_a0 error) *ReaderMock_List_Call
func (*ReaderMock_List_Call) Run ¶
func (_c *ReaderMock_List_Call) Run(run func(ctx context.Context, list client.ObjectList, opts ...client.ListOption)) *ReaderMock_List_Call
func (*ReaderMock_List_Call) RunAndReturn ¶
func (_c *ReaderMock_List_Call) RunAndReturn(run func(context.Context, client.ObjectList, ...client.ListOption) error) *ReaderMock_List_Call
type ResourceEventHandlerMock ¶
ResourceEventHandlerMock is an autogenerated mock type for the ResourceEventHandler type
func NewResourceEventHandlerMock ¶
func NewResourceEventHandlerMock(t interface { mock.TestingT Cleanup(func()) }) *ResourceEventHandlerMock
NewResourceEventHandlerMock creates a new instance of ResourceEventHandlerMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ResourceEventHandlerMock) EXPECT ¶
func (_m *ResourceEventHandlerMock) EXPECT() *ResourceEventHandlerMock_Expecter
func (*ResourceEventHandlerMock) OnAdd ¶
func (_m *ResourceEventHandlerMock) OnAdd(obj interface{}, isInInitialList bool)
OnAdd provides a mock function with given fields: obj, isInInitialList
func (*ResourceEventHandlerMock) OnDelete ¶
func (_m *ResourceEventHandlerMock) OnDelete(obj interface{})
OnDelete provides a mock function with given fields: obj
func (*ResourceEventHandlerMock) OnUpdate ¶
func (_m *ResourceEventHandlerMock) OnUpdate(oldObj interface{}, newObj interface{})
OnUpdate provides a mock function with given fields: oldObj, newObj
type ResourceEventHandlerMock_Expecter ¶
type ResourceEventHandlerMock_Expecter struct {
// contains filtered or unexported fields
}
func (*ResourceEventHandlerMock_Expecter) OnAdd ¶
func (_e *ResourceEventHandlerMock_Expecter) OnAdd(obj interface{}, isInInitialList interface{}) *ResourceEventHandlerMock_OnAdd_Call
OnAdd is a helper method to define mock.On call
- obj interface{}
- isInInitialList bool
func (*ResourceEventHandlerMock_Expecter) OnDelete ¶
func (_e *ResourceEventHandlerMock_Expecter) OnDelete(obj interface{}) *ResourceEventHandlerMock_OnDelete_Call
OnDelete is a helper method to define mock.On call
- obj interface{}
func (*ResourceEventHandlerMock_Expecter) OnUpdate ¶
func (_e *ResourceEventHandlerMock_Expecter) OnUpdate(oldObj interface{}, newObj interface{}) *ResourceEventHandlerMock_OnUpdate_Call
OnUpdate is a helper method to define mock.On call
- oldObj interface{}
- newObj interface{}
type ResourceEventHandlerMock_OnAdd_Call ¶
ResourceEventHandlerMock_OnAdd_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAdd'
func (*ResourceEventHandlerMock_OnAdd_Call) Return ¶
func (_c *ResourceEventHandlerMock_OnAdd_Call) Return() *ResourceEventHandlerMock_OnAdd_Call
func (*ResourceEventHandlerMock_OnAdd_Call) Run ¶
func (_c *ResourceEventHandlerMock_OnAdd_Call) Run(run func(obj interface{}, isInInitialList bool)) *ResourceEventHandlerMock_OnAdd_Call
func (*ResourceEventHandlerMock_OnAdd_Call) RunAndReturn ¶
func (_c *ResourceEventHandlerMock_OnAdd_Call) RunAndReturn(run func(interface{}, bool)) *ResourceEventHandlerMock_OnAdd_Call
type ResourceEventHandlerMock_OnDelete_Call ¶
ResourceEventHandlerMock_OnDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDelete'
func (*ResourceEventHandlerMock_OnDelete_Call) Return ¶
func (_c *ResourceEventHandlerMock_OnDelete_Call) Return() *ResourceEventHandlerMock_OnDelete_Call
func (*ResourceEventHandlerMock_OnDelete_Call) Run ¶
func (_c *ResourceEventHandlerMock_OnDelete_Call) Run(run func(obj interface{})) *ResourceEventHandlerMock_OnDelete_Call
func (*ResourceEventHandlerMock_OnDelete_Call) RunAndReturn ¶
func (_c *ResourceEventHandlerMock_OnDelete_Call) RunAndReturn(run func(interface{})) *ResourceEventHandlerMock_OnDelete_Call
type ResourceEventHandlerMock_OnUpdate_Call ¶
ResourceEventHandlerMock_OnUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUpdate'
func (*ResourceEventHandlerMock_OnUpdate_Call) Return ¶
func (_c *ResourceEventHandlerMock_OnUpdate_Call) Return() *ResourceEventHandlerMock_OnUpdate_Call
func (*ResourceEventHandlerMock_OnUpdate_Call) Run ¶
func (_c *ResourceEventHandlerMock_OnUpdate_Call) Run(run func(oldObj interface{}, newObj interface{})) *ResourceEventHandlerMock_OnUpdate_Call
func (*ResourceEventHandlerMock_OnUpdate_Call) RunAndReturn ¶
func (_c *ResourceEventHandlerMock_OnUpdate_Call) RunAndReturn(run func(interface{}, interface{})) *ResourceEventHandlerMock_OnUpdate_Call
type RoundTripperMock ¶
RoundTripperMock is an autogenerated mock type for the RoundTripper type
func NewRoundTripperMock ¶
func NewRoundTripperMock(t interface { mock.TestingT Cleanup(func()) }) *RoundTripperMock
NewRoundTripperMock creates a new instance of RoundTripperMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RoundTripperMock) EXPECT ¶
func (_m *RoundTripperMock) EXPECT() *RoundTripperMock_Expecter
type RoundTripperMock_Expecter ¶
type RoundTripperMock_Expecter struct {
// contains filtered or unexported fields
}
func (*RoundTripperMock_Expecter) RoundTrip ¶
func (_e *RoundTripperMock_Expecter) RoundTrip(_a0 interface{}) *RoundTripperMock_RoundTrip_Call
RoundTrip is a helper method to define mock.On call
- _a0 *http.Request
type RoundTripperMock_RoundTrip_Call ¶
RoundTripperMock_RoundTrip_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RoundTrip'
func (*RoundTripperMock_RoundTrip_Call) Return ¶
func (_c *RoundTripperMock_RoundTrip_Call) Return(_a0 *http.Response, _a1 error) *RoundTripperMock_RoundTrip_Call
func (*RoundTripperMock_RoundTrip_Call) Run ¶
func (_c *RoundTripperMock_RoundTrip_Call) Run(run func(_a0 *http.Request)) *RoundTripperMock_RoundTrip_Call
func (*RoundTripperMock_RoundTrip_Call) RunAndReturn ¶
func (_c *RoundTripperMock_RoundTrip_Call) RunAndReturn(run func(*http.Request) (*http.Response, error)) *RoundTripperMock_RoundTrip_Call
type RuntimeControllerMock ¶
RuntimeControllerMock is an autogenerated mock type for the Controller type
func NewRuntimeControllerMock ¶
func NewRuntimeControllerMock(t interface { mock.TestingT Cleanup(func()) }) *RuntimeControllerMock
NewRuntimeControllerMock creates a new instance of RuntimeControllerMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RuntimeControllerMock) EXPECT ¶
func (_m *RuntimeControllerMock) EXPECT() *RuntimeControllerMock_Expecter
func (*RuntimeControllerMock) GetLogger ¶
func (_m *RuntimeControllerMock) GetLogger() logr.Logger
GetLogger provides a mock function with given fields:
func (*RuntimeControllerMock) Reconcile ¶
func (_m *RuntimeControllerMock) Reconcile(_a0 context.Context, _a1 reconcile.Request) (reconcile.Result, error)
Reconcile provides a mock function with given fields: _a0, _a1
func (*RuntimeControllerMock) Start ¶
func (_m *RuntimeControllerMock) Start(ctx context.Context) error
Start provides a mock function with given fields: ctx
func (*RuntimeControllerMock) Watch ¶
func (_m *RuntimeControllerMock) Watch(src source.Source, eventhandler handler.EventHandler, predicates ...predicate.Predicate) error
Watch provides a mock function with given fields: src, eventhandler, predicates
type RuntimeControllerMock_Expecter ¶
type RuntimeControllerMock_Expecter struct {
// contains filtered or unexported fields
}
func (*RuntimeControllerMock_Expecter) GetLogger ¶
func (_e *RuntimeControllerMock_Expecter) GetLogger() *RuntimeControllerMock_GetLogger_Call
GetLogger is a helper method to define mock.On call
func (*RuntimeControllerMock_Expecter) Reconcile ¶
func (_e *RuntimeControllerMock_Expecter) Reconcile(_a0 interface{}, _a1 interface{}) *RuntimeControllerMock_Reconcile_Call
Reconcile is a helper method to define mock.On call
- _a0 context.Context
- _a1 reconcile.Request
func (*RuntimeControllerMock_Expecter) Start ¶
func (_e *RuntimeControllerMock_Expecter) Start(ctx interface{}) *RuntimeControllerMock_Start_Call
Start is a helper method to define mock.On call
- ctx context.Context
func (*RuntimeControllerMock_Expecter) Watch ¶
func (_e *RuntimeControllerMock_Expecter) Watch(src interface{}, eventhandler interface{}, predicates ...interface{}) *RuntimeControllerMock_Watch_Call
Watch is a helper method to define mock.On call
- src source.Source
- eventhandler handler.EventHandler
- predicates ...predicate.Predicate
type RuntimeControllerMock_GetLogger_Call ¶
RuntimeControllerMock_GetLogger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogger'
func (*RuntimeControllerMock_GetLogger_Call) Return ¶
func (_c *RuntimeControllerMock_GetLogger_Call) Return(_a0 logr.Logger) *RuntimeControllerMock_GetLogger_Call
func (*RuntimeControllerMock_GetLogger_Call) Run ¶
func (_c *RuntimeControllerMock_GetLogger_Call) Run(run func()) *RuntimeControllerMock_GetLogger_Call
func (*RuntimeControllerMock_GetLogger_Call) RunAndReturn ¶
func (_c *RuntimeControllerMock_GetLogger_Call) RunAndReturn(run func() logr.Logger) *RuntimeControllerMock_GetLogger_Call
type RuntimeControllerMock_Reconcile_Call ¶
RuntimeControllerMock_Reconcile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reconcile'
func (*RuntimeControllerMock_Reconcile_Call) Return ¶
func (_c *RuntimeControllerMock_Reconcile_Call) Return(_a0 reconcile.Result, _a1 error) *RuntimeControllerMock_Reconcile_Call
func (*RuntimeControllerMock_Reconcile_Call) Run ¶
func (_c *RuntimeControllerMock_Reconcile_Call) Run(run func(_a0 context.Context, _a1 reconcile.Request)) *RuntimeControllerMock_Reconcile_Call
func (*RuntimeControllerMock_Reconcile_Call) RunAndReturn ¶
func (_c *RuntimeControllerMock_Reconcile_Call) RunAndReturn(run func(context.Context, reconcile.Request) (reconcile.Result, error)) *RuntimeControllerMock_Reconcile_Call
type RuntimeControllerMock_Start_Call ¶
RuntimeControllerMock_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*RuntimeControllerMock_Start_Call) Return ¶
func (_c *RuntimeControllerMock_Start_Call) Return(_a0 error) *RuntimeControllerMock_Start_Call
func (*RuntimeControllerMock_Start_Call) Run ¶
func (_c *RuntimeControllerMock_Start_Call) Run(run func(ctx context.Context)) *RuntimeControllerMock_Start_Call
func (*RuntimeControllerMock_Start_Call) RunAndReturn ¶
func (_c *RuntimeControllerMock_Start_Call) RunAndReturn(run func(context.Context) error) *RuntimeControllerMock_Start_Call
type RuntimeControllerMock_Watch_Call ¶
RuntimeControllerMock_Watch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Watch'
func (*RuntimeControllerMock_Watch_Call) Return ¶
func (_c *RuntimeControllerMock_Watch_Call) Return(_a0 error) *RuntimeControllerMock_Watch_Call
func (*RuntimeControllerMock_Watch_Call) Run ¶
func (_c *RuntimeControllerMock_Watch_Call) Run(run func(src source.Source, eventhandler handler.EventHandler, predicates ...predicate.Predicate)) *RuntimeControllerMock_Watch_Call
func (*RuntimeControllerMock_Watch_Call) RunAndReturn ¶
func (_c *RuntimeControllerMock_Watch_Call) RunAndReturn(run func(source.Source, handler.EventHandler, ...predicate.Predicate) error) *RuntimeControllerMock_Watch_Call
type StatFSMock ¶
StatFSMock is an autogenerated mock type for the StatFS type
func NewStatFSMock ¶
func NewStatFSMock(t interface { mock.TestingT Cleanup(func()) }) *StatFSMock
NewStatFSMock creates a new instance of StatFSMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*StatFSMock) EXPECT ¶
func (_m *StatFSMock) EXPECT() *StatFSMock_Expecter
type StatFSMock_Expecter ¶
type StatFSMock_Expecter struct {
// contains filtered or unexported fields
}
func (*StatFSMock_Expecter) Open ¶
func (_e *StatFSMock_Expecter) Open(name interface{}) *StatFSMock_Open_Call
Open is a helper method to define mock.On call
- name string
func (*StatFSMock_Expecter) Stat ¶
func (_e *StatFSMock_Expecter) Stat(name interface{}) *StatFSMock_Stat_Call
Stat is a helper method to define mock.On call
- name string
type StatFSMock_Open_Call ¶
StatFSMock_Open_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Open'
func (*StatFSMock_Open_Call) Return ¶
func (_c *StatFSMock_Open_Call) Return(_a0 fs.File, _a1 error) *StatFSMock_Open_Call
func (*StatFSMock_Open_Call) Run ¶
func (_c *StatFSMock_Open_Call) Run(run func(name string)) *StatFSMock_Open_Call
func (*StatFSMock_Open_Call) RunAndReturn ¶
func (_c *StatFSMock_Open_Call) RunAndReturn(run func(string) (fs.File, error)) *StatFSMock_Open_Call
type StatFSMock_Stat_Call ¶
StatFSMock_Stat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stat'
func (*StatFSMock_Stat_Call) Return ¶
func (_c *StatFSMock_Stat_Call) Return(_a0 fs.FileInfo, _a1 error) *StatFSMock_Stat_Call
func (*StatFSMock_Stat_Call) Run ¶
func (_c *StatFSMock_Stat_Call) Run(run func(name string)) *StatFSMock_Stat_Call
func (*StatFSMock_Stat_Call) RunAndReturn ¶
func (_c *StatFSMock_Stat_Call) RunAndReturn(run func(string) (fs.FileInfo, error)) *StatFSMock_Stat_Call
type SyncingSourceMock ¶
SyncingSourceMock is an autogenerated mock type for the SyncingSource type
func NewSyncingSourceMock ¶
func NewSyncingSourceMock(t interface { mock.TestingT Cleanup(func()) }) *SyncingSourceMock
NewSyncingSourceMock creates a new instance of SyncingSourceMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SyncingSourceMock) EXPECT ¶
func (_m *SyncingSourceMock) EXPECT() *SyncingSourceMock_Expecter
func (*SyncingSourceMock) Start ¶
func (_m *SyncingSourceMock) Start(_a0 context.Context, _a1 handler.EventHandler, _a2 workqueue.RateLimitingInterface, _a3 ...predicate.Predicate) error
Start provides a mock function with given fields: _a0, _a1, _a2, _a3
func (*SyncingSourceMock) WaitForSync ¶
func (_m *SyncingSourceMock) WaitForSync(ctx context.Context) error
WaitForSync provides a mock function with given fields: ctx
type SyncingSourceMock_Expecter ¶
type SyncingSourceMock_Expecter struct {
// contains filtered or unexported fields
}
func (*SyncingSourceMock_Expecter) Start ¶
func (_e *SyncingSourceMock_Expecter) Start(_a0 interface{}, _a1 interface{}, _a2 interface{}, _a3 ...interface{}) *SyncingSourceMock_Start_Call
Start is a helper method to define mock.On call
- _a0 context.Context
- _a1 handler.EventHandler
- _a2 workqueue.RateLimitingInterface
- _a3 ...predicate.Predicate
func (*SyncingSourceMock_Expecter) WaitForSync ¶
func (_e *SyncingSourceMock_Expecter) WaitForSync(ctx interface{}) *SyncingSourceMock_WaitForSync_Call
WaitForSync is a helper method to define mock.On call
- ctx context.Context
type SyncingSourceMock_Start_Call ¶
SyncingSourceMock_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*SyncingSourceMock_Start_Call) Return ¶
func (_c *SyncingSourceMock_Start_Call) Return(_a0 error) *SyncingSourceMock_Start_Call
func (*SyncingSourceMock_Start_Call) Run ¶
func (_c *SyncingSourceMock_Start_Call) Run(run func(_a0 context.Context, _a1 handler.EventHandler, _a2 workqueue.RateLimitingInterface, _a3 ...predicate.Predicate)) *SyncingSourceMock_Start_Call
func (*SyncingSourceMock_Start_Call) RunAndReturn ¶
func (_c *SyncingSourceMock_Start_Call) RunAndReturn(run func(context.Context, handler.EventHandler, workqueue.RateLimitingInterface, ...predicate.Predicate) error) *SyncingSourceMock_Start_Call
type SyncingSourceMock_WaitForSync_Call ¶
SyncingSourceMock_WaitForSync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WaitForSync'
func (*SyncingSourceMock_WaitForSync_Call) Return ¶
func (_c *SyncingSourceMock_WaitForSync_Call) Return(_a0 error) *SyncingSourceMock_WaitForSync_Call
func (*SyncingSourceMock_WaitForSync_Call) Run ¶
func (_c *SyncingSourceMock_WaitForSync_Call) Run(run func(ctx context.Context)) *SyncingSourceMock_WaitForSync_Call
func (*SyncingSourceMock_WaitForSync_Call) RunAndReturn ¶
func (_c *SyncingSourceMock_WaitForSync_Call) RunAndReturn(run func(context.Context) error) *SyncingSourceMock_WaitForSync_Call