mock

package
v0.0.0-...-677932a Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) EXPECT

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

func (*MockInterface) Generate

func (m *MockInterface) Generate(arg0 *config.Module) error

Generate mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) Generate

func (mr *MockInterfaceMockRecorder) Generate(arg0 interface{}) *gomock.Call

Generate indicates an expected call of Generate.

type MockModuleGenerator

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

MockModuleGenerator is a mock of ModuleGenerator interface.

func NewMockModuleGenerator

func NewMockModuleGenerator(ctrl *gomock.Controller) *MockModuleGenerator

NewMockModuleGenerator creates a new mock instance.

func (*MockModuleGenerator) Description

func (m *MockModuleGenerator) Description() string

Description mocks base method.

func (*MockModuleGenerator) EXPECT

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

func (*MockModuleGenerator) Generate

func (m *MockModuleGenerator) Generate(arg0 *config.Module) error

Generate mocks base method.

func (*MockModuleGenerator) Name

func (m *MockModuleGenerator) Name() string

Name mocks base method.

func (*MockModuleGenerator) Plugins

func (m *MockModuleGenerator) Plugins() map[string]string

Plugins mocks base method.

type MockModuleGeneratorMockRecorder

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

MockModuleGeneratorMockRecorder is the mock recorder for MockModuleGenerator.

func (*MockModuleGeneratorMockRecorder) Description

func (mr *MockModuleGeneratorMockRecorder) Description() *gomock.Call

Description indicates an expected call of Description.

func (*MockModuleGeneratorMockRecorder) Generate

func (mr *MockModuleGeneratorMockRecorder) Generate(arg0 interface{}) *gomock.Call

Generate indicates an expected call of Generate.

func (*MockModuleGeneratorMockRecorder) Name

Name indicates an expected call of Name.

func (*MockModuleGeneratorMockRecorder) Plugins

Plugins indicates an expected call of Plugins.

type MockPackageGenerator

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

MockPackageGenerator is a mock of PackageGenerator interface.

func NewMockPackageGenerator

func NewMockPackageGenerator(ctrl *gomock.Controller) *MockPackageGenerator

NewMockPackageGenerator creates a new mock instance.

func (*MockPackageGenerator) Description

func (m *MockPackageGenerator) Description() string

Description mocks base method.

func (*MockPackageGenerator) EXPECT

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

func (*MockPackageGenerator) Generate

func (m *MockPackageGenerator) Generate(arg0 *config.Module, arg1 *config.Package) error

Generate mocks base method.

func (*MockPackageGenerator) Name

func (m *MockPackageGenerator) Name() string

Name mocks base method.

func (*MockPackageGenerator) Plugins

func (m *MockPackageGenerator) Plugins() map[string]string

Plugins mocks base method.

type MockPackageGeneratorMockRecorder

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

MockPackageGeneratorMockRecorder is the mock recorder for MockPackageGenerator.

func (*MockPackageGeneratorMockRecorder) Description

func (mr *MockPackageGeneratorMockRecorder) Description() *gomock.Call

Description indicates an expected call of Description.

func (*MockPackageGeneratorMockRecorder) Generate

func (mr *MockPackageGeneratorMockRecorder) Generate(arg0, arg1 interface{}) *gomock.Call

Generate indicates an expected call of Generate.

func (*MockPackageGeneratorMockRecorder) Name

Name indicates an expected call of Name.

func (*MockPackageGeneratorMockRecorder) Plugins

Plugins indicates an expected call of Plugins.

Jump to

Keyboard shortcuts

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