Documentation ¶
Overview ¶
Package mock_service is a generated GoMock package.
Index ¶
- type MockDBInterface
- func (m *MockDBInterface) Delete(name string) error
- func (m *MockDBInterface) EXPECT() *MockDBInterfaceMockRecorder
- func (m *MockDBInterface) Get(id string) (service.Info, error)
- func (m *MockDBInterface) GetList() ([]service.Info, error)
- func (m *MockDBInterface) Set(info service.Info) error
- func (m *MockDBInterface) Update(info service.Info) error
- type MockDBInterfaceMockRecorder
- func (mr *MockDBInterfaceMockRecorder) Delete(name interface{}) *gomock.Call
- func (mr *MockDBInterfaceMockRecorder) Get(id interface{}) *gomock.Call
- func (mr *MockDBInterfaceMockRecorder) GetList() *gomock.Call
- func (mr *MockDBInterfaceMockRecorder) Set(info interface{}) *gomock.Call
- func (mr *MockDBInterfaceMockRecorder) Update(info interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDBInterface ¶
type MockDBInterface struct {
// contains filtered or unexported fields
}
MockDBInterface is a mock of DBInterface interface
func NewMockDBInterface ¶
func NewMockDBInterface(ctrl *gomock.Controller) *MockDBInterface
NewMockDBInterface creates a new mock instance
func (*MockDBInterface) Delete ¶
func (m *MockDBInterface) Delete(name string) error
Delete mocks base method
func (*MockDBInterface) EXPECT ¶
func (m *MockDBInterface) EXPECT() *MockDBInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDBInterface) Get ¶
func (m *MockDBInterface) Get(id string) (service.Info, error)
Get mocks base method
func (*MockDBInterface) GetList ¶
func (m *MockDBInterface) GetList() ([]service.Info, error)
GetList mocks base method
type MockDBInterfaceMockRecorder ¶
type MockDBInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockDBInterfaceMockRecorder is the mock recorder for MockDBInterface
func (*MockDBInterfaceMockRecorder) Delete ¶
func (mr *MockDBInterfaceMockRecorder) Delete(name interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockDBInterfaceMockRecorder) Get ¶
func (mr *MockDBInterfaceMockRecorder) Get(id interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockDBInterfaceMockRecorder) GetList ¶
func (mr *MockDBInterfaceMockRecorder) GetList() *gomock.Call
GetList indicates an expected call of GetList
func (*MockDBInterfaceMockRecorder) Set ¶
func (mr *MockDBInterfaceMockRecorder) Set(info interface{}) *gomock.Call
Set indicates an expected call of Set
func (*MockDBInterfaceMockRecorder) Update ¶
func (mr *MockDBInterfaceMockRecorder) Update(info interface{}) *gomock.Call
Update indicates an expected call of Update
Click to show internal directories.
Click to hide internal directories.