mock_swolf

package
v0.0.0-...-e9ed1b8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2021 License: MIT Imports: 3 Imported by: 0

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockMasterController) Get

func (m *MockMasterController) Get(arg0 string) (string, error)

Get mocks base method

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

func (*MockPool) Get

func (m *MockPool) Get(arg0 string) (*sql.DB, bool)

Get mocks base method

func (*MockPool) Put

func (m *MockPool) Put(arg0 string, arg1 *sql.DB)

Put mocks base method

func (*MockPool) SetMaxConn

func (m *MockPool) SetMaxConn(arg0 int)

SetMaxConn mocks base method

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockTenantController) Get

func (m *MockTenantController) Get(arg0 string) (*sql.DB, error)

Get mocks base method

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL