mocks

package
v0.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerManager

type ControllerManager struct {
	mock.Mock
}

ControllerManager is an autogenerated mock type for the ControllerManager type

func NewControllerManager

func NewControllerManager(t mockConstructorTestingTNewControllerManager) *ControllerManager

NewControllerManager creates a new instance of ControllerManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*ControllerManager) Add

func (_m *ControllerManager) Add(_a0 manager.Runnable) error

Add provides a mock function with given fields: _a0

func (*ControllerManager) AddHealthzCheck

func (_m *ControllerManager) AddHealthzCheck(name string, check healthz.Checker) error

AddHealthzCheck provides a mock function with given fields: name, check

func (*ControllerManager) AddMetricsExtraHandler

func (_m *ControllerManager) AddMetricsExtraHandler(path string, handler http.Handler) error

AddMetricsExtraHandler provides a mock function with given fields: path, handler

func (*ControllerManager) AddReadyzCheck

func (_m *ControllerManager) AddReadyzCheck(name string, check healthz.Checker) error

AddReadyzCheck provides a mock function with given fields: name, check

func (*ControllerManager) EXPECT

func (*ControllerManager) Elected

func (_m *ControllerManager) Elected() <-chan struct{}

Elected provides a mock function with given fields:

func (*ControllerManager) GetAPIReader

func (_m *ControllerManager) GetAPIReader() client.Reader

GetAPIReader provides a mock function with given fields:

func (*ControllerManager) GetCache

func (_m *ControllerManager) GetCache() cache.Cache

GetCache provides a mock function with given fields:

func (*ControllerManager) GetClient

func (_m *ControllerManager) GetClient() client.Client

GetClient provides a mock function with given fields:

func (*ControllerManager) GetConfig

func (_m *ControllerManager) GetConfig() *rest.Config

GetConfig provides a mock function with given fields:

func (*ControllerManager) GetControllerOptions

func (_m *ControllerManager) GetControllerOptions() v1alpha1.ControllerConfigurationSpec

GetControllerOptions provides a mock function with given fields:

func (*ControllerManager) GetEventRecorderFor

func (_m *ControllerManager) GetEventRecorderFor(name string) record.EventRecorder

GetEventRecorderFor provides a mock function with given fields: name

func (*ControllerManager) GetFieldIndexer

func (_m *ControllerManager) GetFieldIndexer() client.FieldIndexer

GetFieldIndexer provides a mock function with given fields:

func (*ControllerManager) GetLogger

func (_m *ControllerManager) GetLogger() logr.Logger

GetLogger provides a mock function with given fields:

func (*ControllerManager) GetRESTMapper

func (_m *ControllerManager) GetRESTMapper() meta.RESTMapper

GetRESTMapper provides a mock function with given fields:

func (*ControllerManager) GetScheme

func (_m *ControllerManager) GetScheme() *runtime.Scheme

GetScheme provides a mock function with given fields:

func (*ControllerManager) GetWebhookServer

func (_m *ControllerManager) GetWebhookServer() *webhook.Server

GetWebhookServer provides a mock function with given fields:

func (*ControllerManager) SetFields

func (_m *ControllerManager) SetFields(_a0 interface{}) error

SetFields provides a mock function with given fields: _a0

func (*ControllerManager) Start

func (_m *ControllerManager) Start(ctx context.Context) error

Start provides a mock function with given fields: ctx

type ControllerManager_AddHealthzCheck_Call

type ControllerManager_AddHealthzCheck_Call struct {
	*mock.Call
}

ControllerManager_AddHealthzCheck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddHealthzCheck'

func (*ControllerManager_AddHealthzCheck_Call) Return

func (*ControllerManager_AddHealthzCheck_Call) Run

func (*ControllerManager_AddHealthzCheck_Call) RunAndReturn

type ControllerManager_AddMetricsExtraHandler_Call

type ControllerManager_AddMetricsExtraHandler_Call struct {
	*mock.Call
}

ControllerManager_AddMetricsExtraHandler_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddMetricsExtraHandler'

func (*ControllerManager_AddMetricsExtraHandler_Call) Return

func (*ControllerManager_AddMetricsExtraHandler_Call) Run

func (*ControllerManager_AddMetricsExtraHandler_Call) RunAndReturn

type ControllerManager_AddReadyzCheck_Call

type ControllerManager_AddReadyzCheck_Call struct {
	*mock.Call
}

ControllerManager_AddReadyzCheck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddReadyzCheck'

func (*ControllerManager_AddReadyzCheck_Call) Return

func (*ControllerManager_AddReadyzCheck_Call) Run

func (*ControllerManager_AddReadyzCheck_Call) RunAndReturn

type ControllerManager_Add_Call

type ControllerManager_Add_Call struct {
	*mock.Call
}

ControllerManager_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'

func (*ControllerManager_Add_Call) Return

func (*ControllerManager_Add_Call) Run

func (*ControllerManager_Add_Call) RunAndReturn

type ControllerManager_Elected_Call

type ControllerManager_Elected_Call struct {
	*mock.Call
}

ControllerManager_Elected_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Elected'

func (*ControllerManager_Elected_Call) Return

func (_c *ControllerManager_Elected_Call) Return(_a0 <-chan struct{}) *ControllerManager_Elected_Call

func (*ControllerManager_Elected_Call) Run

func (*ControllerManager_Elected_Call) RunAndReturn

func (_c *ControllerManager_Elected_Call) RunAndReturn(run func() <-chan struct{}) *ControllerManager_Elected_Call

type ControllerManager_Expecter

type ControllerManager_Expecter struct {
	// contains filtered or unexported fields
}

func (*ControllerManager_Expecter) Add

func (_e *ControllerManager_Expecter) Add(_a0 interface{}) *ControllerManager_Add_Call

Add is a helper method to define mock.On call

  • _a0 manager.Runnable

func (*ControllerManager_Expecter) AddHealthzCheck

func (_e *ControllerManager_Expecter) AddHealthzCheck(name interface{}, check interface{}) *ControllerManager_AddHealthzCheck_Call

AddHealthzCheck is a helper method to define mock.On call

  • name string
  • check healthz.Checker

func (*ControllerManager_Expecter) AddMetricsExtraHandler

func (_e *ControllerManager_Expecter) AddMetricsExtraHandler(path interface{}, handler interface{}) *ControllerManager_AddMetricsExtraHandler_Call

AddMetricsExtraHandler is a helper method to define mock.On call

  • path string
  • handler http.Handler

func (*ControllerManager_Expecter) AddReadyzCheck

func (_e *ControllerManager_Expecter) AddReadyzCheck(name interface{}, check interface{}) *ControllerManager_AddReadyzCheck_Call

AddReadyzCheck is a helper method to define mock.On call

  • name string
  • check healthz.Checker

func (*ControllerManager_Expecter) Elected

Elected is a helper method to define mock.On call

func (*ControllerManager_Expecter) GetAPIReader

GetAPIReader is a helper method to define mock.On call

func (*ControllerManager_Expecter) GetCache

GetCache is a helper method to define mock.On call

func (*ControllerManager_Expecter) GetClient

GetClient is a helper method to define mock.On call

func (*ControllerManager_Expecter) GetConfig

GetConfig is a helper method to define mock.On call

func (*ControllerManager_Expecter) GetControllerOptions

GetControllerOptions is a helper method to define mock.On call

func (*ControllerManager_Expecter) GetEventRecorderFor

func (_e *ControllerManager_Expecter) GetEventRecorderFor(name interface{}) *ControllerManager_GetEventRecorderFor_Call

GetEventRecorderFor is a helper method to define mock.On call

  • name string

func (*ControllerManager_Expecter) GetFieldIndexer

GetFieldIndexer is a helper method to define mock.On call

func (*ControllerManager_Expecter) GetLogger

GetLogger is a helper method to define mock.On call

func (*ControllerManager_Expecter) GetRESTMapper

GetRESTMapper is a helper method to define mock.On call

func (*ControllerManager_Expecter) GetScheme

GetScheme is a helper method to define mock.On call

func (*ControllerManager_Expecter) GetWebhookServer

GetWebhookServer is a helper method to define mock.On call

func (*ControllerManager_Expecter) SetFields

func (_e *ControllerManager_Expecter) SetFields(_a0 interface{}) *ControllerManager_SetFields_Call

SetFields is a helper method to define mock.On call

  • _a0 interface{}

func (*ControllerManager_Expecter) Start

func (_e *ControllerManager_Expecter) Start(ctx interface{}) *ControllerManager_Start_Call

Start is a helper method to define mock.On call

  • ctx context.Context

type ControllerManager_GetAPIReader_Call

type ControllerManager_GetAPIReader_Call struct {
	*mock.Call
}

ControllerManager_GetAPIReader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAPIReader'

func (*ControllerManager_GetAPIReader_Call) Return

func (*ControllerManager_GetAPIReader_Call) Run

func (*ControllerManager_GetAPIReader_Call) RunAndReturn

type ControllerManager_GetCache_Call

type ControllerManager_GetCache_Call struct {
	*mock.Call
}

ControllerManager_GetCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCache'

func (*ControllerManager_GetCache_Call) Return

func (*ControllerManager_GetCache_Call) Run

func (*ControllerManager_GetCache_Call) RunAndReturn

type ControllerManager_GetClient_Call

type ControllerManager_GetClient_Call struct {
	*mock.Call
}

ControllerManager_GetClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClient'

func (*ControllerManager_GetClient_Call) Return

func (*ControllerManager_GetClient_Call) Run

func (*ControllerManager_GetClient_Call) RunAndReturn

type ControllerManager_GetConfig_Call

type ControllerManager_GetConfig_Call struct {
	*mock.Call
}

ControllerManager_GetConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConfig'

func (*ControllerManager_GetConfig_Call) Return

func (*ControllerManager_GetConfig_Call) Run

func (*ControllerManager_GetConfig_Call) RunAndReturn

type ControllerManager_GetControllerOptions_Call

type ControllerManager_GetControllerOptions_Call struct {
	*mock.Call
}

ControllerManager_GetControllerOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetControllerOptions'

func (*ControllerManager_GetControllerOptions_Call) Run

func (*ControllerManager_GetControllerOptions_Call) RunAndReturn

type ControllerManager_GetEventRecorderFor_Call

type ControllerManager_GetEventRecorderFor_Call struct {
	*mock.Call
}

ControllerManager_GetEventRecorderFor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEventRecorderFor'

func (*ControllerManager_GetEventRecorderFor_Call) Return

func (*ControllerManager_GetEventRecorderFor_Call) Run

func (*ControllerManager_GetEventRecorderFor_Call) RunAndReturn

type ControllerManager_GetFieldIndexer_Call

type ControllerManager_GetFieldIndexer_Call struct {
	*mock.Call
}

ControllerManager_GetFieldIndexer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFieldIndexer'

func (*ControllerManager_GetFieldIndexer_Call) Return

func (*ControllerManager_GetFieldIndexer_Call) Run

func (*ControllerManager_GetFieldIndexer_Call) RunAndReturn

type ControllerManager_GetLogger_Call

type ControllerManager_GetLogger_Call struct {
	*mock.Call
}

ControllerManager_GetLogger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogger'

func (*ControllerManager_GetLogger_Call) Return

func (*ControllerManager_GetLogger_Call) Run

func (*ControllerManager_GetLogger_Call) RunAndReturn

type ControllerManager_GetRESTMapper_Call

type ControllerManager_GetRESTMapper_Call struct {
	*mock.Call
}

ControllerManager_GetRESTMapper_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRESTMapper'

func (*ControllerManager_GetRESTMapper_Call) Return

func (*ControllerManager_GetRESTMapper_Call) Run

func (*ControllerManager_GetRESTMapper_Call) RunAndReturn

type ControllerManager_GetScheme_Call

type ControllerManager_GetScheme_Call struct {
	*mock.Call
}

ControllerManager_GetScheme_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetScheme'

func (*ControllerManager_GetScheme_Call) Return

func (*ControllerManager_GetScheme_Call) Run

func (*ControllerManager_GetScheme_Call) RunAndReturn

type ControllerManager_GetWebhookServer_Call

type ControllerManager_GetWebhookServer_Call struct {
	*mock.Call
}

ControllerManager_GetWebhookServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWebhookServer'

func (*ControllerManager_GetWebhookServer_Call) Return

func (*ControllerManager_GetWebhookServer_Call) Run

func (*ControllerManager_GetWebhookServer_Call) RunAndReturn

type ControllerManager_SetFields_Call

type ControllerManager_SetFields_Call struct {
	*mock.Call
}

ControllerManager_SetFields_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFields'

func (*ControllerManager_SetFields_Call) Return

func (*ControllerManager_SetFields_Call) Run

func (_c *ControllerManager_SetFields_Call) Run(run func(_a0 interface{})) *ControllerManager_SetFields_Call

func (*ControllerManager_SetFields_Call) RunAndReturn

func (_c *ControllerManager_SetFields_Call) RunAndReturn(run func(interface{}) error) *ControllerManager_SetFields_Call

type ControllerManager_Start_Call

type ControllerManager_Start_Call struct {
	*mock.Call
}

ControllerManager_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'

func (*ControllerManager_Start_Call) Return

func (*ControllerManager_Start_Call) Run

func (*ControllerManager_Start_Call) RunAndReturn

type DoguRegistry

type DoguRegistry struct {
	mock.Mock
}

DoguRegistry is an autogenerated mock type for the DoguRegistry type

func NewDoguRegistry

func NewDoguRegistry(t mockConstructorTestingTNewDoguRegistry) *DoguRegistry

NewDoguRegistry creates a new instance of DoguRegistry. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*DoguRegistry) EXPECT

func (_m *DoguRegistry) EXPECT() *DoguRegistry_Expecter

func (*DoguRegistry) Enable

func (_m *DoguRegistry) Enable(dogu *core.Dogu) error

Enable provides a mock function with given fields: dogu

func (*DoguRegistry) Get

func (_m *DoguRegistry) Get(name string) (*core.Dogu, error)

Get provides a mock function with given fields: name

func (*DoguRegistry) GetAll

func (_m *DoguRegistry) GetAll() ([]*core.Dogu, error)

GetAll provides a mock function with given fields:

func (*DoguRegistry) IsEnabled

func (_m *DoguRegistry) IsEnabled(name string) (bool, error)

IsEnabled provides a mock function with given fields: name

func (*DoguRegistry) Register

func (_m *DoguRegistry) Register(dogu *core.Dogu) error

Register provides a mock function with given fields: dogu

func (*DoguRegistry) Unregister

func (_m *DoguRegistry) Unregister(name string) error

Unregister provides a mock function with given fields: name

type DoguRegistry_Enable_Call

type DoguRegistry_Enable_Call struct {
	*mock.Call
}

DoguRegistry_Enable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Enable'

func (*DoguRegistry_Enable_Call) Return

func (*DoguRegistry_Enable_Call) Run

func (_c *DoguRegistry_Enable_Call) Run(run func(dogu *core.Dogu)) *DoguRegistry_Enable_Call

func (*DoguRegistry_Enable_Call) RunAndReturn

func (_c *DoguRegistry_Enable_Call) RunAndReturn(run func(*core.Dogu) error) *DoguRegistry_Enable_Call

type DoguRegistry_Expecter

type DoguRegistry_Expecter struct {
	// contains filtered or unexported fields
}

func (*DoguRegistry_Expecter) Enable

func (_e *DoguRegistry_Expecter) Enable(dogu interface{}) *DoguRegistry_Enable_Call

Enable is a helper method to define mock.On call

  • dogu *core.Dogu

func (*DoguRegistry_Expecter) Get

func (_e *DoguRegistry_Expecter) Get(name interface{}) *DoguRegistry_Get_Call

Get is a helper method to define mock.On call

  • name string

func (*DoguRegistry_Expecter) GetAll

GetAll is a helper method to define mock.On call

func (*DoguRegistry_Expecter) IsEnabled

func (_e *DoguRegistry_Expecter) IsEnabled(name interface{}) *DoguRegistry_IsEnabled_Call

IsEnabled is a helper method to define mock.On call

  • name string

func (*DoguRegistry_Expecter) Register

func (_e *DoguRegistry_Expecter) Register(dogu interface{}) *DoguRegistry_Register_Call

Register is a helper method to define mock.On call

  • dogu *core.Dogu

func (*DoguRegistry_Expecter) Unregister

func (_e *DoguRegistry_Expecter) Unregister(name interface{}) *DoguRegistry_Unregister_Call

Unregister is a helper method to define mock.On call

  • name string

type DoguRegistry_GetAll_Call

type DoguRegistry_GetAll_Call struct {
	*mock.Call
}

DoguRegistry_GetAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAll'

func (*DoguRegistry_GetAll_Call) Return

func (*DoguRegistry_GetAll_Call) Run

func (*DoguRegistry_GetAll_Call) RunAndReturn

func (_c *DoguRegistry_GetAll_Call) RunAndReturn(run func() ([]*core.Dogu, error)) *DoguRegistry_GetAll_Call

type DoguRegistry_Get_Call

type DoguRegistry_Get_Call struct {
	*mock.Call
}

DoguRegistry_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*DoguRegistry_Get_Call) Return

func (*DoguRegistry_Get_Call) Run

func (_c *DoguRegistry_Get_Call) Run(run func(name string)) *DoguRegistry_Get_Call

func (*DoguRegistry_Get_Call) RunAndReturn

func (_c *DoguRegistry_Get_Call) RunAndReturn(run func(string) (*core.Dogu, error)) *DoguRegistry_Get_Call

type DoguRegistry_IsEnabled_Call

type DoguRegistry_IsEnabled_Call struct {
	*mock.Call
}

DoguRegistry_IsEnabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsEnabled'

func (*DoguRegistry_IsEnabled_Call) Return

func (*DoguRegistry_IsEnabled_Call) Run

func (*DoguRegistry_IsEnabled_Call) RunAndReturn

type DoguRegistry_Register_Call

type DoguRegistry_Register_Call struct {
	*mock.Call
}

DoguRegistry_Register_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Register'

func (*DoguRegistry_Register_Call) Return

func (*DoguRegistry_Register_Call) Run

func (*DoguRegistry_Register_Call) RunAndReturn

type DoguRegistry_Unregister_Call

type DoguRegistry_Unregister_Call struct {
	*mock.Call
}

DoguRegistry_Unregister_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unregister'

func (*DoguRegistry_Unregister_Call) Return

func (*DoguRegistry_Unregister_Call) Run

func (*DoguRegistry_Unregister_Call) RunAndReturn

type EventRecorder

type EventRecorder struct {
	mock.Mock
}

EventRecorder is an autogenerated mock type for the EventRecorder type

func NewEventRecorder

func NewEventRecorder(t mockConstructorTestingTNewEventRecorder) *EventRecorder

NewEventRecorder creates a new instance of EventRecorder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*EventRecorder) AnnotatedEventf

func (_m *EventRecorder) 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 (*EventRecorder) EXPECT

func (_m *EventRecorder) EXPECT() *EventRecorder_Expecter

func (*EventRecorder) Event

func (_m *EventRecorder) Event(object runtime.Object, eventtype string, reason string, message string)

Event provides a mock function with given fields: object, eventtype, reason, message

func (*EventRecorder) Eventf

func (_m *EventRecorder) Eventf(object runtime.Object, eventtype string, reason string, messageFmt string, args ...interface{})

Eventf provides a mock function with given fields: object, eventtype, reason, messageFmt, args

type EventRecorder_AnnotatedEventf_Call

type EventRecorder_AnnotatedEventf_Call struct {
	*mock.Call
}

EventRecorder_AnnotatedEventf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AnnotatedEventf'

func (*EventRecorder_AnnotatedEventf_Call) Return

func (*EventRecorder_AnnotatedEventf_Call) Run

func (_c *EventRecorder_AnnotatedEventf_Call) Run(run func(object runtime.Object, annotations map[string]string, eventtype string, reason string, messageFmt string, args ...interface{})) *EventRecorder_AnnotatedEventf_Call

func (*EventRecorder_AnnotatedEventf_Call) RunAndReturn

type EventRecorder_Event_Call

type EventRecorder_Event_Call struct {
	*mock.Call
}

EventRecorder_Event_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Event'

func (*EventRecorder_Event_Call) Return

func (*EventRecorder_Event_Call) Run

func (_c *EventRecorder_Event_Call) Run(run func(object runtime.Object, eventtype string, reason string, message string)) *EventRecorder_Event_Call

func (*EventRecorder_Event_Call) RunAndReturn

type EventRecorder_Eventf_Call

type EventRecorder_Eventf_Call struct {
	*mock.Call
}

EventRecorder_Eventf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Eventf'

func (*EventRecorder_Eventf_Call) Return

func (*EventRecorder_Eventf_Call) Run

func (_c *EventRecorder_Eventf_Call) Run(run func(object runtime.Object, eventtype string, reason string, messageFmt string, args ...interface{})) *EventRecorder_Eventf_Call

func (*EventRecorder_Eventf_Call) RunAndReturn

func (_c *EventRecorder_Eventf_Call) RunAndReturn(run func(runtime.Object, string, string, string, ...interface{})) *EventRecorder_Eventf_Call

type EventRecorder_Expecter

type EventRecorder_Expecter struct {
	// contains filtered or unexported fields
}

func (*EventRecorder_Expecter) AnnotatedEventf

func (_e *EventRecorder_Expecter) AnnotatedEventf(object interface{}, annotations interface{}, eventtype interface{}, reason interface{}, messageFmt interface{}, args ...interface{}) *EventRecorder_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 (*EventRecorder_Expecter) Event

func (_e *EventRecorder_Expecter) Event(object interface{}, eventtype interface{}, reason interface{}, message interface{}) *EventRecorder_Event_Call

Event is a helper method to define mock.On call

  • object runtime.Object
  • eventtype string
  • reason string
  • message string

func (*EventRecorder_Expecter) Eventf

func (_e *EventRecorder_Expecter) Eventf(object interface{}, eventtype interface{}, reason interface{}, messageFmt interface{}, args ...interface{}) *EventRecorder_Eventf_Call

Eventf is a helper method to define mock.On call

  • object runtime.Object
  • eventtype string
  • reason string
  • messageFmt string
  • args ...interface{}

type HostAliasGenerator added in v0.27.0

type HostAliasGenerator struct {
	mock.Mock
}

HostAliasGenerator is an autogenerated mock type for the HostAliasGenerator type

func NewHostAliasGenerator added in v0.27.0

func NewHostAliasGenerator(t mockConstructorTestingTNewHostAliasGenerator) *HostAliasGenerator

NewHostAliasGenerator creates a new instance of HostAliasGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*HostAliasGenerator) EXPECT added in v0.27.0

func (*HostAliasGenerator) Generate added in v0.27.0

func (_m *HostAliasGenerator) Generate() ([]v1.HostAlias, error)

Generate provides a mock function with given fields:

type HostAliasGenerator_Expecter added in v0.27.0

type HostAliasGenerator_Expecter struct {
	// contains filtered or unexported fields
}

func (*HostAliasGenerator_Expecter) Generate added in v0.27.0

Generate is a helper method to define mock.On call

type HostAliasGenerator_Generate_Call added in v0.27.0

type HostAliasGenerator_Generate_Call struct {
	*mock.Call
}

HostAliasGenerator_Generate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Generate'

func (*HostAliasGenerator_Generate_Call) Return added in v0.27.0

func (*HostAliasGenerator_Generate_Call) Run added in v0.27.0

func (*HostAliasGenerator_Generate_Call) RunAndReturn added in v0.27.0

type K8sClient

type K8sClient struct {
	mock.Mock
}

K8sClient is an autogenerated mock type for the K8sClient type

func NewK8sClient

func NewK8sClient(t mockConstructorTestingTNewK8sClient) *K8sClient

NewK8sClient creates a new instance of K8sClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*K8sClient) Create

func (_m *K8sClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error

Create provides a mock function with given fields: ctx, obj, opts

func (*K8sClient) Delete

func (_m *K8sClient) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error

Delete provides a mock function with given fields: ctx, obj, opts

func (*K8sClient) DeleteAllOf

func (_m *K8sClient) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error

DeleteAllOf provides a mock function with given fields: ctx, obj, opts

func (*K8sClient) EXPECT

func (_m *K8sClient) EXPECT() *K8sClient_Expecter

func (*K8sClient) Get

func (_m *K8sClient) 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 (*K8sClient) List

func (_m *K8sClient) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error

List provides a mock function with given fields: ctx, list, opts

func (*K8sClient) Patch

func (_m *K8sClient) 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 (*K8sClient) RESTMapper

func (_m *K8sClient) RESTMapper() meta.RESTMapper

RESTMapper provides a mock function with given fields:

func (*K8sClient) Scheme

func (_m *K8sClient) Scheme() *runtime.Scheme

Scheme provides a mock function with given fields:

func (*K8sClient) Status

func (_m *K8sClient) Status() client.SubResourceWriter

Status provides a mock function with given fields:

func (*K8sClient) SubResource

func (_m *K8sClient) SubResource(subResource string) client.SubResourceClient

SubResource provides a mock function with given fields: subResource

func (*K8sClient) Update

func (_m *K8sClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error

Update provides a mock function with given fields: ctx, obj, opts

type K8sClient_Create_Call

type K8sClient_Create_Call struct {
	*mock.Call
}

K8sClient_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'

func (*K8sClient_Create_Call) Return

func (*K8sClient_Create_Call) Run

func (*K8sClient_Create_Call) RunAndReturn

type K8sClient_DeleteAllOf_Call

type K8sClient_DeleteAllOf_Call struct {
	*mock.Call
}

K8sClient_DeleteAllOf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAllOf'

func (*K8sClient_DeleteAllOf_Call) Return

func (*K8sClient_DeleteAllOf_Call) Run

func (*K8sClient_DeleteAllOf_Call) RunAndReturn

type K8sClient_Delete_Call

type K8sClient_Delete_Call struct {
	*mock.Call
}

K8sClient_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'

func (*K8sClient_Delete_Call) Return

func (*K8sClient_Delete_Call) Run

func (*K8sClient_Delete_Call) RunAndReturn

type K8sClient_Expecter

type K8sClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*K8sClient_Expecter) Create

func (_e *K8sClient_Expecter) Create(ctx interface{}, obj interface{}, opts ...interface{}) *K8sClient_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • obj client.Object
  • opts ...client.CreateOption

func (*K8sClient_Expecter) Delete

func (_e *K8sClient_Expecter) Delete(ctx interface{}, obj interface{}, opts ...interface{}) *K8sClient_Delete_Call

Delete is a helper method to define mock.On call

  • ctx context.Context
  • obj client.Object
  • opts ...client.DeleteOption

func (*K8sClient_Expecter) DeleteAllOf

func (_e *K8sClient_Expecter) DeleteAllOf(ctx interface{}, obj interface{}, opts ...interface{}) *K8sClient_DeleteAllOf_Call

DeleteAllOf is a helper method to define mock.On call

  • ctx context.Context
  • obj client.Object
  • opts ...client.DeleteAllOfOption

func (*K8sClient_Expecter) Get

func (_e *K8sClient_Expecter) Get(ctx interface{}, key interface{}, obj interface{}, opts ...interface{}) *K8sClient_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 (*K8sClient_Expecter) List

func (_e *K8sClient_Expecter) List(ctx interface{}, list interface{}, opts ...interface{}) *K8sClient_List_Call

List is a helper method to define mock.On call

  • ctx context.Context
  • list client.ObjectList
  • opts ...client.ListOption

func (*K8sClient_Expecter) Patch

func (_e *K8sClient_Expecter) Patch(ctx interface{}, obj interface{}, patch interface{}, opts ...interface{}) *K8sClient_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 (*K8sClient_Expecter) RESTMapper

RESTMapper is a helper method to define mock.On call

func (*K8sClient_Expecter) Scheme

Scheme is a helper method to define mock.On call

func (*K8sClient_Expecter) Status

Status is a helper method to define mock.On call

func (*K8sClient_Expecter) SubResource

func (_e *K8sClient_Expecter) SubResource(subResource interface{}) *K8sClient_SubResource_Call

SubResource is a helper method to define mock.On call

  • subResource string

func (*K8sClient_Expecter) Update

func (_e *K8sClient_Expecter) Update(ctx interface{}, obj interface{}, opts ...interface{}) *K8sClient_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • obj client.Object
  • opts ...client.UpdateOption

type K8sClient_Get_Call

type K8sClient_Get_Call struct {
	*mock.Call
}

K8sClient_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*K8sClient_Get_Call) Return

func (_c *K8sClient_Get_Call) Return(_a0 error) *K8sClient_Get_Call

func (*K8sClient_Get_Call) Run

func (*K8sClient_Get_Call) RunAndReturn

type K8sClient_List_Call

type K8sClient_List_Call struct {
	*mock.Call
}

K8sClient_List_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'List'

func (*K8sClient_List_Call) Return

func (*K8sClient_List_Call) Run

func (*K8sClient_List_Call) RunAndReturn

type K8sClient_Patch_Call

type K8sClient_Patch_Call struct {
	*mock.Call
}

K8sClient_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'

func (*K8sClient_Patch_Call) Return

func (*K8sClient_Patch_Call) Run

func (_c *K8sClient_Patch_Call) Run(run func(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption)) *K8sClient_Patch_Call

func (*K8sClient_Patch_Call) RunAndReturn

type K8sClient_RESTMapper_Call

type K8sClient_RESTMapper_Call struct {
	*mock.Call
}

K8sClient_RESTMapper_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RESTMapper'

func (*K8sClient_RESTMapper_Call) Return

func (*K8sClient_RESTMapper_Call) Run

func (*K8sClient_RESTMapper_Call) RunAndReturn

type K8sClient_Scheme_Call

type K8sClient_Scheme_Call struct {
	*mock.Call
}

K8sClient_Scheme_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scheme'

func (*K8sClient_Scheme_Call) Return

func (*K8sClient_Scheme_Call) Run

func (_c *K8sClient_Scheme_Call) Run(run func()) *K8sClient_Scheme_Call

func (*K8sClient_Scheme_Call) RunAndReturn

func (_c *K8sClient_Scheme_Call) RunAndReturn(run func() *runtime.Scheme) *K8sClient_Scheme_Call

type K8sClient_Status_Call

type K8sClient_Status_Call struct {
	*mock.Call
}

K8sClient_Status_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Status'

func (*K8sClient_Status_Call) Return

func (*K8sClient_Status_Call) Run

func (_c *K8sClient_Status_Call) Run(run func()) *K8sClient_Status_Call

func (*K8sClient_Status_Call) RunAndReturn

type K8sClient_SubResource_Call

type K8sClient_SubResource_Call struct {
	*mock.Call
}

K8sClient_SubResource_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubResource'

func (*K8sClient_SubResource_Call) Return

func (*K8sClient_SubResource_Call) Run

func (_c *K8sClient_SubResource_Call) Run(run func(subResource string)) *K8sClient_SubResource_Call

func (*K8sClient_SubResource_Call) RunAndReturn

type K8sClient_Update_Call

type K8sClient_Update_Call struct {
	*mock.Call
}

K8sClient_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'

func (*K8sClient_Update_Call) Return

func (*K8sClient_Update_Call) Run

func (*K8sClient_Update_Call) RunAndReturn

type K8sSubResourceWriter

type K8sSubResourceWriter struct {
	mock.Mock
}

K8sSubResourceWriter is an autogenerated mock type for the K8sSubResourceWriter type

func NewK8sSubResourceWriter

func NewK8sSubResourceWriter(t mockConstructorTestingTNewK8sSubResourceWriter) *K8sSubResourceWriter

NewK8sSubResourceWriter creates a new instance of K8sSubResourceWriter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*K8sSubResourceWriter) Create

Create provides a mock function with given fields: ctx, obj, subResource, opts

func (*K8sSubResourceWriter) EXPECT

func (*K8sSubResourceWriter) Patch

Patch provides a mock function with given fields: ctx, obj, patch, opts

func (*K8sSubResourceWriter) Update

Update provides a mock function with given fields: ctx, obj, opts

type K8sSubResourceWriter_Create_Call

type K8sSubResourceWriter_Create_Call struct {
	*mock.Call
}

K8sSubResourceWriter_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'

func (*K8sSubResourceWriter_Create_Call) Return

func (*K8sSubResourceWriter_Create_Call) Run

type K8sSubResourceWriter_Expecter

type K8sSubResourceWriter_Expecter struct {
	// contains filtered or unexported fields
}

func (*K8sSubResourceWriter_Expecter) Create

func (_e *K8sSubResourceWriter_Expecter) Create(ctx interface{}, obj interface{}, subResource interface{}, opts ...interface{}) *K8sSubResourceWriter_Create_Call

Create is a helper method to define mock.On call

  • ctx context.Context
  • obj client.Object
  • subResource client.Object
  • opts ...client.SubResourceCreateOption

func (*K8sSubResourceWriter_Expecter) Patch

func (_e *K8sSubResourceWriter_Expecter) Patch(ctx interface{}, obj interface{}, patch interface{}, opts ...interface{}) *K8sSubResourceWriter_Patch_Call

Patch is a helper method to define mock.On call

  • ctx context.Context
  • obj client.Object
  • patch client.Patch
  • opts ...client.SubResourcePatchOption

func (*K8sSubResourceWriter_Expecter) Update

func (_e *K8sSubResourceWriter_Expecter) Update(ctx interface{}, obj interface{}, opts ...interface{}) *K8sSubResourceWriter_Update_Call

Update is a helper method to define mock.On call

  • ctx context.Context
  • obj client.Object
  • opts ...client.SubResourceUpdateOption

type K8sSubResourceWriter_Patch_Call

type K8sSubResourceWriter_Patch_Call struct {
	*mock.Call
}

K8sSubResourceWriter_Patch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Patch'

func (*K8sSubResourceWriter_Patch_Call) Return

func (*K8sSubResourceWriter_Patch_Call) Run

type K8sSubResourceWriter_Update_Call

type K8sSubResourceWriter_Update_Call struct {
	*mock.Call
}

K8sSubResourceWriter_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'

func (*K8sSubResourceWriter_Update_Call) Return

func (*K8sSubResourceWriter_Update_Call) Run

func (*K8sSubResourceWriter_Update_Call) RunAndReturn

type LogSink

type LogSink struct {
	mock.Mock
}

LogSink is an autogenerated mock type for the LogSink type

func NewLogSink

func NewLogSink(t mockConstructorTestingTNewLogSink) *LogSink

NewLogSink creates a new instance of LogSink. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*LogSink) EXPECT

func (_m *LogSink) EXPECT() *LogSink_Expecter

func (*LogSink) Enabled

func (_m *LogSink) Enabled(level int) bool

Enabled provides a mock function with given fields: level

func (*LogSink) Error

func (_m *LogSink) Error(err error, msg string, keysAndValues ...interface{})

Error provides a mock function with given fields: err, msg, keysAndValues

func (*LogSink) Info

func (_m *LogSink) Info(level int, msg string, keysAndValues ...interface{})

Info provides a mock function with given fields: level, msg, keysAndValues

func (*LogSink) Init

func (_m *LogSink) Init(info logr.RuntimeInfo)

Init provides a mock function with given fields: info

func (*LogSink) WithName

func (_m *LogSink) WithName(name string) logr.LogSink

WithName provides a mock function with given fields: name

func (*LogSink) WithValues

func (_m *LogSink) WithValues(keysAndValues ...interface{}) logr.LogSink

WithValues provides a mock function with given fields: keysAndValues

type LogSink_Enabled_Call

type LogSink_Enabled_Call struct {
	*mock.Call
}

LogSink_Enabled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Enabled'

func (*LogSink_Enabled_Call) Return

func (*LogSink_Enabled_Call) Run

func (_c *LogSink_Enabled_Call) Run(run func(level int)) *LogSink_Enabled_Call

func (*LogSink_Enabled_Call) RunAndReturn

func (_c *LogSink_Enabled_Call) RunAndReturn(run func(int) bool) *LogSink_Enabled_Call

type LogSink_Error_Call

type LogSink_Error_Call struct {
	*mock.Call
}

LogSink_Error_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Error'

func (*LogSink_Error_Call) Return

func (_c *LogSink_Error_Call) Return() *LogSink_Error_Call

func (*LogSink_Error_Call) Run

func (_c *LogSink_Error_Call) Run(run func(err error, msg string, keysAndValues ...interface{})) *LogSink_Error_Call

func (*LogSink_Error_Call) RunAndReturn

func (_c *LogSink_Error_Call) RunAndReturn(run func(error, string, ...interface{})) *LogSink_Error_Call

type LogSink_Expecter

type LogSink_Expecter struct {
	// contains filtered or unexported fields
}

func (*LogSink_Expecter) Enabled

func (_e *LogSink_Expecter) Enabled(level interface{}) *LogSink_Enabled_Call

Enabled is a helper method to define mock.On call

  • level int

func (*LogSink_Expecter) Error

func (_e *LogSink_Expecter) Error(err interface{}, msg interface{}, keysAndValues ...interface{}) *LogSink_Error_Call

Error is a helper method to define mock.On call

  • err error
  • msg string
  • keysAndValues ...interface{}

func (*LogSink_Expecter) Info

func (_e *LogSink_Expecter) Info(level interface{}, msg interface{}, keysAndValues ...interface{}) *LogSink_Info_Call

Info is a helper method to define mock.On call

  • level int
  • msg string
  • keysAndValues ...interface{}

func (*LogSink_Expecter) Init

func (_e *LogSink_Expecter) Init(info interface{}) *LogSink_Init_Call

Init is a helper method to define mock.On call

  • info logr.RuntimeInfo

func (*LogSink_Expecter) WithName

func (_e *LogSink_Expecter) WithName(name interface{}) *LogSink_WithName_Call

WithName is a helper method to define mock.On call

  • name string

func (*LogSink_Expecter) WithValues

func (_e *LogSink_Expecter) WithValues(keysAndValues ...interface{}) *LogSink_WithValues_Call

WithValues is a helper method to define mock.On call

  • keysAndValues ...interface{}

type LogSink_Info_Call

type LogSink_Info_Call struct {
	*mock.Call
}

LogSink_Info_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Info'

func (*LogSink_Info_Call) Return

func (_c *LogSink_Info_Call) Return() *LogSink_Info_Call

func (*LogSink_Info_Call) Run

func (_c *LogSink_Info_Call) Run(run func(level int, msg string, keysAndValues ...interface{})) *LogSink_Info_Call

func (*LogSink_Info_Call) RunAndReturn

func (_c *LogSink_Info_Call) RunAndReturn(run func(int, string, ...interface{})) *LogSink_Info_Call

type LogSink_Init_Call

type LogSink_Init_Call struct {
	*mock.Call
}

LogSink_Init_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Init'

func (*LogSink_Init_Call) Return

func (_c *LogSink_Init_Call) Return() *LogSink_Init_Call

func (*LogSink_Init_Call) Run

func (_c *LogSink_Init_Call) Run(run func(info logr.RuntimeInfo)) *LogSink_Init_Call

func (*LogSink_Init_Call) RunAndReturn

func (_c *LogSink_Init_Call) RunAndReturn(run func(logr.RuntimeInfo)) *LogSink_Init_Call

type LogSink_WithName_Call

type LogSink_WithName_Call struct {
	*mock.Call
}

LogSink_WithName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithName'

func (*LogSink_WithName_Call) Return

func (*LogSink_WithName_Call) Run

func (_c *LogSink_WithName_Call) Run(run func(name string)) *LogSink_WithName_Call

func (*LogSink_WithName_Call) RunAndReturn

func (_c *LogSink_WithName_Call) RunAndReturn(run func(string) logr.LogSink) *LogSink_WithName_Call

type LogSink_WithValues_Call

type LogSink_WithValues_Call struct {
	*mock.Call
}

LogSink_WithValues_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithValues'

func (*LogSink_WithValues_Call) Return

func (*LogSink_WithValues_Call) Run

func (_c *LogSink_WithValues_Call) Run(run func(keysAndValues ...interface{})) *LogSink_WithValues_Call

func (*LogSink_WithValues_Call) RunAndReturn

func (_c *LogSink_WithValues_Call) RunAndReturn(run func(...interface{}) logr.LogSink) *LogSink_WithValues_Call

type RemoteExecutor

type RemoteExecutor struct {
	mock.Mock
}

RemoteExecutor is an autogenerated mock type for the RemoteExecutor type

func NewRemoteExecutor

func NewRemoteExecutor(t mockConstructorTestingTNewRemoteExecutor) *RemoteExecutor

NewRemoteExecutor creates a new instance of RemoteExecutor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*RemoteExecutor) EXPECT

func (*RemoteExecutor) Stream

func (_m *RemoteExecutor) Stream(options remotecommand.StreamOptions) error

Stream provides a mock function with given fields: options

func (*RemoteExecutor) StreamWithContext

func (_m *RemoteExecutor) StreamWithContext(ctx context.Context, options remotecommand.StreamOptions) error

StreamWithContext provides a mock function with given fields: ctx, options

type RemoteExecutor_Expecter

type RemoteExecutor_Expecter struct {
	// contains filtered or unexported fields
}

func (*RemoteExecutor_Expecter) Stream

func (_e *RemoteExecutor_Expecter) Stream(options interface{}) *RemoteExecutor_Stream_Call

Stream is a helper method to define mock.On call

  • options remotecommand.StreamOptions

func (*RemoteExecutor_Expecter) StreamWithContext

func (_e *RemoteExecutor_Expecter) StreamWithContext(ctx interface{}, options interface{}) *RemoteExecutor_StreamWithContext_Call

StreamWithContext is a helper method to define mock.On call

  • ctx context.Context
  • options remotecommand.StreamOptions

type RemoteExecutor_StreamWithContext_Call

type RemoteExecutor_StreamWithContext_Call struct {
	*mock.Call
}

RemoteExecutor_StreamWithContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StreamWithContext'

func (*RemoteExecutor_StreamWithContext_Call) Return

func (*RemoteExecutor_StreamWithContext_Call) Run

func (*RemoteExecutor_StreamWithContext_Call) RunAndReturn

type RemoteExecutor_Stream_Call

type RemoteExecutor_Stream_Call struct {
	*mock.Call
}

RemoteExecutor_Stream_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stream'

func (*RemoteExecutor_Stream_Call) Return

func (*RemoteExecutor_Stream_Call) Run

func (*RemoteExecutor_Stream_Call) RunAndReturn

type RemoteRegistry

type RemoteRegistry struct {
	mock.Mock
}

RemoteRegistry is an autogenerated mock type for the RemoteRegistry type

func NewRemoteRegistry

func NewRemoteRegistry(t mockConstructorTestingTNewRemoteRegistry) *RemoteRegistry

NewRemoteRegistry creates a new instance of RemoteRegistry. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*RemoteRegistry) Create

func (_m *RemoteRegistry) Create(dogu *core.Dogu) error

Create provides a mock function with given fields: dogu

func (*RemoteRegistry) Delete

func (_m *RemoteRegistry) Delete(dogu *core.Dogu) error

Delete provides a mock function with given fields: dogu

func (*RemoteRegistry) EXPECT

func (*RemoteRegistry) Get

func (_m *RemoteRegistry) Get(name string) (*core.Dogu, error)

Get provides a mock function with given fields: name

func (*RemoteRegistry) GetAll

func (_m *RemoteRegistry) GetAll() ([]*core.Dogu, error)

GetAll provides a mock function with given fields:

func (*RemoteRegistry) GetVersion

func (_m *RemoteRegistry) GetVersion(name string, version string) (*core.Dogu, error)

GetVersion provides a mock function with given fields: name, version

func (*RemoteRegistry) GetVersionsOf

func (_m *RemoteRegistry) GetVersionsOf(name string) ([]core.Version, error)

GetVersionsOf provides a mock function with given fields: name

func (*RemoteRegistry) SetUseCache

func (_m *RemoteRegistry) SetUseCache(useCache bool)

SetUseCache provides a mock function with given fields: useCache

type RemoteRegistry_Create_Call

type RemoteRegistry_Create_Call struct {
	*mock.Call
}

RemoteRegistry_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'

func (*RemoteRegistry_Create_Call) Return

func (*RemoteRegistry_Create_Call) Run

func (*RemoteRegistry_Create_Call) RunAndReturn

type RemoteRegistry_Delete_Call

type RemoteRegistry_Delete_Call struct {
	*mock.Call
}

RemoteRegistry_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'

func (*RemoteRegistry_Delete_Call) Return

func (*RemoteRegistry_Delete_Call) Run

func (*RemoteRegistry_Delete_Call) RunAndReturn

type RemoteRegistry_Expecter

type RemoteRegistry_Expecter struct {
	// contains filtered or unexported fields
}

func (*RemoteRegistry_Expecter) Create

func (_e *RemoteRegistry_Expecter) Create(dogu interface{}) *RemoteRegistry_Create_Call

Create is a helper method to define mock.On call

  • dogu *core.Dogu

func (*RemoteRegistry_Expecter) Delete

func (_e *RemoteRegistry_Expecter) Delete(dogu interface{}) *RemoteRegistry_Delete_Call

Delete is a helper method to define mock.On call

  • dogu *core.Dogu

func (*RemoteRegistry_Expecter) Get

func (_e *RemoteRegistry_Expecter) Get(name interface{}) *RemoteRegistry_Get_Call

Get is a helper method to define mock.On call

  • name string

func (*RemoteRegistry_Expecter) GetAll

GetAll is a helper method to define mock.On call

func (*RemoteRegistry_Expecter) GetVersion

func (_e *RemoteRegistry_Expecter) GetVersion(name interface{}, version interface{}) *RemoteRegistry_GetVersion_Call

GetVersion is a helper method to define mock.On call

  • name string
  • version string

func (*RemoteRegistry_Expecter) GetVersionsOf

func (_e *RemoteRegistry_Expecter) GetVersionsOf(name interface{}) *RemoteRegistry_GetVersionsOf_Call

GetVersionsOf is a helper method to define mock.On call

  • name string

func (*RemoteRegistry_Expecter) SetUseCache

func (_e *RemoteRegistry_Expecter) SetUseCache(useCache interface{}) *RemoteRegistry_SetUseCache_Call

SetUseCache is a helper method to define mock.On call

  • useCache bool

type RemoteRegistry_GetAll_Call

type RemoteRegistry_GetAll_Call struct {
	*mock.Call
}

RemoteRegistry_GetAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAll'

func (*RemoteRegistry_GetAll_Call) Return

func (*RemoteRegistry_GetAll_Call) Run

func (*RemoteRegistry_GetAll_Call) RunAndReturn

func (_c *RemoteRegistry_GetAll_Call) RunAndReturn(run func() ([]*core.Dogu, error)) *RemoteRegistry_GetAll_Call

type RemoteRegistry_GetVersion_Call

type RemoteRegistry_GetVersion_Call struct {
	*mock.Call
}

RemoteRegistry_GetVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVersion'

func (*RemoteRegistry_GetVersion_Call) Return

func (*RemoteRegistry_GetVersion_Call) Run

func (*RemoteRegistry_GetVersion_Call) RunAndReturn

type RemoteRegistry_GetVersionsOf_Call

type RemoteRegistry_GetVersionsOf_Call struct {
	*mock.Call
}

RemoteRegistry_GetVersionsOf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVersionsOf'

func (*RemoteRegistry_GetVersionsOf_Call) Return

func (*RemoteRegistry_GetVersionsOf_Call) Run

func (*RemoteRegistry_GetVersionsOf_Call) RunAndReturn

type RemoteRegistry_Get_Call

type RemoteRegistry_Get_Call struct {
	*mock.Call
}

RemoteRegistry_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'

func (*RemoteRegistry_Get_Call) Return

func (*RemoteRegistry_Get_Call) Run

func (_c *RemoteRegistry_Get_Call) Run(run func(name string)) *RemoteRegistry_Get_Call

func (*RemoteRegistry_Get_Call) RunAndReturn

func (_c *RemoteRegistry_Get_Call) RunAndReturn(run func(string) (*core.Dogu, error)) *RemoteRegistry_Get_Call

type RemoteRegistry_SetUseCache_Call

type RemoteRegistry_SetUseCache_Call struct {
	*mock.Call
}

RemoteRegistry_SetUseCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetUseCache'

func (*RemoteRegistry_SetUseCache_Call) Return

func (*RemoteRegistry_SetUseCache_Call) Run

func (*RemoteRegistry_SetUseCache_Call) RunAndReturn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL