fakes

package
v0.0.761-g420e7c5 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: Apache-2.0 Imports: 14 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, client.Object, ...client.CreateOption) error

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

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

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

	ListStub func(context.Context, client.ObjectList, ...client.ListOption) error

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

	RESTMapperStub func() meta.RESTMapper

	SchemeStub func() *runtime.Scheme

	StatusStub func() client.StatusWriter

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

func (*FakeClient) Create

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

func (*FakeClient) CreateArgsForCall

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

func (*FakeClient) CreateCallCount

func (fake *FakeClient) CreateCallCount() int

func (*FakeClient) CreateCalls

func (fake *FakeClient) CreateCalls(stub func(context.Context, client.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 client.Object, arg3 ...client.DeleteOption) error

func (*FakeClient) DeleteAllOf

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

func (*FakeClient) DeleteAllOfArgsForCall

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

func (*FakeClient) DeleteAllOfCallCount

func (fake *FakeClient) DeleteAllOfCallCount() int

func (*FakeClient) DeleteAllOfCalls

func (fake *FakeClient) DeleteAllOfCalls(stub func(context.Context, client.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, client.Object, []client.DeleteOption)

func (*FakeClient) DeleteCallCount

func (fake *FakeClient) DeleteCallCount() int

func (*FakeClient) DeleteCalls

func (fake *FakeClient) DeleteCalls(stub func(context.Context, client.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 client.Object) error

func (*FakeClient) GetArgsForCall

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

func (*FakeClient) GetCallCount

func (fake *FakeClient) GetCallCount() int

func (*FakeClient) GetCalls

func (fake *FakeClient) GetCalls(stub func(context.Context, types.NamespacedName, client.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 client.ObjectList, arg3 ...client.ListOption) error

func (*FakeClient) ListArgsForCall

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

func (*FakeClient) ListCallCount

func (fake *FakeClient) ListCallCount() int

func (*FakeClient) ListCalls

func (fake *FakeClient) ListCalls(stub func(context.Context, client.ObjectList, ...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 client.Object, arg3 client.Patch, arg4 ...client.PatchOption) error

func (*FakeClient) PatchArgsForCall

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

func (*FakeClient) PatchCallCount

func (fake *FakeClient) PatchCallCount() int

func (*FakeClient) PatchCalls

func (fake *FakeClient) PatchCalls(stub func(context.Context, client.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) RESTMapper added in v1.0.756

func (fake *FakeClient) RESTMapper() meta.RESTMapper

func (*FakeClient) RESTMapperCallCount added in v1.0.756

func (fake *FakeClient) RESTMapperCallCount() int

func (*FakeClient) RESTMapperCalls added in v1.0.756

func (fake *FakeClient) RESTMapperCalls(stub func() meta.RESTMapper)

func (*FakeClient) RESTMapperReturns added in v1.0.756

func (fake *FakeClient) RESTMapperReturns(result1 meta.RESTMapper)

func (*FakeClient) RESTMapperReturnsOnCall added in v1.0.756

func (fake *FakeClient) RESTMapperReturnsOnCall(i int, result1 meta.RESTMapper)

func (*FakeClient) Scheme added in v1.0.756

func (fake *FakeClient) Scheme() *runtime.Scheme

func (*FakeClient) SchemeCallCount added in v1.0.756

func (fake *FakeClient) SchemeCallCount() int

func (*FakeClient) SchemeCalls added in v1.0.756

func (fake *FakeClient) SchemeCalls(stub func() *runtime.Scheme)

func (*FakeClient) SchemeReturns added in v1.0.756

func (fake *FakeClient) SchemeReturns(result1 *runtime.Scheme)

func (*FakeClient) SchemeReturnsOnCall added in v1.0.756

func (fake *FakeClient) SchemeReturnsOnCall(i int, result1 *runtime.Scheme)

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 client.Object, arg3 ...client.UpdateOption) error

func (*FakeClient) UpdateArgsForCall

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

func (*FakeClient) UpdateCallCount

func (fake *FakeClient) UpdateCallCount() int

func (*FakeClient) UpdateCalls

func (fake *FakeClient) UpdateCalls(stub func(context.Context, client.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

	GetLoggerStub func() logr.Logger

	GetRESTMapperStub func() meta.RESTMapper

	GetSchemeStub func() *runtime.Scheme

	GetWebhookServerStub func() *webhook.Server

	SetFieldsStub func(interface{}) error

	StartStub func(context.Context) 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

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

func (*FakeManager) AddMetricsExtraHandlerArgsForCall

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

func (*FakeManager) AddMetricsExtraHandlerCallCount

func (fake *FakeManager) AddMetricsExtraHandlerCallCount() int

func (*FakeManager) AddMetricsExtraHandlerCalls

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

func (*FakeManager) AddMetricsExtraHandlerReturns

func (fake *FakeManager) AddMetricsExtraHandlerReturns(result1 error)

func (*FakeManager) AddMetricsExtraHandlerReturnsOnCall

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

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

func (*FakeManager) ElectedCallCount

func (fake *FakeManager) ElectedCallCount() int

func (*FakeManager) ElectedCalls

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

func (*FakeManager) ElectedReturns

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

func (*FakeManager) ElectedReturnsOnCall

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) GetLogger added in v1.0.740

func (fake *FakeManager) GetLogger() logr.Logger

func (*FakeManager) GetLoggerCallCount added in v1.0.740

func (fake *FakeManager) GetLoggerCallCount() int

func (*FakeManager) GetLoggerCalls added in v1.0.740

func (fake *FakeManager) GetLoggerCalls(stub func() logr.Logger)

func (*FakeManager) GetLoggerReturns added in v1.0.740

func (fake *FakeManager) GetLoggerReturns(result1 logr.Logger)

func (*FakeManager) GetLoggerReturnsOnCall added in v1.0.740

func (fake *FakeManager) GetLoggerReturnsOnCall(i int, result1 logr.Logger)

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 context.Context) error

func (*FakeManager) StartArgsForCall

func (fake *FakeManager) StartArgsForCall(i int) context.Context

func (*FakeManager) StartCallCount

func (fake *FakeManager) StartCallCount() int

func (*FakeManager) StartCalls

func (fake *FakeManager) StartCalls(stub func(context.Context) 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, client.Object, client.Patch, ...client.PatchOption) error

	UpdateStub func(context.Context, client.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 client.Object, arg3 client.Patch, arg4 ...client.PatchOption) error

func (*FakeStatusWriter) PatchArgsForCall

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

func (*FakeStatusWriter) PatchCallCount

func (fake *FakeStatusWriter) PatchCallCount() int

func (*FakeStatusWriter) PatchCalls

func (fake *FakeStatusWriter) PatchCalls(stub func(context.Context, client.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 client.Object, arg3 ...client.UpdateOption) error

func (*FakeStatusWriter) UpdateArgsForCall

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

func (*FakeStatusWriter) UpdateCallCount

func (fake *FakeStatusWriter) UpdateCallCount() int

func (*FakeStatusWriter) UpdateCalls

func (fake *FakeStatusWriter) UpdateCalls(stub func(context.Context, client.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