mock_modagent

package
v14.4.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mock_modagent is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockApi added in v14.2.0

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

MockApi is a mock of Api interface.

func NewMockApi added in v14.2.0

func NewMockApi(ctrl *gomock.Controller) *MockApi

NewMockApi creates a new mock instance.

func (*MockApi) EXPECT added in v14.2.0

func (m *MockApi) EXPECT() *MockApiMockRecorder

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

func (*MockApi) HandleProcessingError added in v14.2.0

func (m *MockApi) HandleProcessingError(arg0 context.Context, arg1 *zap.Logger, arg2 int64, arg3 string, arg4 error)

HandleProcessingError mocks base method.

func (*MockApi) MakeGitLabRequest added in v14.2.0

func (m *MockApi) MakeGitLabRequest(arg0 context.Context, arg1 string, arg2 ...modagent.GitLabRequestOption) (*modagent.GitLabResponse, error)

MakeGitLabRequest mocks base method.

func (*MockApi) SubscribeToFeatureStatus added in v14.2.0

func (m *MockApi) SubscribeToFeatureStatus(arg0 modagent.Feature, arg1 modagent.SubscribeCb)

SubscribeToFeatureStatus mocks base method.

func (*MockApi) ToggleFeature added in v14.2.0

func (m *MockApi) ToggleFeature(arg0 modagent.Feature, arg1 bool)

ToggleFeature mocks base method.

type MockApiMockRecorder added in v14.2.0

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

MockApiMockRecorder is the mock recorder for MockApi.

func (*MockApiMockRecorder) HandleProcessingError added in v14.2.0

func (mr *MockApiMockRecorder) HandleProcessingError(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

HandleProcessingError indicates an expected call of HandleProcessingError.

func (*MockApiMockRecorder) MakeGitLabRequest added in v14.2.0

func (mr *MockApiMockRecorder) MakeGitLabRequest(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

MakeGitLabRequest indicates an expected call of MakeGitLabRequest.

func (*MockApiMockRecorder) SubscribeToFeatureStatus added in v14.2.0

func (mr *MockApiMockRecorder) SubscribeToFeatureStatus(arg0, arg1 interface{}) *gomock.Call

SubscribeToFeatureStatus indicates an expected call of SubscribeToFeatureStatus.

func (*MockApiMockRecorder) ToggleFeature added in v14.2.0

func (mr *MockApiMockRecorder) ToggleFeature(arg0, arg1 interface{}) *gomock.Call

ToggleFeature indicates an expected call of ToggleFeature.

type MockFactory

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

MockFactory is a mock of Factory interface.

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

NewMockFactory creates a new mock instance.

func (*MockFactory) EXPECT

func (m *MockFactory) EXPECT() *MockFactoryMockRecorder

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

func (*MockFactory) Name

func (m *MockFactory) Name() string

Name mocks base method.

func (*MockFactory) New

func (m *MockFactory) New(arg0 *modagent.Config) (modagent.Module, error)

New mocks base method.

type MockFactoryMockRecorder

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

MockFactoryMockRecorder is the mock recorder for MockFactory.

func (*MockFactoryMockRecorder) Name

func (mr *MockFactoryMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockFactoryMockRecorder) New

func (mr *MockFactoryMockRecorder) New(arg0 interface{}) *gomock.Call

New indicates an expected call of New.

type MockModule

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

MockModule is a mock of Module interface.

func NewMockModule

func NewMockModule(ctrl *gomock.Controller) *MockModule

NewMockModule creates a new mock instance.

func (*MockModule) DefaultAndValidateConfiguration

func (m *MockModule) DefaultAndValidateConfiguration(arg0 *agentcfg.AgentConfiguration) error

DefaultAndValidateConfiguration mocks base method.

func (*MockModule) EXPECT

func (m *MockModule) EXPECT() *MockModuleMockRecorder

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

func (*MockModule) Name

func (m *MockModule) Name() string

Name mocks base method.

func (*MockModule) Run

func (m *MockModule) Run(arg0 context.Context, arg1 <-chan *agentcfg.AgentConfiguration) error

Run mocks base method.

type MockModuleMockRecorder

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

MockModuleMockRecorder is the mock recorder for MockModule.

func (*MockModuleMockRecorder) DefaultAndValidateConfiguration

func (mr *MockModuleMockRecorder) DefaultAndValidateConfiguration(arg0 interface{}) *gomock.Call

DefaultAndValidateConfiguration indicates an expected call of DefaultAndValidateConfiguration.

func (*MockModuleMockRecorder) Name

func (mr *MockModuleMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockModuleMockRecorder) Run

func (mr *MockModuleMockRecorder) Run(arg0, arg1 interface{}) *gomock.Call

Run indicates an expected call of Run.

Jump to

Keyboard shortcuts

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