Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPlugin ¶
type MockPlugin struct {
// contains filtered or unexported fields
}
MockPlugin is a mock of Plugin interface
func NewMockPlugin ¶
func NewMockPlugin(ctrl *gomock.Controller) *MockPlugin
NewMockPlugin creates a new mock instance
func (*MockPlugin) EXPECT ¶
func (_m *MockPlugin) EXPECT() *MockPluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPlugin) Handshake ¶
func (_m *MockPlugin) Handshake(_param0 *api.HandshakeRequest) (*api.HandshakeResponse, error)
Handshake mocks base method
type MockPluginMockRecorder ¶ added in v1.3.0
type MockPluginMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginMockRecorder is the mock recorder for MockPlugin
func (*MockPluginMockRecorder) Goodbye ¶ added in v1.3.0
func (_mr *MockPluginMockRecorder) Goodbye() *gomock.Call
Goodbye indicates an expected call of Goodbye
func (*MockPluginMockRecorder) Handshake ¶ added in v1.3.0
func (_mr *MockPluginMockRecorder) Handshake(arg0 interface{}) *gomock.Call
Handshake indicates an expected call of Handshake
type MockServiceGenerator ¶
type MockServiceGenerator struct {
// contains filtered or unexported fields
}
MockServiceGenerator is a mock of ServiceGenerator interface
func NewMockServiceGenerator ¶
func NewMockServiceGenerator(ctrl *gomock.Controller) *MockServiceGenerator
NewMockServiceGenerator creates a new mock instance
func (*MockServiceGenerator) EXPECT ¶
func (_m *MockServiceGenerator) EXPECT() *MockServiceGeneratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockServiceGenerator) Generate ¶
func (_m *MockServiceGenerator) Generate(_param0 *api.GenerateServiceRequest) (*api.GenerateServiceResponse, error)
Generate mocks base method
type MockServiceGeneratorMockRecorder ¶ added in v1.3.0
type MockServiceGeneratorMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceGeneratorMockRecorder is the mock recorder for MockServiceGenerator
func (*MockServiceGeneratorMockRecorder) Generate ¶ added in v1.3.0
func (_mr *MockServiceGeneratorMockRecorder) Generate(arg0 interface{}) *gomock.Call
Generate indicates an expected call of Generate