Documentation ¶
Overview ¶
Package mock_swolf is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMasterController ¶
type MockMasterController struct {
// contains filtered or unexported fields
}
MockMasterController is a mock of MasterController interface
func NewMockMasterController ¶
func NewMockMasterController(ctrl *gomock.Controller) *MockMasterController
NewMockMasterController creates a new mock instance
func (*MockMasterController) Create ¶
func (m *MockMasterController) Create(arg0 string) (string, error)
Create mocks base method
func (*MockMasterController) Delete ¶
func (m *MockMasterController) Delete(arg0 string) (string, error)
Delete mocks base method
func (*MockMasterController) EXPECT ¶
func (m *MockMasterController) EXPECT() *MockMasterControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockMasterControllerMockRecorder ¶
type MockMasterControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockMasterControllerMockRecorder is the mock recorder for MockMasterController
func (*MockMasterControllerMockRecorder) Create ¶
func (mr *MockMasterControllerMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockMasterControllerMockRecorder) Delete ¶
func (mr *MockMasterControllerMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockMasterControllerMockRecorder) Get ¶
func (mr *MockMasterControllerMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
type MockPool ¶
type MockPool struct {
// contains filtered or unexported fields
}
MockPool is a mock of Pool interface
func NewMockPool ¶
func NewMockPool(ctrl *gomock.Controller) *MockPool
NewMockPool creates a new mock instance
func (*MockPool) EXPECT ¶
func (m *MockPool) EXPECT() *MockPoolMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockPoolMockRecorder ¶
type MockPoolMockRecorder struct {
// contains filtered or unexported fields
}
MockPoolMockRecorder is the mock recorder for MockPool
func (*MockPoolMockRecorder) Get ¶
func (mr *MockPoolMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockPoolMockRecorder) Put ¶
func (mr *MockPoolMockRecorder) Put(arg0, arg1 interface{}) *gomock.Call
Put indicates an expected call of Put
func (*MockPoolMockRecorder) SetMaxConn ¶
func (mr *MockPoolMockRecorder) SetMaxConn(arg0 interface{}) *gomock.Call
SetMaxConn indicates an expected call of SetMaxConn
type MockTenantController ¶
type MockTenantController struct {
// contains filtered or unexported fields
}
MockTenantController is a mock of TenantController interface
func NewMockTenantController ¶
func NewMockTenantController(ctrl *gomock.Controller) *MockTenantController
NewMockTenantController creates a new mock instance
func (*MockTenantController) Create ¶
func (m *MockTenantController) Create(arg0 string) (*sql.DB, error)
Create mocks base method
func (*MockTenantController) Delete ¶
func (m *MockTenantController) Delete(arg0 string) error
Delete mocks base method
func (*MockTenantController) EXPECT ¶
func (m *MockTenantController) EXPECT() *MockTenantControllerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockTenantControllerMockRecorder ¶
type MockTenantControllerMockRecorder struct {
// contains filtered or unexported fields
}
MockTenantControllerMockRecorder is the mock recorder for MockTenantController
func (*MockTenantControllerMockRecorder) Create ¶
func (mr *MockTenantControllerMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockTenantControllerMockRecorder) Delete ¶
func (mr *MockTenantControllerMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockTenantControllerMockRecorder) Get ¶
func (mr *MockTenantControllerMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get