mocks

package
v1.21.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func (*Manager) Add

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

Add provides a mock function with given fields: _a0

func (*Manager) AddHealthzCheck

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

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

func (*Manager) AddMetricsExtraHandler

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

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

func (*Manager) AddReadyzCheck

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

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

func (*Manager) Elected

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

Elected provides a mock function with given fields:

func (*Manager) GetAPIReader

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

GetAPIReader provides a mock function with given fields:

func (*Manager) GetCache

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

GetCache provides a mock function with given fields:

func (*Manager) GetClient

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

GetClient provides a mock function with given fields:

func (*Manager) GetConfig

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

GetConfig provides a mock function with given fields:

func (*Manager) GetControllerOptions

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

GetControllerOptions provides a mock function with given fields:

func (*Manager) GetEventRecorderFor

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

GetEventRecorderFor provides a mock function with given fields: name

func (*Manager) GetFieldIndexer

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

GetFieldIndexer provides a mock function with given fields:

func (*Manager) GetLogger

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

GetLogger provides a mock function with given fields:

func (*Manager) GetRESTMapper

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

GetRESTMapper provides a mock function with given fields:

func (*Manager) GetScheme

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

GetScheme provides a mock function with given fields:

func (*Manager) GetWebhookServer

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

GetWebhookServer provides a mock function with given fields:

func (*Manager) SetFields

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

SetFields provides a mock function with given fields: _a0

func (*Manager) Start

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

Start provides a mock function with given fields: ctx

Jump to

Keyboard shortcuts

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