Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockInterface
- type MockInterfaceMockRecorder
- type MockModuleGenerator
- type MockModuleGeneratorMockRecorder
- type MockPackageGenerator
- func (m *MockPackageGenerator) Description() string
- func (m *MockPackageGenerator) EXPECT() *MockPackageGeneratorMockRecorder
- func (m *MockPackageGenerator) Generate(arg0 *config.Module, arg1 *config.Package) error
- func (m *MockPackageGenerator) Name() string
- func (m *MockPackageGenerator) Plugins() map[string]string
- type MockPackageGeneratorMockRecorder
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 ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (m *MockModuleGenerator) EXPECT() *MockModuleGeneratorMockRecorder
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 ¶
func (mr *MockModuleGeneratorMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockModuleGeneratorMockRecorder) Plugins ¶
func (mr *MockModuleGeneratorMockRecorder) Plugins() *gomock.Call
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 ¶
func (m *MockPackageGenerator) EXPECT() *MockPackageGeneratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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 ¶
func (mr *MockPackageGeneratorMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockPackageGeneratorMockRecorder) Plugins ¶
func (mr *MockPackageGeneratorMockRecorder) Plugins() *gomock.Call
Plugins indicates an expected call of Plugins.