mocks

package
v1.62.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: Apache-2.0 Imports: 9 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 given fields:

func (*ArchiveFactory) CreateArchiveSpanWriter

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

CreateArchiveSpanWriter provides a mock function with given 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 given fields:

func (*Factory) CreateSpanReader

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

CreateSpanReader provides a mock function with given fields:

func (*Factory) CreateSpanWriter

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

CreateSpanWriter provides a mock function with given 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 MetricsFactory added in v1.23.0

type MetricsFactory struct {
	mock.Mock
}

MetricsFactory is an autogenerated mock type for the MetricsFactory type

func NewMetricsFactory added in v1.59.0

func NewMetricsFactory(t interface {
	mock.TestingT
	Cleanup(func())
}) *MetricsFactory

NewMetricsFactory creates a new instance of MetricsFactory. 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 (*MetricsFactory) CreateMetricsReader added in v1.23.0

func (_m *MetricsFactory) CreateMetricsReader() (metricsstore.Reader, error)

CreateMetricsReader provides a mock function with given fields:

func (*MetricsFactory) Initialize added in v1.23.0

func (_m *MetricsFactory) Initialize(logger *zap.Logger) error

Initialize provides a mock function with given fields: logger

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 given 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