mocks

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBlock

type MockBlock struct {
	// contains filtered or unexported fields
}

MockBlock is a mock of Block interface

func NewMockBlock

func NewMockBlock(ctrl *gomock.Controller) *MockBlock

NewMockBlock creates a new mock instance

func (*MockBlock) Close

func (m *MockBlock) Close() error

Close mocks base method

func (*MockBlock) EXPECT

func (m *MockBlock) EXPECT() *MockBlockMockRecorder

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

func (*MockBlock) Meta

func (m *MockBlock) Meta() Metadata

Meta mocks base method

func (*MockBlock) SeriesCount

func (m *MockBlock) SeriesCount() int

SeriesCount mocks base method

func (*MockBlock) SeriesIter

func (m *MockBlock) SeriesIter() SeriesIter

SeriesIter mocks base method

func (*MockBlock) SeriesMeta

func (m *MockBlock) SeriesMeta() []SeriesMeta

SeriesMeta mocks base method

func (*MockBlock) StepCount

func (m *MockBlock) StepCount() int

StepCount mocks base method

func (*MockBlock) StepIter

func (m *MockBlock) StepIter() StepIter

StepIter mocks base method

type MockBlockMockRecorder

type MockBlockMockRecorder struct {
	// contains filtered or unexported fields
}

MockBlockMockRecorder is the mock recorder for MockBlock

func (*MockBlockMockRecorder) Close

func (mr *MockBlockMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockBlockMockRecorder) Meta

func (mr *MockBlockMockRecorder) Meta() *gomock.Call

Meta indicates an expected call of Meta

func (*MockBlockMockRecorder) SeriesCount

func (mr *MockBlockMockRecorder) SeriesCount() *gomock.Call

SeriesCount indicates an expected call of SeriesCount

func (*MockBlockMockRecorder) SeriesIter

func (mr *MockBlockMockRecorder) SeriesIter() *gomock.Call

SeriesIter indicates an expected call of SeriesIter

func (*MockBlockMockRecorder) SeriesMeta

func (mr *MockBlockMockRecorder) SeriesMeta() *gomock.Call

SeriesMeta indicates an expected call of SeriesMeta

func (*MockBlockMockRecorder) StepCount

func (mr *MockBlockMockRecorder) StepCount() *gomock.Call

StepCount indicates an expected call of StepCount

func (*MockBlockMockRecorder) StepIter

func (mr *MockBlockMockRecorder) StepIter() *gomock.Call

StepIter indicates an expected call of StepIter

type MockBuilder

type MockBuilder struct {
	// contains filtered or unexported fields
}

MockBuilder is a mock of Builder interface

func NewMockBuilder

func NewMockBuilder(ctrl *gomock.Controller) *MockBuilder

NewMockBuilder creates a new mock instance

func (*MockBuilder) AddCols

func (m *MockBuilder) AddCols(num int) error

AddCols mocks base method

func (*MockBuilder) AppendValue

func (m *MockBuilder) AppendValue(idx int, value float64) error

AppendValue mocks base method

func (*MockBuilder) Build

func (m *MockBuilder) Build() Block

Build mocks base method

func (*MockBuilder) EXPECT

func (m *MockBuilder) EXPECT() *MockBuilderMockRecorder

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

type MockBuilderMockRecorder

type MockBuilderMockRecorder struct {
	// contains filtered or unexported fields
}

MockBuilderMockRecorder is the mock recorder for MockBuilder

func (*MockBuilderMockRecorder) AddCols

func (mr *MockBuilderMockRecorder) AddCols(num interface{}) *gomock.Call

AddCols indicates an expected call of AddCols

func (*MockBuilderMockRecorder) AppendValue

func (mr *MockBuilderMockRecorder) AppendValue(idx, value interface{}) *gomock.Call

AppendValue indicates an expected call of AppendValue

func (*MockBuilderMockRecorder) Build

func (mr *MockBuilderMockRecorder) Build() *gomock.Call

Build indicates an expected call of Build

type MockIterator

type MockIterator struct {
	// contains filtered or unexported fields
}

MockIterator is a mock of Iterator interface

func NewMockIterator

func NewMockIterator(ctrl *gomock.Controller) *MockIterator

NewMockIterator creates a new mock instance

func (*MockIterator) Close

func (m *MockIterator) Close()

Close mocks base method

func (*MockIterator) EXPECT

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

func (*MockIterator) Next

func (m *MockIterator) Next() bool

Next mocks base method

type MockIteratorMockRecorder

type MockIteratorMockRecorder struct {
	// contains filtered or unexported fields
}

MockIteratorMockRecorder is the mock recorder for MockIterator

func (*MockIteratorMockRecorder) Close

func (mr *MockIteratorMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockIteratorMockRecorder) Next

func (mr *MockIteratorMockRecorder) Next() *gomock.Call

Next indicates an expected call of Next

type MockPolicyResolver

type MockPolicyResolver struct {
	// contains filtered or unexported fields
}

MockPolicyResolver is a mock of PolicyResolver interface

func NewMockPolicyResolver

func NewMockPolicyResolver(ctrl *gomock.Controller) *MockPolicyResolver

NewMockPolicyResolver creates a new mock instance

func (*MockPolicyResolver) EXPECT

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

func (*MockPolicyResolver) Resolve

func (m *MockPolicyResolver) Resolve(ctx context.Context, tagMatchers models.Matchers, startTime, endTime time.Time) ([]tsdb.FetchRequest, error)

Resolve mocks base method

type MockPolicyResolverMockRecorder

type MockPolicyResolverMockRecorder struct {
	// contains filtered or unexported fields
}

MockPolicyResolverMockRecorder is the mock recorder for MockPolicyResolver

func (*MockPolicyResolverMockRecorder) Resolve

func (mr *MockPolicyResolverMockRecorder) Resolve(ctx, tagMatchers, startTime, endTime interface{}) *gomock.Call

Resolve indicates an expected call of Resolve

type MockSeriesIter

type MockSeriesIter struct {
	// contains filtered or unexported fields
}

MockSeriesIter is a mock of SeriesIter interface

func NewMockSeriesIter

func NewMockSeriesIter(ctrl *gomock.Controller) *MockSeriesIter

NewMockSeriesIter creates a new mock instance

func (*MockSeriesIter) Close

func (m *MockSeriesIter) Close()

Close mocks base method

func (*MockSeriesIter) Current

func (m *MockSeriesIter) Current() Series

Current mocks base method

func (*MockSeriesIter) EXPECT

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

func (*MockSeriesIter) Next

func (m *MockSeriesIter) Next() bool

Next mocks base method

type MockSeriesIterMockRecorder

type MockSeriesIterMockRecorder struct {
	// contains filtered or unexported fields
}

MockSeriesIterMockRecorder is the mock recorder for MockSeriesIter

func (*MockSeriesIterMockRecorder) Close

func (mr *MockSeriesIterMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockSeriesIterMockRecorder) Current

func (mr *MockSeriesIterMockRecorder) Current() *gomock.Call

Current indicates an expected call of Current

func (*MockSeriesIterMockRecorder) Next

Next indicates an expected call of Next

type MockStep

type MockStep struct {
	// contains filtered or unexported fields
}

MockStep is a mock of Step interface

func NewMockStep

func NewMockStep(ctrl *gomock.Controller) *MockStep

NewMockStep creates a new mock instance

func (*MockStep) EXPECT

func (m *MockStep) EXPECT() *MockStepMockRecorder

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

func (*MockStep) Time

func (m *MockStep) Time() time.Time

Time mocks base method

func (*MockStep) Values

func (m *MockStep) Values() []float64

Values mocks base method

type MockStepIter

type MockStepIter struct {
	// contains filtered or unexported fields
}

MockStepIter is a mock of StepIter interface

func NewMockStepIter

func NewMockStepIter(ctrl *gomock.Controller) *MockStepIter

NewMockStepIter creates a new mock instance

func (*MockStepIter) Close

func (m *MockStepIter) Close()

Close mocks base method

func (*MockStepIter) Current

func (m *MockStepIter) Current() Step

Current mocks base method

func (*MockStepIter) EXPECT

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

func (*MockStepIter) Next

func (m *MockStepIter) Next() bool

Next mocks base method

type MockStepIterMockRecorder

type MockStepIterMockRecorder struct {
	// contains filtered or unexported fields
}

MockStepIterMockRecorder is the mock recorder for MockStepIter

func (*MockStepIterMockRecorder) Close

func (mr *MockStepIterMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockStepIterMockRecorder) Current

func (mr *MockStepIterMockRecorder) Current() *gomock.Call

Current indicates an expected call of Current

func (*MockStepIterMockRecorder) Next

func (mr *MockStepIterMockRecorder) Next() *gomock.Call

Next indicates an expected call of Next

type MockStepMockRecorder

type MockStepMockRecorder struct {
	// contains filtered or unexported fields
}

MockStepMockRecorder is the mock recorder for MockStep

func (*MockStepMockRecorder) Time

func (mr *MockStepMockRecorder) Time() *gomock.Call

Time indicates an expected call of Time

func (*MockStepMockRecorder) Values

func (mr *MockStepMockRecorder) Values() *gomock.Call

Values indicates an expected call of Values

Jump to

Keyboard shortcuts

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