controllersfakes

package
v0.125.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

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 FakeManager added in v0.10.0

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 added in v0.10.0

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

func (*FakeManager) AddArgsForCall added in v0.10.0

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

func (*FakeManager) AddCallCount added in v0.10.0

func (fake *FakeManager) AddCallCount() int

func (*FakeManager) AddCalls added in v0.10.0

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

func (*FakeManager) AddHealthzCheck added in v0.10.0

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

func (*FakeManager) AddHealthzCheckArgsForCall added in v0.10.0

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

func (*FakeManager) AddHealthzCheckCallCount added in v0.10.0

func (fake *FakeManager) AddHealthzCheckCallCount() int

func (*FakeManager) AddHealthzCheckCalls added in v0.10.0

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

func (*FakeManager) AddHealthzCheckReturns added in v0.10.0

func (fake *FakeManager) AddHealthzCheckReturns(result1 error)

func (*FakeManager) AddHealthzCheckReturnsOnCall added in v0.10.0

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

func (*FakeManager) AddMetricsServerExtraHandler added in v0.85.0

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

func (*FakeManager) AddMetricsServerExtraHandlerArgsForCall added in v0.85.0

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

func (*FakeManager) AddMetricsServerExtraHandlerCallCount added in v0.85.0

func (fake *FakeManager) AddMetricsServerExtraHandlerCallCount() int

func (*FakeManager) AddMetricsServerExtraHandlerCalls added in v0.85.0

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

func (*FakeManager) AddMetricsServerExtraHandlerReturns added in v0.85.0

func (fake *FakeManager) AddMetricsServerExtraHandlerReturns(result1 error)

func (*FakeManager) AddMetricsServerExtraHandlerReturnsOnCall added in v0.85.0

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

func (*FakeManager) AddReadyzCheck added in v0.10.0

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

func (*FakeManager) AddReadyzCheckArgsForCall added in v0.10.0

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

func (*FakeManager) AddReadyzCheckCallCount added in v0.10.0

func (fake *FakeManager) AddReadyzCheckCallCount() int

func (*FakeManager) AddReadyzCheckCalls added in v0.10.0

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

func (*FakeManager) AddReadyzCheckReturns added in v0.10.0

func (fake *FakeManager) AddReadyzCheckReturns(result1 error)

func (*FakeManager) AddReadyzCheckReturnsOnCall added in v0.10.0

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

func (*FakeManager) AddReturns added in v0.10.0

func (fake *FakeManager) AddReturns(result1 error)

func (*FakeManager) AddReturnsOnCall added in v0.10.0

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

func (*FakeManager) Elected added in v0.10.0

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

func (*FakeManager) ElectedCallCount added in v0.10.0

func (fake *FakeManager) ElectedCallCount() int

func (*FakeManager) ElectedCalls added in v0.10.0

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

func (*FakeManager) ElectedReturns added in v0.10.0

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

func (*FakeManager) ElectedReturnsOnCall added in v0.10.0

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

func (*FakeManager) GetAPIReader added in v0.10.0

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

func (*FakeManager) GetAPIReaderCallCount added in v0.10.0

func (fake *FakeManager) GetAPIReaderCallCount() int

func (*FakeManager) GetAPIReaderCalls added in v0.10.0

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

func (*FakeManager) GetAPIReaderReturns added in v0.10.0

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

func (*FakeManager) GetAPIReaderReturnsOnCall added in v0.10.0

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

func (*FakeManager) GetCache added in v0.10.0

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

func (*FakeManager) GetCacheCallCount added in v0.10.0

func (fake *FakeManager) GetCacheCallCount() int

func (*FakeManager) GetCacheCalls added in v0.10.0

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

func (*FakeManager) GetCacheReturns added in v0.10.0

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

func (*FakeManager) GetCacheReturnsOnCall added in v0.10.0

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

func (*FakeManager) GetClient added in v0.10.0

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

func (*FakeManager) GetClientCallCount added in v0.10.0

func (fake *FakeManager) GetClientCallCount() int

func (*FakeManager) GetClientCalls added in v0.10.0

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

func (*FakeManager) GetClientReturns added in v0.10.0

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

func (*FakeManager) GetClientReturnsOnCall added in v0.10.0

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

func (*FakeManager) GetConfig added in v0.10.0

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

func (*FakeManager) GetConfigCallCount added in v0.10.0

func (fake *FakeManager) GetConfigCallCount() int

func (*FakeManager) GetConfigCalls added in v0.10.0

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

func (*FakeManager) GetConfigReturns added in v0.10.0

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

func (*FakeManager) GetConfigReturnsOnCall added in v0.10.0

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

func (*FakeManager) GetControllerOptions added in v0.10.0

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

func (*FakeManager) GetControllerOptionsCallCount added in v0.10.0

func (fake *FakeManager) GetControllerOptionsCallCount() int

func (*FakeManager) GetControllerOptionsCalls added in v0.10.0

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

func (*FakeManager) GetControllerOptionsReturns added in v0.10.0

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

func (*FakeManager) GetControllerOptionsReturnsOnCall added in v0.10.0

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

func (*FakeManager) GetEventRecorderFor added in v0.10.0

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

func (*FakeManager) GetEventRecorderForArgsForCall added in v0.10.0

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

func (*FakeManager) GetEventRecorderForCallCount added in v0.10.0

func (fake *FakeManager) GetEventRecorderForCallCount() int

func (*FakeManager) GetEventRecorderForCalls added in v0.10.0

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

func (*FakeManager) GetEventRecorderForReturns added in v0.10.0

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

func (*FakeManager) GetEventRecorderForReturnsOnCall added in v0.10.0

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

func (*FakeManager) GetFieldIndexer added in v0.10.0

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

func (*FakeManager) GetFieldIndexerCallCount added in v0.10.0

func (fake *FakeManager) GetFieldIndexerCallCount() int

func (*FakeManager) GetFieldIndexerCalls added in v0.10.0

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

func (*FakeManager) GetFieldIndexerReturns added in v0.10.0

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

func (*FakeManager) GetFieldIndexerReturnsOnCall added in v0.10.0

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

func (*FakeManager) GetHTTPClient added in v0.10.0

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

func (*FakeManager) GetHTTPClientCallCount added in v0.10.0

func (fake *FakeManager) GetHTTPClientCallCount() int

func (*FakeManager) GetHTTPClientCalls added in v0.10.0

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

func (*FakeManager) GetHTTPClientReturns added in v0.10.0

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

func (*FakeManager) GetHTTPClientReturnsOnCall added in v0.10.0

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

func (*FakeManager) GetLogger added in v0.10.0

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

func (*FakeManager) GetLoggerCallCount added in v0.10.0

func (fake *FakeManager) GetLoggerCallCount() int

func (*FakeManager) GetLoggerCalls added in v0.10.0

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

func (*FakeManager) GetLoggerReturns added in v0.10.0

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

func (*FakeManager) GetLoggerReturnsOnCall added in v0.10.0

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

func (*FakeManager) GetRESTMapper added in v0.10.0

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

func (*FakeManager) GetRESTMapperCallCount added in v0.10.0

func (fake *FakeManager) GetRESTMapperCallCount() int

func (*FakeManager) GetRESTMapperCalls added in v0.10.0

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

func (*FakeManager) GetRESTMapperReturns added in v0.10.0

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

func (*FakeManager) GetRESTMapperReturnsOnCall added in v0.10.0

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

func (*FakeManager) GetScheme added in v0.10.0

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

func (*FakeManager) GetSchemeCallCount added in v0.10.0

func (fake *FakeManager) GetSchemeCallCount() int

func (*FakeManager) GetSchemeCalls added in v0.10.0

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

func (*FakeManager) GetSchemeReturns added in v0.10.0

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

func (*FakeManager) GetSchemeReturnsOnCall added in v0.10.0

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

func (*FakeManager) GetWebhookServer added in v0.10.0

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

func (*FakeManager) GetWebhookServerCallCount added in v0.10.0

func (fake *FakeManager) GetWebhookServerCallCount() int

func (*FakeManager) GetWebhookServerCalls added in v0.10.0

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

func (*FakeManager) GetWebhookServerReturns added in v0.10.0

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

func (*FakeManager) GetWebhookServerReturnsOnCall added in v0.10.0

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

func (*FakeManager) Invocations added in v0.10.0

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

func (*FakeManager) Start added in v0.10.0

func (fake *FakeManager) Start(arg1 context.Context) error

func (*FakeManager) StartArgsForCall added in v0.10.0

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

func (*FakeManager) StartCallCount added in v0.10.0

func (fake *FakeManager) StartCallCount() int

func (*FakeManager) StartCalls added in v0.10.0

func (fake *FakeManager) StartCalls(stub func(context.Context) error)

func (*FakeManager) StartReturns added in v0.10.0

func (fake *FakeManager) StartReturns(result1 error)

func (*FakeManager) StartReturnsOnCall added in v0.10.0

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

type FakeWorkScheduler added in v0.10.0

type FakeWorkScheduler struct {
	ReconcileWorkStub func(*v1alpha1.Work) ([]string, error)
	// contains filtered or unexported fields
}

func (*FakeWorkScheduler) Invocations added in v0.10.0

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

func (*FakeWorkScheduler) ReconcileWork added in v0.10.0

func (fake *FakeWorkScheduler) ReconcileWork(arg1 *v1alpha1.Work) ([]string, error)

func (*FakeWorkScheduler) ReconcileWorkArgsForCall added in v0.10.0

func (fake *FakeWorkScheduler) ReconcileWorkArgsForCall(i int) *v1alpha1.Work

func (*FakeWorkScheduler) ReconcileWorkCallCount added in v0.10.0

func (fake *FakeWorkScheduler) ReconcileWorkCallCount() int

func (*FakeWorkScheduler) ReconcileWorkCalls added in v0.10.0

func (fake *FakeWorkScheduler) ReconcileWorkCalls(stub func(*v1alpha1.Work) ([]string, error))

func (*FakeWorkScheduler) ReconcileWorkReturns added in v0.10.0

func (fake *FakeWorkScheduler) ReconcileWorkReturns(result1 []string, result2 error)

func (*FakeWorkScheduler) ReconcileWorkReturnsOnCall added in v0.10.0

func (fake *FakeWorkScheduler) ReconcileWorkReturnsOnCall(i int, result1 []string, result2 error)

Jump to

Keyboard shortcuts

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