fakes

package
v0.0.124-g03faac8 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeClient

type FakeClient struct {
	CreateStub func(context.Context, runtime.Object, ...client.CreateOption) error

	DeleteStub func(context.Context, runtime.Object, ...client.DeleteOption) error

	DeleteAllOfStub func(context.Context, runtime.Object, ...client.DeleteAllOfOption) error

	GetStub func(context.Context, types.NamespacedName, runtime.Object) error

	ListStub func(context.Context, runtime.Object, ...client.ListOption) error

	PatchStub func(context.Context, runtime.Object, client.Patch, ...client.PatchOption) error

	StatusStub func() client.StatusWriter

	UpdateStub func(context.Context, runtime.Object, ...client.UpdateOption) error
	// contains filtered or unexported fields
}

func (*FakeClient) Create

func (fake *FakeClient) Create(arg1 context.Context, arg2 runtime.Object, arg3 ...client.CreateOption) error

func (*FakeClient) CreateArgsForCall

func (fake *FakeClient) CreateArgsForCall(i int) (context.Context, runtime.Object, []client.CreateOption)

func (*FakeClient) CreateCallCount

func (fake *FakeClient) CreateCallCount() int

func (*FakeClient) CreateCalls

func (fake *FakeClient) CreateCalls(stub func(context.Context, runtime.Object, ...client.CreateOption) error)

func (*FakeClient) CreateReturns

func (fake *FakeClient) CreateReturns(result1 error)

func (*FakeClient) CreateReturnsOnCall

func (fake *FakeClient) CreateReturnsOnCall(i int, result1 error)

func (*FakeClient) Delete

func (fake *FakeClient) Delete(arg1 context.Context, arg2 runtime.Object, arg3 ...client.DeleteOption) error

func (*FakeClient) DeleteAllOf

func (fake *FakeClient) DeleteAllOf(arg1 context.Context, arg2 runtime.Object, arg3 ...client.DeleteAllOfOption) error

func (*FakeClient) DeleteAllOfArgsForCall

func (fake *FakeClient) DeleteAllOfArgsForCall(i int) (context.Context, runtime.Object, []client.DeleteAllOfOption)

func (*FakeClient) DeleteAllOfCallCount

func (fake *FakeClient) DeleteAllOfCallCount() int

func (*FakeClient) DeleteAllOfCalls

func (fake *FakeClient) DeleteAllOfCalls(stub func(context.Context, runtime.Object, ...client.DeleteAllOfOption) error)

func (*FakeClient) DeleteAllOfReturns

func (fake *FakeClient) DeleteAllOfReturns(result1 error)

func (*FakeClient) DeleteAllOfReturnsOnCall

func (fake *FakeClient) DeleteAllOfReturnsOnCall(i int, result1 error)

func (*FakeClient) DeleteArgsForCall

func (fake *FakeClient) DeleteArgsForCall(i int) (context.Context, runtime.Object, []client.DeleteOption)

func (*FakeClient) DeleteCallCount

func (fake *FakeClient) DeleteCallCount() int

func (*FakeClient) DeleteCalls

func (fake *FakeClient) DeleteCalls(stub func(context.Context, runtime.Object, ...client.DeleteOption) error)

func (*FakeClient) DeleteReturns

func (fake *FakeClient) DeleteReturns(result1 error)

func (*FakeClient) DeleteReturnsOnCall

func (fake *FakeClient) DeleteReturnsOnCall(i int, result1 error)

func (*FakeClient) Get

func (fake *FakeClient) Get(arg1 context.Context, arg2 types.NamespacedName, arg3 runtime.Object) error

func (*FakeClient) GetArgsForCall

func (fake *FakeClient) GetArgsForCall(i int) (context.Context, types.NamespacedName, runtime.Object)

func (*FakeClient) GetCallCount

func (fake *FakeClient) GetCallCount() int

func (*FakeClient) GetCalls

func (fake *FakeClient) GetCalls(stub func(context.Context, types.NamespacedName, runtime.Object) error)

func (*FakeClient) GetReturns

func (fake *FakeClient) GetReturns(result1 error)

func (*FakeClient) GetReturnsOnCall

func (fake *FakeClient) GetReturnsOnCall(i int, result1 error)

func (*FakeClient) Invocations

func (fake *FakeClient) Invocations() map[string][][]interface{}

func (*FakeClient) List

func (fake *FakeClient) List(arg1 context.Context, arg2 runtime.Object, arg3 ...client.ListOption) error

func (*FakeClient) ListArgsForCall

func (fake *FakeClient) ListArgsForCall(i int) (context.Context, runtime.Object, []client.ListOption)

func (*FakeClient) ListCallCount

func (fake *FakeClient) ListCallCount() int

func (*FakeClient) ListCalls

func (fake *FakeClient) ListCalls(stub func(context.Context, runtime.Object, ...client.ListOption) error)

func (*FakeClient) ListReturns

func (fake *FakeClient) ListReturns(result1 error)

func (*FakeClient) ListReturnsOnCall

func (fake *FakeClient) ListReturnsOnCall(i int, result1 error)

func (*FakeClient) Patch

func (fake *FakeClient) Patch(arg1 context.Context, arg2 runtime.Object, arg3 client.Patch, arg4 ...client.PatchOption) error

func (*FakeClient) PatchArgsForCall

func (fake *FakeClient) PatchArgsForCall(i int) (context.Context, runtime.Object, client.Patch, []client.PatchOption)

func (*FakeClient) PatchCallCount

func (fake *FakeClient) PatchCallCount() int

func (*FakeClient) PatchCalls

func (fake *FakeClient) PatchCalls(stub func(context.Context, runtime.Object, client.Patch, ...client.PatchOption) error)

func (*FakeClient) PatchReturns

func (fake *FakeClient) PatchReturns(result1 error)

func (*FakeClient) PatchReturnsOnCall

func (fake *FakeClient) PatchReturnsOnCall(i int, result1 error)

func (*FakeClient) Status

func (fake *FakeClient) Status() client.StatusWriter

func (*FakeClient) StatusCallCount

func (fake *FakeClient) StatusCallCount() int

func (*FakeClient) StatusCalls

func (fake *FakeClient) StatusCalls(stub func() client.StatusWriter)

func (*FakeClient) StatusReturns

func (fake *FakeClient) StatusReturns(result1 client.StatusWriter)

func (*FakeClient) StatusReturnsOnCall

func (fake *FakeClient) StatusReturnsOnCall(i int, result1 client.StatusWriter)

func (*FakeClient) Update

func (fake *FakeClient) Update(arg1 context.Context, arg2 runtime.Object, arg3 ...client.UpdateOption) error

func (*FakeClient) UpdateArgsForCall

func (fake *FakeClient) UpdateArgsForCall(i int) (context.Context, runtime.Object, []client.UpdateOption)

func (*FakeClient) UpdateCallCount

func (fake *FakeClient) UpdateCallCount() int

func (*FakeClient) UpdateCalls

func (fake *FakeClient) UpdateCalls(stub func(context.Context, runtime.Object, ...client.UpdateOption) error)

func (*FakeClient) UpdateReturns

func (fake *FakeClient) UpdateReturns(result1 error)

func (*FakeClient) UpdateReturnsOnCall

func (fake *FakeClient) UpdateReturnsOnCall(i int, result1 error)

type FakeManager

type FakeManager struct {
	AddStub func(manager.Runnable) error

	AddHealthzCheckStub func(string, healthz.Checker) error

	AddMetricsExtraHandlerStub func(string, http.Handler) error

	AddReadyzCheckStub func(string, healthz.Checker) error

	ElectedStub func() <-chan struct{}

	GetAPIReaderStub func() client.Reader

	GetCacheStub func() cache.Cache

	GetClientStub func() client.Client

	GetConfigStub func() *rest.Config

	GetEventRecorderForStub func(string) record.EventRecorder

	GetFieldIndexerStub func() client.FieldIndexer

	GetRESTMapperStub func() meta.RESTMapper

	GetSchemeStub func() *runtime.Scheme

	GetWebhookServerStub func() *webhook.Server

	SetFieldsStub func(interface{}) error

	StartStub func(<-chan struct{}) error
	// contains filtered or unexported fields
}

func (*FakeManager) Add

func (fake *FakeManager) Add(arg1 manager.Runnable) error

func (*FakeManager) AddArgsForCall

func (fake *FakeManager) AddArgsForCall(i int) manager.Runnable

func (*FakeManager) AddCallCount

func (fake *FakeManager) AddCallCount() int

func (*FakeManager) AddCalls

func (fake *FakeManager) AddCalls(stub func(manager.Runnable) error)

func (*FakeManager) AddHealthzCheck

func (fake *FakeManager) AddHealthzCheck(arg1 string, arg2 healthz.Checker) error

func (*FakeManager) AddHealthzCheckArgsForCall

func (fake *FakeManager) AddHealthzCheckArgsForCall(i int) (string, healthz.Checker)

func (*FakeManager) AddHealthzCheckCallCount

func (fake *FakeManager) AddHealthzCheckCallCount() int

func (*FakeManager) AddHealthzCheckCalls

func (fake *FakeManager) AddHealthzCheckCalls(stub func(string, healthz.Checker) error)

func (*FakeManager) AddHealthzCheckReturns

func (fake *FakeManager) AddHealthzCheckReturns(result1 error)

func (*FakeManager) AddHealthzCheckReturnsOnCall

func (fake *FakeManager) AddHealthzCheckReturnsOnCall(i int, result1 error)

func (*FakeManager) AddMetricsExtraHandler added in v0.0.77

func (fake *FakeManager) AddMetricsExtraHandler(arg1 string, arg2 http.Handler) error

func (*FakeManager) AddMetricsExtraHandlerArgsForCall added in v0.0.77

func (fake *FakeManager) AddMetricsExtraHandlerArgsForCall(i int) (string, http.Handler)

func (*FakeManager) AddMetricsExtraHandlerCallCount added in v0.0.77

func (fake *FakeManager) AddMetricsExtraHandlerCallCount() int

func (*FakeManager) AddMetricsExtraHandlerCalls added in v0.0.77

func (fake *FakeManager) AddMetricsExtraHandlerCalls(stub func(string, http.Handler) error)

func (*FakeManager) AddMetricsExtraHandlerReturns added in v0.0.77

func (fake *FakeManager) AddMetricsExtraHandlerReturns(result1 error)

func (*FakeManager) AddMetricsExtraHandlerReturnsOnCall added in v0.0.77

func (fake *FakeManager) AddMetricsExtraHandlerReturnsOnCall(i int, result1 error)

func (*FakeManager) AddReadyzCheck

func (fake *FakeManager) AddReadyzCheck(arg1 string, arg2 healthz.Checker) error

func (*FakeManager) AddReadyzCheckArgsForCall

func (fake *FakeManager) AddReadyzCheckArgsForCall(i int) (string, healthz.Checker)

func (*FakeManager) AddReadyzCheckCallCount

func (fake *FakeManager) AddReadyzCheckCallCount() int

func (*FakeManager) AddReadyzCheckCalls

func (fake *FakeManager) AddReadyzCheckCalls(stub func(string, healthz.Checker) error)

func (*FakeManager) AddReadyzCheckReturns

func (fake *FakeManager) AddReadyzCheckReturns(result1 error)

func (*FakeManager) AddReadyzCheckReturnsOnCall

func (fake *FakeManager) AddReadyzCheckReturnsOnCall(i int, result1 error)

func (*FakeManager) AddReturns

func (fake *FakeManager) AddReturns(result1 error)

func (*FakeManager) AddReturnsOnCall

func (fake *FakeManager) AddReturnsOnCall(i int, result1 error)

func (*FakeManager) Elected added in v0.0.77

func (fake *FakeManager) Elected() <-chan struct{}

func (*FakeManager) ElectedCallCount added in v0.0.77

func (fake *FakeManager) ElectedCallCount() int

func (*FakeManager) ElectedCalls added in v0.0.77

func (fake *FakeManager) ElectedCalls(stub func() <-chan struct{})

func (*FakeManager) ElectedReturns added in v0.0.77

func (fake *FakeManager) ElectedReturns(result1 <-chan struct{})

func (*FakeManager) ElectedReturnsOnCall added in v0.0.77

func (fake *FakeManager) ElectedReturnsOnCall(i int, result1 <-chan struct{})

func (*FakeManager) GetAPIReader

func (fake *FakeManager) GetAPIReader() client.Reader

func (*FakeManager) GetAPIReaderCallCount

func (fake *FakeManager) GetAPIReaderCallCount() int

func (*FakeManager) GetAPIReaderCalls

func (fake *FakeManager) GetAPIReaderCalls(stub func() client.Reader)

func (*FakeManager) GetAPIReaderReturns

func (fake *FakeManager) GetAPIReaderReturns(result1 client.Reader)

func (*FakeManager) GetAPIReaderReturnsOnCall

func (fake *FakeManager) GetAPIReaderReturnsOnCall(i int, result1 client.Reader)

func (*FakeManager) GetCache

func (fake *FakeManager) GetCache() cache.Cache

func (*FakeManager) GetCacheCallCount

func (fake *FakeManager) GetCacheCallCount() int

func (*FakeManager) GetCacheCalls

func (fake *FakeManager) GetCacheCalls(stub func() cache.Cache)

func (*FakeManager) GetCacheReturns

func (fake *FakeManager) GetCacheReturns(result1 cache.Cache)

func (*FakeManager) GetCacheReturnsOnCall

func (fake *FakeManager) GetCacheReturnsOnCall(i int, result1 cache.Cache)

func (*FakeManager) GetClient

func (fake *FakeManager) GetClient() client.Client

func (*FakeManager) GetClientCallCount

func (fake *FakeManager) GetClientCallCount() int

func (*FakeManager) GetClientCalls

func (fake *FakeManager) GetClientCalls(stub func() client.Client)

func (*FakeManager) GetClientReturns

func (fake *FakeManager) GetClientReturns(result1 client.Client)

func (*FakeManager) GetClientReturnsOnCall

func (fake *FakeManager) GetClientReturnsOnCall(i int, result1 client.Client)

func (*FakeManager) GetConfig

func (fake *FakeManager) GetConfig() *rest.Config

func (*FakeManager) GetConfigCallCount

func (fake *FakeManager) GetConfigCallCount() int

func (*FakeManager) GetConfigCalls

func (fake *FakeManager) GetConfigCalls(stub func() *rest.Config)

func (*FakeManager) GetConfigReturns

func (fake *FakeManager) GetConfigReturns(result1 *rest.Config)

func (*FakeManager) GetConfigReturnsOnCall

func (fake *FakeManager) GetConfigReturnsOnCall(i int, result1 *rest.Config)

func (*FakeManager) GetEventRecorderFor

func (fake *FakeManager) GetEventRecorderFor(arg1 string) record.EventRecorder

func (*FakeManager) GetEventRecorderForArgsForCall

func (fake *FakeManager) GetEventRecorderForArgsForCall(i int) string

func (*FakeManager) GetEventRecorderForCallCount

func (fake *FakeManager) GetEventRecorderForCallCount() int

func (*FakeManager) GetEventRecorderForCalls

func (fake *FakeManager) GetEventRecorderForCalls(stub func(string) record.EventRecorder)

func (*FakeManager) GetEventRecorderForReturns

func (fake *FakeManager) GetEventRecorderForReturns(result1 record.EventRecorder)

func (*FakeManager) GetEventRecorderForReturnsOnCall

func (fake *FakeManager) GetEventRecorderForReturnsOnCall(i int, result1 record.EventRecorder)

func (*FakeManager) GetFieldIndexer

func (fake *FakeManager) GetFieldIndexer() client.FieldIndexer

func (*FakeManager) GetFieldIndexerCallCount

func (fake *FakeManager) GetFieldIndexerCallCount() int

func (*FakeManager) GetFieldIndexerCalls

func (fake *FakeManager) GetFieldIndexerCalls(stub func() client.FieldIndexer)

func (*FakeManager) GetFieldIndexerReturns

func (fake *FakeManager) GetFieldIndexerReturns(result1 client.FieldIndexer)

func (*FakeManager) GetFieldIndexerReturnsOnCall

func (fake *FakeManager) GetFieldIndexerReturnsOnCall(i int, result1 client.FieldIndexer)

func (*FakeManager) GetRESTMapper

func (fake *FakeManager) GetRESTMapper() meta.RESTMapper

func (*FakeManager) GetRESTMapperCallCount

func (fake *FakeManager) GetRESTMapperCallCount() int

func (*FakeManager) GetRESTMapperCalls

func (fake *FakeManager) GetRESTMapperCalls(stub func() meta.RESTMapper)

func (*FakeManager) GetRESTMapperReturns

func (fake *FakeManager) GetRESTMapperReturns(result1 meta.RESTMapper)

func (*FakeManager) GetRESTMapperReturnsOnCall

func (fake *FakeManager) GetRESTMapperReturnsOnCall(i int, result1 meta.RESTMapper)

func (*FakeManager) GetScheme

func (fake *FakeManager) GetScheme() *runtime.Scheme

func (*FakeManager) GetSchemeCallCount

func (fake *FakeManager) GetSchemeCallCount() int

func (*FakeManager) GetSchemeCalls

func (fake *FakeManager) GetSchemeCalls(stub func() *runtime.Scheme)

func (*FakeManager) GetSchemeReturns

func (fake *FakeManager) GetSchemeReturns(result1 *runtime.Scheme)

func (*FakeManager) GetSchemeReturnsOnCall

func (fake *FakeManager) GetSchemeReturnsOnCall(i int, result1 *runtime.Scheme)

func (*FakeManager) GetWebhookServer

func (fake *FakeManager) GetWebhookServer() *webhook.Server

func (*FakeManager) GetWebhookServerCallCount

func (fake *FakeManager) GetWebhookServerCallCount() int

func (*FakeManager) GetWebhookServerCalls

func (fake *FakeManager) GetWebhookServerCalls(stub func() *webhook.Server)

func (*FakeManager) GetWebhookServerReturns

func (fake *FakeManager) GetWebhookServerReturns(result1 *webhook.Server)

func (*FakeManager) GetWebhookServerReturnsOnCall

func (fake *FakeManager) GetWebhookServerReturnsOnCall(i int, result1 *webhook.Server)

func (*FakeManager) Invocations

func (fake *FakeManager) Invocations() map[string][][]interface{}

func (*FakeManager) SetFields

func (fake *FakeManager) SetFields(arg1 interface{}) error

func (*FakeManager) SetFieldsArgsForCall

func (fake *FakeManager) SetFieldsArgsForCall(i int) interface{}

func (*FakeManager) SetFieldsCallCount

func (fake *FakeManager) SetFieldsCallCount() int

func (*FakeManager) SetFieldsCalls

func (fake *FakeManager) SetFieldsCalls(stub func(interface{}) error)

func (*FakeManager) SetFieldsReturns

func (fake *FakeManager) SetFieldsReturns(result1 error)

func (*FakeManager) SetFieldsReturnsOnCall

func (fake *FakeManager) SetFieldsReturnsOnCall(i int, result1 error)

func (*FakeManager) Start

func (fake *FakeManager) Start(arg1 <-chan struct{}) error

func (*FakeManager) StartArgsForCall

func (fake *FakeManager) StartArgsForCall(i int) <-chan struct{}

func (*FakeManager) StartCallCount

func (fake *FakeManager) StartCallCount() int

func (*FakeManager) StartCalls

func (fake *FakeManager) StartCalls(stub func(<-chan struct{}) error)

func (*FakeManager) StartReturns

func (fake *FakeManager) StartReturns(result1 error)

func (*FakeManager) StartReturnsOnCall

func (fake *FakeManager) StartReturnsOnCall(i int, result1 error)

type FakeStatusWriter

type FakeStatusWriter struct {
	PatchStub func(context.Context, runtime.Object, client.Patch, ...client.PatchOption) error

	UpdateStub func(context.Context, runtime.Object, ...client.UpdateOption) error
	// contains filtered or unexported fields
}

func (*FakeStatusWriter) Invocations

func (fake *FakeStatusWriter) Invocations() map[string][][]interface{}

func (*FakeStatusWriter) Patch

func (fake *FakeStatusWriter) Patch(arg1 context.Context, arg2 runtime.Object, arg3 client.Patch, arg4 ...client.PatchOption) error

func (*FakeStatusWriter) PatchArgsForCall

func (fake *FakeStatusWriter) PatchArgsForCall(i int) (context.Context, runtime.Object, client.Patch, []client.PatchOption)

func (*FakeStatusWriter) PatchCallCount

func (fake *FakeStatusWriter) PatchCallCount() int

func (*FakeStatusWriter) PatchCalls

func (fake *FakeStatusWriter) PatchCalls(stub func(context.Context, runtime.Object, client.Patch, ...client.PatchOption) error)

func (*FakeStatusWriter) PatchReturns

func (fake *FakeStatusWriter) PatchReturns(result1 error)

func (*FakeStatusWriter) PatchReturnsOnCall

func (fake *FakeStatusWriter) PatchReturnsOnCall(i int, result1 error)

func (*FakeStatusWriter) Update

func (fake *FakeStatusWriter) Update(arg1 context.Context, arg2 runtime.Object, arg3 ...client.UpdateOption) error

func (*FakeStatusWriter) UpdateArgsForCall

func (fake *FakeStatusWriter) UpdateArgsForCall(i int) (context.Context, runtime.Object, []client.UpdateOption)

func (*FakeStatusWriter) UpdateCallCount

func (fake *FakeStatusWriter) UpdateCallCount() int

func (*FakeStatusWriter) UpdateCalls

func (fake *FakeStatusWriter) UpdateCalls(stub func(context.Context, runtime.Object, ...client.UpdateOption) error)

func (*FakeStatusWriter) UpdateReturns

func (fake *FakeStatusWriter) UpdateReturns(result1 error)

func (*FakeStatusWriter) UpdateReturnsOnCall

func (fake *FakeStatusWriter) UpdateReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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