Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockDB
- type MockDBMockRecorder
- type MockRow
- type MockRowMockRecorder
- type MockTable
- func (m *MockTable) Copy() backend.Table
- func (m *MockTable) CrossJoin(arg0 backend.Table) (backend.Table, error)
- func (m *MockTable) Delete(arg0 func(backend.Row) (core.Value, error)) (backend.Table, error)
- func (m *MockTable) EXPECT() *MockTableMockRecorder
- func (m *MockTable) GetColNames() core.ColumnNames
- func (m *MockTable) GetCols() core.Cols
- func (m *MockTable) GetName() string
- func (m *MockTable) GetRows() []backend.Row
- func (m *MockTable) InsertValues(arg0 core.ColumnNames, arg1 core.ValuesList) error
- func (m *MockTable) Limit(arg0 int) (backend.Table, error)
- func (m *MockTable) OrderBy(arg0 core.ColumnNames, arg1 []int) (backend.Table, error)
- func (m *MockTable) Project(arg0 core.ColumnNames, arg1 []func(backend.Row) (core.Value, error)) (backend.Table, error)
- func (m *MockTable) RenameTableName(arg0 string)
- func (m *MockTable) Update(arg0 core.ColumnNames, arg1 func(backend.Row) (core.Value, error), ...) (backend.Table, error)
- func (m *MockTable) Where(arg0 func(backend.Row) (core.Value, error)) (backend.Table, error)
- type MockTableMockRecorder
- func (mr *MockTableMockRecorder) Copy() *gomock.Call
- func (mr *MockTableMockRecorder) CrossJoin(arg0 interface{}) *gomock.Call
- func (mr *MockTableMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockTableMockRecorder) GetColNames() *gomock.Call
- func (mr *MockTableMockRecorder) GetCols() *gomock.Call
- func (mr *MockTableMockRecorder) GetName() *gomock.Call
- func (mr *MockTableMockRecorder) GetRows() *gomock.Call
- func (mr *MockTableMockRecorder) InsertValues(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTableMockRecorder) Limit(arg0 interface{}) *gomock.Call
- func (mr *MockTableMockRecorder) OrderBy(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTableMockRecorder) Project(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTableMockRecorder) RenameTableName(arg0 interface{}) *gomock.Call
- func (mr *MockTableMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTableMockRecorder) Where(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDB ¶
type MockDB struct {
// contains filtered or unexported fields
}
MockDB is a mock of DB interface.
func NewMockDB ¶
func NewMockDB(ctrl *gomock.Controller) *MockDB
NewMockDB creates a new mock instance.
func (*MockDB) CreateTable ¶
CreateTable mocks base method.
func (*MockDB) EXPECT ¶
func (m *MockDB) EXPECT() *MockDBMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDBMockRecorder ¶
type MockDBMockRecorder struct {
// contains filtered or unexported fields
}
MockDBMockRecorder is the mock recorder for MockDB.
func (*MockDBMockRecorder) CreateTable ¶
func (mr *MockDBMockRecorder) CreateTable(arg0, arg1 interface{}) *gomock.Call
CreateTable indicates an expected call of CreateTable.
func (*MockDBMockRecorder) DropTable ¶
func (mr *MockDBMockRecorder) DropTable(arg0 interface{}) *gomock.Call
DropTable indicates an expected call of DropTable.
func (*MockDBMockRecorder) GetTable ¶
func (mr *MockDBMockRecorder) GetTable(arg0 interface{}) *gomock.Call
GetTable indicates an expected call of GetTable.
type MockRow ¶
type MockRow struct {
// contains filtered or unexported fields
}
MockRow is a mock of Row interface.
func NewMockRow ¶
func NewMockRow(ctrl *gomock.Controller) *MockRow
NewMockRow creates a new mock instance.
func (*MockRow) EXPECT ¶
func (m *MockRow) EXPECT() *MockRowMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRow) GetColNames ¶
func (m *MockRow) GetColNames() core.ColumnNames
GetColNames mocks base method.
func (*MockRow) GetValueByColName ¶
GetValueByColName mocks base method.
func (*MockRow) UpdateValue ¶
func (m *MockRow) UpdateValue(arg0 core.ColumnName, arg1 core.Value)
UpdateValue mocks base method.
type MockRowMockRecorder ¶
type MockRowMockRecorder struct {
// contains filtered or unexported fields
}
MockRowMockRecorder is the mock recorder for MockRow.
func (*MockRowMockRecorder) GetColNames ¶
func (mr *MockRowMockRecorder) GetColNames() *gomock.Call
GetColNames indicates an expected call of GetColNames.
func (*MockRowMockRecorder) GetValueByColName ¶
func (mr *MockRowMockRecorder) GetValueByColName(arg0 interface{}) *gomock.Call
GetValueByColName indicates an expected call of GetValueByColName.
func (*MockRowMockRecorder) GetValues ¶
func (mr *MockRowMockRecorder) GetValues() *gomock.Call
GetValues indicates an expected call of GetValues.
func (*MockRowMockRecorder) UpdateValue ¶
func (mr *MockRowMockRecorder) UpdateValue(arg0, arg1 interface{}) *gomock.Call
UpdateValue indicates an expected call of UpdateValue.
type MockTable ¶
type MockTable struct {
// contains filtered or unexported fields
}
MockTable is a mock of Table interface.
func NewMockTable ¶
func NewMockTable(ctrl *gomock.Controller) *MockTable
NewMockTable creates a new mock instance.
func (*MockTable) EXPECT ¶
func (m *MockTable) EXPECT() *MockTableMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTable) GetColNames ¶
func (m *MockTable) GetColNames() core.ColumnNames
GetColNames mocks base method.
func (*MockTable) InsertValues ¶
func (m *MockTable) InsertValues(arg0 core.ColumnNames, arg1 core.ValuesList) error
InsertValues mocks base method.
func (*MockTable) Project ¶
func (m *MockTable) Project(arg0 core.ColumnNames, arg1 []func(backend.Row) (core.Value, error)) (backend.Table, error)
Project mocks base method.
func (*MockTable) RenameTableName ¶
RenameTableName mocks base method.
type MockTableMockRecorder ¶
type MockTableMockRecorder struct {
// contains filtered or unexported fields
}
MockTableMockRecorder is the mock recorder for MockTable.
func (*MockTableMockRecorder) Copy ¶
func (mr *MockTableMockRecorder) Copy() *gomock.Call
Copy indicates an expected call of Copy.
func (*MockTableMockRecorder) CrossJoin ¶
func (mr *MockTableMockRecorder) CrossJoin(arg0 interface{}) *gomock.Call
CrossJoin indicates an expected call of CrossJoin.
func (*MockTableMockRecorder) Delete ¶
func (mr *MockTableMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockTableMockRecorder) GetColNames ¶
func (mr *MockTableMockRecorder) GetColNames() *gomock.Call
GetColNames indicates an expected call of GetColNames.
func (*MockTableMockRecorder) GetCols ¶
func (mr *MockTableMockRecorder) GetCols() *gomock.Call
GetCols indicates an expected call of GetCols.
func (*MockTableMockRecorder) GetName ¶
func (mr *MockTableMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockTableMockRecorder) GetRows ¶
func (mr *MockTableMockRecorder) GetRows() *gomock.Call
GetRows indicates an expected call of GetRows.
func (*MockTableMockRecorder) InsertValues ¶
func (mr *MockTableMockRecorder) InsertValues(arg0, arg1 interface{}) *gomock.Call
InsertValues indicates an expected call of InsertValues.
func (*MockTableMockRecorder) Limit ¶
func (mr *MockTableMockRecorder) Limit(arg0 interface{}) *gomock.Call
Limit indicates an expected call of Limit.
func (*MockTableMockRecorder) OrderBy ¶
func (mr *MockTableMockRecorder) OrderBy(arg0, arg1 interface{}) *gomock.Call
OrderBy indicates an expected call of OrderBy.
func (*MockTableMockRecorder) Project ¶
func (mr *MockTableMockRecorder) Project(arg0, arg1 interface{}) *gomock.Call
Project indicates an expected call of Project.
func (*MockTableMockRecorder) RenameTableName ¶
func (mr *MockTableMockRecorder) RenameTableName(arg0 interface{}) *gomock.Call
RenameTableName indicates an expected call of RenameTableName.
func (*MockTableMockRecorder) Update ¶
func (mr *MockTableMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockTableMockRecorder) Where ¶
func (mr *MockTableMockRecorder) Where(arg0 interface{}) *gomock.Call
Where indicates an expected call of Where.