Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Aggregator ¶
Aggregator is an autogenerated mock type for the Aggregator type
func NewAggregator ¶ added in v0.5.4
func NewAggregator(t mockConstructorTestingTNewAggregator) *Aggregator
NewAggregator creates a new instance of Aggregator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Aggregator) Report ¶
func (_m *Aggregator) Report(s core.Sample)
Report provides a mock function with given fields: s
func (*Aggregator) Run ¶
func (_m *Aggregator) Run(ctx context.Context, deps core.AggregatorDeps) error
Run provides a mock function with given fields: ctx, deps
func (*Aggregator) String ¶
func (_m *Aggregator) String() string
Implement Stringer, so when Aggregator is passed as arg to another mock call, it not read and data races not created.
type BorrowedSample ¶ added in v0.3.0
BorrowedSample is an autogenerated mock type for the BorrowedSample type
func NewBorrowedSample ¶ added in v0.5.4
func NewBorrowedSample(t mockConstructorTestingTNewBorrowedSample) *BorrowedSample
NewBorrowedSample creates a new instance of BorrowedSample. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*BorrowedSample) Return ¶ added in v0.3.0
func (_m *BorrowedSample) Return()
Return provides a mock function with given fields:
type DataSink ¶ added in v0.3.0
DataSink is an autogenerated mock type for the DataSink type
func NewDataSink ¶ added in v0.5.4
func NewDataSink(t mockConstructorTestingTNewDataSink) *DataSink
NewDataSink creates a new instance of DataSink. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type DataSource ¶ added in v0.3.0
DataSource is an autogenerated mock type for the DataSource type
func NewDataSource ¶ added in v0.5.4
func NewDataSource(t mockConstructorTestingTNewDataSource) *DataSource
NewDataSource creates a new instance of DataSource. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*DataSource) OpenSource ¶ added in v0.3.0
func (_m *DataSource) OpenSource() (io.ReadCloser, error)
OpenSource provides a mock function with given fields:
type Gun ¶
Gun is an autogenerated mock type for the Gun type
func NewGun ¶ added in v0.5.4
func NewGun(t mockConstructorTestingTNewGun) *Gun
NewGun creates a new instance of Gun. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Provider ¶
Provider is an autogenerated mock type for the Provider type
func NewProvider ¶ added in v0.5.4
func NewProvider(t mockConstructorTestingTNewProvider) *Provider
NewProvider creates a new instance of Provider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type Schedule ¶
Schedule is an autogenerated mock type for the Schedule type
func NewSchedule ¶ added in v0.5.4
func NewSchedule(t mockConstructorTestingTNewSchedule) *Schedule
NewSchedule creates a new instance of Schedule. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.