mocks

package
v1.65.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArchiveFactory

type ArchiveFactory struct {
	mock.Mock
}

ArchiveFactory is an autogenerated mock type for the ArchiveFactory type

func NewArchiveFactory added in v1.59.0

func NewArchiveFactory(t interface {
	mock.TestingT
	Cleanup(func())
}) *ArchiveFactory

NewArchiveFactory creates a new instance of ArchiveFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ArchiveFactory) CreateArchiveSpanReader

func (_m *ArchiveFactory) CreateArchiveSpanReader() (spanstore.Reader, error)

CreateArchiveSpanReader provides a mock function with no fields

func (*ArchiveFactory) CreateArchiveSpanWriter

func (_m *ArchiveFactory) CreateArchiveSpanWriter() (spanstore.Writer, error)

CreateArchiveSpanWriter provides a mock function with no fields

type BaseFactory added in v1.64.0

type BaseFactory struct {
	mock.Mock
}

BaseFactory is an autogenerated mock type for the BaseFactory type

func NewBaseFactory added in v1.64.0

func NewBaseFactory(t interface {
	mock.TestingT
	Cleanup(func())
}) *BaseFactory

NewBaseFactory creates a new instance of BaseFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*BaseFactory) CreateDependencyReader added in v1.64.0

func (_m *BaseFactory) CreateDependencyReader() (dependencystore.Reader, error)

CreateDependencyReader provides a mock function with no fields

func (*BaseFactory) CreateSpanReader added in v1.64.0

func (_m *BaseFactory) CreateSpanReader() (spanstore.Reader, error)

CreateSpanReader provides a mock function with no fields

func (*BaseFactory) CreateSpanWriter added in v1.64.0

func (_m *BaseFactory) CreateSpanWriter() (spanstore.Writer, error)

CreateSpanWriter provides a mock function with no fields

type Factory

type Factory struct {
	mock.Mock
}

Factory is an autogenerated mock type for the Factory type

func NewFactory added in v1.59.0

func NewFactory(t interface {
	mock.TestingT
	Cleanup(func())
}) *Factory

NewFactory creates a new instance of Factory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Factory) CreateDependencyReader

func (_m *Factory) CreateDependencyReader() (dependencystore.Reader, error)

CreateDependencyReader provides a mock function with no fields

func (*Factory) CreateSpanReader

func (_m *Factory) CreateSpanReader() (spanstore.Reader, error)

CreateSpanReader provides a mock function with no fields

func (*Factory) CreateSpanWriter

func (_m *Factory) CreateSpanWriter() (spanstore.Writer, error)

CreateSpanWriter provides a mock function with no fields

func (*Factory) Initialize

func (_m *Factory) Initialize(metricsFactory metrics.Factory, logger *zap.Logger) error

Initialize provides a mock function with given fields: metricsFactory, logger

type MetricStoreFactory added in v1.64.0

type MetricStoreFactory struct {
	mock.Mock
}

MetricStoreFactory is an autogenerated mock type for the MetricStoreFactory type

func NewMetricStoreFactory added in v1.64.0

func NewMetricStoreFactory(t interface {
	mock.TestingT
	Cleanup(func())
}) *MetricStoreFactory

NewMetricStoreFactory creates a new instance of MetricStoreFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MetricStoreFactory) CreateMetricsReader added in v1.64.0

func (_m *MetricStoreFactory) CreateMetricsReader() (metricstore.Reader, error)

CreateMetricsReader provides a mock function with no fields

func (*MetricStoreFactory) Initialize added in v1.64.0

func (_m *MetricStoreFactory) Initialize(telset telemetry.Settings) error

Initialize provides a mock function with given fields: telset

type Purger added in v1.59.0

type Purger struct {
	mock.Mock
}

Purger is an autogenerated mock type for the Purger type

func NewPurger added in v1.59.0

func NewPurger(t interface {
	mock.TestingT
	Cleanup(func())
}) *Purger

NewPurger creates a new instance of Purger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Purger) Purge added in v1.59.0

func (_m *Purger) Purge(_a0 context.Context) error

Purge provides a mock function with given fields: _a0

type SamplingStoreFactory added in v1.59.0

type SamplingStoreFactory struct {
	mock.Mock
}

SamplingStoreFactory is an autogenerated mock type for the SamplingStoreFactory type

func NewSamplingStoreFactory added in v1.59.0

func NewSamplingStoreFactory(t interface {
	mock.TestingT
	Cleanup(func())
}) *SamplingStoreFactory

NewSamplingStoreFactory creates a new instance of SamplingStoreFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SamplingStoreFactory) CreateLock added in v1.59.0

func (_m *SamplingStoreFactory) CreateLock() (distributedlock.Lock, error)

CreateLock provides a mock function with no fields

func (*SamplingStoreFactory) CreateSamplingStore added in v1.59.0

func (_m *SamplingStoreFactory) CreateSamplingStore(maxBuckets int) (samplingstore.Store, error)

CreateSamplingStore provides a mock function with given fields: maxBuckets

Jump to

Keyboard shortcuts

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