mock

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mockn is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIClassQuery

type MockIClassQuery struct {
	// contains filtered or unexported fields
}

MockIClassQuery is a mock of IClassQuery interface.

func NewMockIClassQuery

func NewMockIClassQuery(ctrl *gomock.Controller) *MockIClassQuery

NewMockIClassQuery creates a new mock instance.

func (*MockIClassQuery) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIClassQuery) GetClasses

func (m *MockIClassQuery) GetClasses(engineType domain.EngineType, classKey string) ([]*domain.EngineClass, error)

GetClasses mocks base method.

type MockIClassQueryMockRecorder

type MockIClassQueryMockRecorder struct {
	// contains filtered or unexported fields
}

MockIClassQueryMockRecorder is the mock recorder for MockIClassQuery.

func (*MockIClassQueryMockRecorder) GetClasses

func (mr *MockIClassQueryMockRecorder) GetClasses(engineType, classKey interface{}) *gomock.Call

GetClasses indicates an expected call of GetClasses.

type MockIEngineParamsClassQuery

type MockIEngineParamsClassQuery struct {
	// contains filtered or unexported fields
}

MockIEngineParamsClassQuery is a mock of IEngineParamsClassQuery interface.

func NewMockIEngineParamsClassQuery

func NewMockIEngineParamsClassQuery(ctrl *gomock.Controller) *MockIEngineParamsClassQuery

NewMockIEngineParamsClassQuery creates a new mock instance.

func (*MockIEngineParamsClassQuery) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIEngineParamsClassQuery) GetClassParams

func (m *MockIEngineParamsClassQuery) GetClassParams(engineType domain.EngineType, classKey string) (map[string]string, error)

GetClassParams mocks base method.

type MockIEngineParamsClassQueryMockRecorder

type MockIEngineParamsClassQueryMockRecorder struct {
	// contains filtered or unexported fields
}

MockIEngineParamsClassQueryMockRecorder is the mock recorder for MockIEngineParamsClassQuery.

func (*MockIEngineParamsClassQueryMockRecorder) GetClassParams

func (mr *MockIEngineParamsClassQueryMockRecorder) GetClassParams(engineType, classKey interface{}) *gomock.Call

GetClassParams indicates an expected call of GetClassParams.

type MockIEngineParamsTemplateQuery

type MockIEngineParamsTemplateQuery struct {
	// contains filtered or unexported fields
}

MockIEngineParamsTemplateQuery is a mock of IEngineParamsTemplateQuery interface.

func NewMockIEngineParamsTemplateQuery

func NewMockIEngineParamsTemplateQuery(ctrl *gomock.Controller) *MockIEngineParamsTemplateQuery

NewMockIEngineParamsTemplateQuery creates a new mock instance.

func (*MockIEngineParamsTemplateQuery) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIEngineParamsTemplateQuery) GetTemplateParams

func (m *MockIEngineParamsTemplateQuery) GetTemplateParams(engineType domain.EngineType) ([]*domain.ParamTemplateItem, error)

GetTemplateParams mocks base method.

type MockIEngineParamsTemplateQueryMockRecorder

type MockIEngineParamsTemplateQueryMockRecorder struct {
	// contains filtered or unexported fields
}

MockIEngineParamsTemplateQueryMockRecorder is the mock recorder for MockIEngineParamsTemplateQuery.

func (*MockIEngineParamsTemplateQueryMockRecorder) GetTemplateParams

func (mr *MockIEngineParamsTemplateQueryMockRecorder) GetTemplateParams(engineType interface{}) *gomock.Call

GetTemplateParams indicates an expected call of GetTemplateParams.

type MockIMinorVersionQuery

type MockIMinorVersionQuery struct {
	// contains filtered or unexported fields
}

MockIMinorVersionQuery is a mock of IMinorVersionQuery interface.

func NewMockIMinorVersionQuery

func NewMockIMinorVersionQuery(ctrl *gomock.Controller) *MockIMinorVersionQuery

NewMockIMinorVersionQuery creates a new mock instance.

func (*MockIMinorVersionQuery) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIMinorVersionQuery) GetLatestMinorVersion

func (m *MockIMinorVersionQuery) GetLatestMinorVersion(engineType domain.EngineType) (*domain.MinorVersion, error)

GetLatestMinorVersion mocks base method.

func (*MockIMinorVersionQuery) GetMinorVersion

func (m *MockIMinorVersionQuery) GetMinorVersion(engineType domain.EngineType, versionName string) (*domain.MinorVersion, error)

GetMinorVersion mocks base method.

func (*MockIMinorVersionQuery) GetMinorVersions

func (m *MockIMinorVersionQuery) GetMinorVersions(engineType domain.EngineType) (string, []*domain.MinorVersion, error)

GetMinorVersions mocks base method.

type MockIMinorVersionQueryMockRecorder

type MockIMinorVersionQueryMockRecorder struct {
	// contains filtered or unexported fields
}

MockIMinorVersionQueryMockRecorder is the mock recorder for MockIMinorVersionQuery.

func (*MockIMinorVersionQueryMockRecorder) GetLatestMinorVersion

func (mr *MockIMinorVersionQueryMockRecorder) GetLatestMinorVersion(engineType interface{}) *gomock.Call

GetLatestMinorVersion indicates an expected call of GetLatestMinorVersion.

func (*MockIMinorVersionQueryMockRecorder) GetMinorVersion

func (mr *MockIMinorVersionQueryMockRecorder) GetMinorVersion(engineType, versionName interface{}) *gomock.Call

GetMinorVersion indicates an expected call of GetMinorVersion.

func (*MockIMinorVersionQueryMockRecorder) GetMinorVersions

func (mr *MockIMinorVersionQueryMockRecorder) GetMinorVersions(engineType interface{}) *gomock.Call

GetMinorVersions indicates an expected call of GetMinorVersions.

type MockLeaderElectionRunnable

type MockLeaderElectionRunnable struct {
	// contains filtered or unexported fields
}

MockLeaderElectionRunnable is a mock of LeaderElectionRunnable interface.

func NewMockLeaderElectionRunnable

func NewMockLeaderElectionRunnable(ctrl *gomock.Controller) *MockLeaderElectionRunnable

NewMockLeaderElectionRunnable creates a new mock instance.

func (*MockLeaderElectionRunnable) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLeaderElectionRunnable) NeedLeaderElection

func (m *MockLeaderElectionRunnable) NeedLeaderElection() bool

NeedLeaderElection mocks base method.

type MockLeaderElectionRunnableMockRecorder

type MockLeaderElectionRunnableMockRecorder struct {
	// contains filtered or unexported fields
}

MockLeaderElectionRunnableMockRecorder is the mock recorder for MockLeaderElectionRunnable.

func (*MockLeaderElectionRunnableMockRecorder) NeedLeaderElection

func (mr *MockLeaderElectionRunnableMockRecorder) NeedLeaderElection() *gomock.Call

NeedLeaderElection indicates an expected call of NeedLeaderElection.

type MockManager

type MockManager struct {
	// contains filtered or unexported fields
}

MockManager is a mock of Manager interface.

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance.

func (*MockManager) Add

func (m *MockManager) Add(arg0 manager.Runnable) error

Add mocks base method.

func (*MockManager) AddHealthzCheck

func (m *MockManager) AddHealthzCheck(name string, check healthz.Checker) error

AddHealthzCheck mocks base method.

func (*MockManager) AddReadyzCheck

func (m *MockManager) AddReadyzCheck(name string, check healthz.Checker) error

AddReadyzCheck mocks base method.

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockManager) GetAPIReader

func (m *MockManager) GetAPIReader() client.Reader

GetAPIReader mocks base method.

func (*MockManager) GetCache

func (m *MockManager) GetCache() cache.Cache

GetCache mocks base method.

func (*MockManager) GetClient

func (m *MockManager) GetClient() client.Client

GetClient mocks base method.

func (*MockManager) GetConfig

func (m *MockManager) GetConfig() *rest.Config

GetConfig mocks base method.

func (*MockManager) GetEventRecorderFor

func (m *MockManager) GetEventRecorderFor(name string) record.EventRecorder

GetEventRecorderFor mocks base method.

func (*MockManager) GetFieldIndexer

func (m *MockManager) GetFieldIndexer() client.FieldIndexer

GetFieldIndexer mocks base method.

func (*MockManager) GetRESTMapper

func (m *MockManager) GetRESTMapper() meta.RESTMapper

GetRESTMapper mocks base method.

func (*MockManager) GetScheme

func (m *MockManager) GetScheme() *runtime.Scheme

GetScheme mocks base method.

func (*MockManager) GetWebhookServer

func (m *MockManager) GetWebhookServer() *webhook.Server

GetWebhookServer mocks base method.

func (*MockManager) SetFields

func (m *MockManager) SetFields(arg0 interface{}) error

SetFields mocks base method.

func (*MockManager) Start

func (m *MockManager) Start(arg0 <-chan struct{}) error

Start mocks base method.

type MockManagerMockRecorder

type MockManagerMockRecorder struct {
	// contains filtered or unexported fields
}

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) Add

func (mr *MockManagerMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockManagerMockRecorder) AddHealthzCheck

func (mr *MockManagerMockRecorder) AddHealthzCheck(name, check interface{}) *gomock.Call

AddHealthzCheck indicates an expected call of AddHealthzCheck.

func (*MockManagerMockRecorder) AddReadyzCheck

func (mr *MockManagerMockRecorder) AddReadyzCheck(name, check interface{}) *gomock.Call

AddReadyzCheck indicates an expected call of AddReadyzCheck.

func (*MockManagerMockRecorder) GetAPIReader

func (mr *MockManagerMockRecorder) GetAPIReader() *gomock.Call

GetAPIReader indicates an expected call of GetAPIReader.

func (*MockManagerMockRecorder) GetCache

func (mr *MockManagerMockRecorder) GetCache() *gomock.Call

GetCache indicates an expected call of GetCache.

func (*MockManagerMockRecorder) GetClient

func (mr *MockManagerMockRecorder) GetClient() *gomock.Call

GetClient indicates an expected call of GetClient.

func (*MockManagerMockRecorder) GetConfig

func (mr *MockManagerMockRecorder) GetConfig() *gomock.Call

GetConfig indicates an expected call of GetConfig.

func (*MockManagerMockRecorder) GetEventRecorderFor

func (mr *MockManagerMockRecorder) GetEventRecorderFor(name interface{}) *gomock.Call

GetEventRecorderFor indicates an expected call of GetEventRecorderFor.

func (*MockManagerMockRecorder) GetFieldIndexer

func (mr *MockManagerMockRecorder) GetFieldIndexer() *gomock.Call

GetFieldIndexer indicates an expected call of GetFieldIndexer.

func (*MockManagerMockRecorder) GetRESTMapper

func (mr *MockManagerMockRecorder) GetRESTMapper() *gomock.Call

GetRESTMapper indicates an expected call of GetRESTMapper.

func (*MockManagerMockRecorder) GetScheme

func (mr *MockManagerMockRecorder) GetScheme() *gomock.Call

GetScheme indicates an expected call of GetScheme.

func (*MockManagerMockRecorder) GetWebhookServer

func (mr *MockManagerMockRecorder) GetWebhookServer() *gomock.Call

GetWebhookServer indicates an expected call of GetWebhookServer.

func (*MockManagerMockRecorder) SetFields

func (mr *MockManagerMockRecorder) SetFields(arg0 interface{}) *gomock.Call

SetFields indicates an expected call of SetFields.

func (*MockManagerMockRecorder) Start

func (mr *MockManagerMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start.

type MockRunnable

type MockRunnable struct {
	// contains filtered or unexported fields
}

MockRunnable is a mock of Runnable interface.

func NewMockRunnable

func NewMockRunnable(ctrl *gomock.Controller) *MockRunnable

NewMockRunnable creates a new mock instance.

func (*MockRunnable) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockRunnable) Start

func (m *MockRunnable) Start(arg0 <-chan struct{}) error

Start mocks base method.

type MockRunnableMockRecorder

type MockRunnableMockRecorder struct {
	// contains filtered or unexported fields
}

MockRunnableMockRecorder is the mock recorder for MockRunnable.

func (*MockRunnableMockRecorder) Start

func (mr *MockRunnableMockRecorder) Start(arg0 interface{}) *gomock.Call

Start indicates an expected call of Start.

Jump to

Keyboard shortcuts

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