controllerfakes

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 15 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 FakeFieldIndexer

type FakeFieldIndexer struct {
	IndexFieldStub func(context.Context, client.Object, string, client.IndexerFunc) error
	// contains filtered or unexported fields
}

func (*FakeFieldIndexer) IndexField

func (fake *FakeFieldIndexer) IndexField(arg1 context.Context, arg2 client.Object, arg3 string, arg4 client.IndexerFunc) error

func (*FakeFieldIndexer) IndexFieldArgsForCall

func (fake *FakeFieldIndexer) IndexFieldArgsForCall(i int) (context.Context, client.Object, string, client.IndexerFunc)

func (*FakeFieldIndexer) IndexFieldCallCount

func (fake *FakeFieldIndexer) IndexFieldCallCount() int

func (*FakeFieldIndexer) IndexFieldCalls

func (fake *FakeFieldIndexer) IndexFieldCalls(stub func(context.Context, client.Object, string, client.IndexerFunc) error)

func (*FakeFieldIndexer) IndexFieldReturns

func (fake *FakeFieldIndexer) IndexFieldReturns(result1 error)

func (*FakeFieldIndexer) IndexFieldReturnsOnCall

func (fake *FakeFieldIndexer) IndexFieldReturnsOnCall(i int, result1 error)

func (*FakeFieldIndexer) Invocations

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

type FakeGetter

type FakeGetter struct {
	GetStub func(context.Context, client.ObjectKey, client.Object, ...client.GetOption) error
	// contains filtered or unexported fields
}

func (*FakeGetter) Get

func (fake *FakeGetter) Get(arg1 context.Context, arg2 client.ObjectKey, arg3 client.Object, arg4 ...client.GetOption) error

func (*FakeGetter) GetArgsForCall

func (fake *FakeGetter) GetArgsForCall(i int) (context.Context, client.ObjectKey, client.Object, []client.GetOption)

func (*FakeGetter) GetCallCount

func (fake *FakeGetter) GetCallCount() int

func (*FakeGetter) GetCalls

func (fake *FakeGetter) GetCalls(stub func(context.Context, client.ObjectKey, client.Object, ...client.GetOption) error)

func (*FakeGetter) GetReturns

func (fake *FakeGetter) GetReturns(result1 error)

func (*FakeGetter) GetReturnsOnCall

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

func (*FakeGetter) Invocations

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

type FakeManager

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

	AddHealthzCheckStub func(string, healthz.Checker) error

	AddMetricsServerExtraHandlerStub 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

	GetControllerOptionsStub func() config.Controller

	GetEventRecorderForStub func(string) record.EventRecorder

	GetFieldIndexerStub func() client.FieldIndexer

	GetHTTPClientStub func() *http.Client

	GetLoggerStub func() logr.Logger

	GetRESTMapperStub func() meta.RESTMapper

	GetSchemeStub func() *runtime.Scheme

	GetWebhookServerStub func() webhook.Server

	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) AddMetricsServerExtraHandler added in v1.3.0

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

func (*FakeManager) AddMetricsServerExtraHandlerArgsForCall added in v1.3.0

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

func (*FakeManager) AddMetricsServerExtraHandlerCallCount added in v1.3.0

func (fake *FakeManager) AddMetricsServerExtraHandlerCallCount() int

func (*FakeManager) AddMetricsServerExtraHandlerCalls added in v1.3.0

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

func (*FakeManager) AddMetricsServerExtraHandlerReturns added in v1.3.0

func (fake *FakeManager) AddMetricsServerExtraHandlerReturns(result1 error)

func (*FakeManager) AddMetricsServerExtraHandlerReturnsOnCall added in v1.3.0

func (fake *FakeManager) AddMetricsServerExtraHandlerReturnsOnCall(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) GetControllerOptions

func (fake *FakeManager) GetControllerOptions() config.Controller

func (*FakeManager) GetControllerOptionsCallCount

func (fake *FakeManager) GetControllerOptionsCallCount() int

func (*FakeManager) GetControllerOptionsCalls

func (fake *FakeManager) GetControllerOptionsCalls(stub func() config.Controller)

func (*FakeManager) GetControllerOptionsReturns

func (fake *FakeManager) GetControllerOptionsReturns(result1 config.Controller)

func (*FakeManager) GetControllerOptionsReturnsOnCall

func (fake *FakeManager) GetControllerOptionsReturnsOnCall(i int, result1 config.Controller)

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) GetHTTPClient

func (fake *FakeManager) GetHTTPClient() *http.Client

func (*FakeManager) GetHTTPClientCallCount

func (fake *FakeManager) GetHTTPClientCallCount() int

func (*FakeManager) GetHTTPClientCalls

func (fake *FakeManager) GetHTTPClientCalls(stub func() *http.Client)

func (*FakeManager) GetHTTPClientReturns

func (fake *FakeManager) GetHTTPClientReturns(result1 *http.Client)

func (*FakeManager) GetHTTPClientReturnsOnCall

func (fake *FakeManager) GetHTTPClientReturnsOnCall(i int, result1 *http.Client)

func (*FakeManager) GetLogger

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

func (*FakeManager) GetLoggerCallCount

func (fake *FakeManager) GetLoggerCallCount() int

func (*FakeManager) GetLoggerCalls

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

func (*FakeManager) GetLoggerReturns

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

func (*FakeManager) GetLoggerReturnsOnCall

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) 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)

Jump to

Keyboard shortcuts

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