Documentation ¶
Overview ¶
Package handletest is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHandle ¶
type MockHandle struct {
// contains filtered or unexported fields
}
MockHandle is a mock of Handle interface
func NewMockHandle ¶
func NewMockHandle(ctrl *gomock.Controller) *MockHandle
NewMockHandle creates a new mock instance
func (*MockHandle) EXPECT ¶
func (m *MockHandle) EXPECT() *MockHandleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHandle) ServiceGenerator ¶
func (m *MockHandle) ServiceGenerator() plugin.ServiceGenerator
ServiceGenerator mocks base method
type MockHandleMockRecorder ¶ added in v1.6.0
type MockHandleMockRecorder struct {
// contains filtered or unexported fields
}
MockHandleMockRecorder is the mock recorder for MockHandle
func (*MockHandleMockRecorder) Close ¶ added in v1.6.0
func (mr *MockHandleMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockHandleMockRecorder) Name ¶ added in v1.6.0
func (mr *MockHandleMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockHandleMockRecorder) ServiceGenerator ¶ added in v1.6.0
func (mr *MockHandleMockRecorder) ServiceGenerator() *gomock.Call
ServiceGenerator indicates an expected call of ServiceGenerator
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(arg0 *api.GenerateServiceRequest) (*api.GenerateServiceResponse, error)
Generate mocks base method
func (*MockServiceGenerator) Handle ¶
func (m *MockServiceGenerator) Handle() plugin.Handle
Handle mocks base method
type MockServiceGeneratorMockRecorder ¶ added in v1.6.0
type MockServiceGeneratorMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceGeneratorMockRecorder is the mock recorder for MockServiceGenerator
func (*MockServiceGeneratorMockRecorder) Generate ¶ added in v1.6.0
func (mr *MockServiceGeneratorMockRecorder) Generate(arg0 interface{}) *gomock.Call
Generate indicates an expected call of Generate
func (*MockServiceGeneratorMockRecorder) Handle ¶ added in v1.6.0
func (mr *MockServiceGeneratorMockRecorder) Handle() *gomock.Call
Handle indicates an expected call of Handle