Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockShardGroup
- func (m *MockShardGroup) Close() error
- func (m *MockShardGroup) CreateIterator(arg0 context.Context, arg1 *influxql.Measurement, arg2 query.IteratorOptions) (query.Iterator, error)
- func (m *MockShardGroup) EXPECT() *MockShardGroupMockRecorder
- func (m *MockShardGroup) FieldDimensions(arg0 context.Context, arg1 *influxql.Measurement) (map[string]influxql.DataType, map[string]struct{}, error)
- func (m *MockShardGroup) IteratorCost(arg0 context.Context, arg1 *influxql.Measurement, arg2 query.IteratorOptions) (query.IteratorCost, error)
- func (m *MockShardGroup) MapType(arg0 context.Context, arg1 *influxql.Measurement, arg2 string) influxql.DataType
- type MockShardGroupMockRecorder
- func (mr *MockShardGroupMockRecorder) Close() *gomock.Call
- func (mr *MockShardGroupMockRecorder) CreateIterator(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockShardGroupMockRecorder) FieldDimensions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockShardGroupMockRecorder) IteratorCost(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockShardGroupMockRecorder) MapType(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockShardMapper
- type MockShardMapperMockRecorder
- type MockStatementExecutor
- type MockStatementExecutorMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockShardGroup ¶
type MockShardGroup struct {
// contains filtered or unexported fields
}
MockShardGroup is a mock of ShardGroup interface
func NewMockShardGroup ¶
func NewMockShardGroup(ctrl *gomock.Controller) *MockShardGroup
NewMockShardGroup creates a new mock instance
func (*MockShardGroup) CreateIterator ¶
func (m *MockShardGroup) CreateIterator(arg0 context.Context, arg1 *influxql.Measurement, arg2 query.IteratorOptions) (query.Iterator, error)
CreateIterator mocks base method
func (*MockShardGroup) EXPECT ¶
func (m *MockShardGroup) EXPECT() *MockShardGroupMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockShardGroup) FieldDimensions ¶
func (m *MockShardGroup) FieldDimensions(arg0 context.Context, arg1 *influxql.Measurement) (map[string]influxql.DataType, map[string]struct{}, error)
FieldDimensions mocks base method
func (*MockShardGroup) IteratorCost ¶
func (m *MockShardGroup) IteratorCost(arg0 context.Context, arg1 *influxql.Measurement, arg2 query.IteratorOptions) (query.IteratorCost, error)
IteratorCost mocks base method
func (*MockShardGroup) MapType ¶
func (m *MockShardGroup) MapType(arg0 context.Context, arg1 *influxql.Measurement, arg2 string) influxql.DataType
MapType mocks base method
type MockShardGroupMockRecorder ¶
type MockShardGroupMockRecorder struct {
// contains filtered or unexported fields
}
MockShardGroupMockRecorder is the mock recorder for MockShardGroup
func (*MockShardGroupMockRecorder) Close ¶
func (mr *MockShardGroupMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockShardGroupMockRecorder) CreateIterator ¶
func (mr *MockShardGroupMockRecorder) CreateIterator(arg0, arg1, arg2 interface{}) *gomock.Call
CreateIterator indicates an expected call of CreateIterator
func (*MockShardGroupMockRecorder) FieldDimensions ¶
func (mr *MockShardGroupMockRecorder) FieldDimensions(arg0, arg1 interface{}) *gomock.Call
FieldDimensions indicates an expected call of FieldDimensions
func (*MockShardGroupMockRecorder) IteratorCost ¶
func (mr *MockShardGroupMockRecorder) IteratorCost(arg0, arg1, arg2 interface{}) *gomock.Call
IteratorCost indicates an expected call of IteratorCost
func (*MockShardGroupMockRecorder) MapType ¶
func (mr *MockShardGroupMockRecorder) MapType(arg0, arg1, arg2 interface{}) *gomock.Call
MapType indicates an expected call of MapType
type MockShardMapper ¶
type MockShardMapper struct {
// contains filtered or unexported fields
}
MockShardMapper is a mock of ShardMapper interface
func NewMockShardMapper ¶
func NewMockShardMapper(ctrl *gomock.Controller) *MockShardMapper
NewMockShardMapper creates a new mock instance
func (*MockShardMapper) EXPECT ¶
func (m *MockShardMapper) EXPECT() *MockShardMapperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockShardMapper) MapShards ¶
func (m *MockShardMapper) MapShards(arg0 context.Context, arg1 influxql.Sources, arg2 influxql.TimeRange, arg3 query.SelectOptions) (query.ShardGroup, error)
MapShards mocks base method
type MockShardMapperMockRecorder ¶
type MockShardMapperMockRecorder struct {
// contains filtered or unexported fields
}
MockShardMapperMockRecorder is the mock recorder for MockShardMapper
func (*MockShardMapperMockRecorder) MapShards ¶
func (mr *MockShardMapperMockRecorder) MapShards(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
MapShards indicates an expected call of MapShards
type MockStatementExecutor ¶
type MockStatementExecutor struct {
// contains filtered or unexported fields
}
MockStatementExecutor is a mock of StatementExecutor interface
func NewMockStatementExecutor ¶
func NewMockStatementExecutor(ctrl *gomock.Controller) *MockStatementExecutor
NewMockStatementExecutor creates a new mock instance
func (*MockStatementExecutor) EXPECT ¶
func (m *MockStatementExecutor) EXPECT() *MockStatementExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStatementExecutor) ExecuteStatement ¶
func (m *MockStatementExecutor) ExecuteStatement(arg0 context.Context, arg1 influxql.Statement, arg2 *query.ExecutionContext) error
ExecuteStatement mocks base method
type MockStatementExecutorMockRecorder ¶
type MockStatementExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockStatementExecutorMockRecorder is the mock recorder for MockStatementExecutor
func (*MockStatementExecutorMockRecorder) ExecuteStatement ¶
func (mr *MockStatementExecutorMockRecorder) ExecuteStatement(arg0, arg1, arg2 interface{}) *gomock.Call
ExecuteStatement indicates an expected call of ExecuteStatement