Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockDBInterface
- func (m *MockDBInterface) Delete(id string) error
- func (m *MockDBInterface) EXPECT() *MockDBInterfaceMockRecorder
- func (m *MockDBInterface) Get(id string) (network.Info, error)
- func (m *MockDBInterface) GetIDWithIP(IPv4 string) (string, error)
- func (m *MockDBInterface) GetList() ([]network.Info, error)
- func (m *MockDBInterface) Set(conf network.Info) error
- func (m *MockDBInterface) Update(conf network.Info) error
- type MockDBInterfaceMockRecorder
- func (mr *MockDBInterfaceMockRecorder) Delete(id interface{}) *gomock.Call
- func (mr *MockDBInterfaceMockRecorder) Get(id interface{}) *gomock.Call
- func (mr *MockDBInterfaceMockRecorder) GetIDWithIP(IPv4 interface{}) *gomock.Call
- func (mr *MockDBInterfaceMockRecorder) GetList() *gomock.Call
- func (mr *MockDBInterfaceMockRecorder) Set(conf interface{}) *gomock.Call
- func (mr *MockDBInterfaceMockRecorder) Update(conf 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(id 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) (network.Info, error)
Get mocks base method
func (*MockDBInterface) GetIDWithIP ¶
func (m *MockDBInterface) GetIDWithIP(IPv4 string) (string, error)
GetIDWithIP mocks base method
func (*MockDBInterface) GetList ¶
func (m *MockDBInterface) GetList() ([]network.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(id 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) GetIDWithIP ¶
func (mr *MockDBInterfaceMockRecorder) GetIDWithIP(IPv4 interface{}) *gomock.Call
GetIDWithIP indicates an expected call of GetIDWithIP
func (*MockDBInterfaceMockRecorder) GetList ¶
func (mr *MockDBInterfaceMockRecorder) GetList() *gomock.Call
GetList indicates an expected call of GetList
func (*MockDBInterfaceMockRecorder) Set ¶
func (mr *MockDBInterfaceMockRecorder) Set(conf interface{}) *gomock.Call
Set indicates an expected call of Set
func (*MockDBInterfaceMockRecorder) Update ¶
func (mr *MockDBInterfaceMockRecorder) Update(conf interface{}) *gomock.Call
Update indicates an expected call of Update