metric

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashLabelValues

func HashLabelValues(labelValues []string) uint64

Types

type ConstCollector

type ConstCollector interface {
	Describe(ch chan<- *prometheus.Desc)
	Collect(ch chan<- prometheus.Metric)
	Type() string
	LabelNames() []string
	Name() string
	ExpireGroupMetrics(group string)
	UpdateLabels([]string)
}

type ConstCounterCollector

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

func NewConstCounterCollector

func NewConstCounterCollector(name string, labelNames []string) *ConstCounterCollector

func (*ConstCounterCollector) Add

func (c *ConstCounterCollector) Add(group string, value float64, labels map[string]string)

Add increases a counter metric by a value. Metric is identified by label values and a group.

func (*ConstCounterCollector) Collect

func (c *ConstCounterCollector) Collect(ch chan<- prometheus.Metric)

func (*ConstCounterCollector) Describe

func (c *ConstCounterCollector) Describe(ch chan<- *prometheus.Desc)

func (*ConstCounterCollector) ExpireGroupMetrics

func (c *ConstCounterCollector) ExpireGroupMetrics(group string)

ExpireGroupMetrics deletes all metrics from collection with matched group.

func (*ConstCounterCollector) LabelNames

func (c *ConstCounterCollector) LabelNames() []string

func (*ConstCounterCollector) Name

func (c *ConstCounterCollector) Name() string

func (*ConstCounterCollector) Type

func (c *ConstCounterCollector) Type() string

func (*ConstCounterCollector) UpdateLabels

func (c *ConstCounterCollector) UpdateLabels(labels []string)

UpdateLabels checks if any new labels are provided to the controller and updates its description, labelNames list and collection. The collection is recalculated in accordance with new label list.

type ConstGaugeCollector

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

func NewConstGaugeCollector

func NewConstGaugeCollector(name string, labelNames []string) *ConstGaugeCollector

func (*ConstGaugeCollector) Collect

func (c *ConstGaugeCollector) Collect(ch chan<- prometheus.Metric)

func (*ConstGaugeCollector) Describe

func (c *ConstGaugeCollector) Describe(ch chan<- *prometheus.Desc)

func (*ConstGaugeCollector) ExpireGroupMetrics

func (c *ConstGaugeCollector) ExpireGroupMetrics(group string)

ExpireGroupMetrics deletes all metrics from collection with matched group.

func (*ConstGaugeCollector) LabelNames

func (c *ConstGaugeCollector) LabelNames() []string

func (*ConstGaugeCollector) Name

func (c *ConstGaugeCollector) Name() string

func (*ConstGaugeCollector) Set

func (c *ConstGaugeCollector) Set(group string, value float64, labels map[string]string)

func (*ConstGaugeCollector) Type

func (c *ConstGaugeCollector) Type() string

func (*ConstGaugeCollector) UpdateLabels

func (c *ConstGaugeCollector) UpdateLabels(labels []string)

UpdateLabels checks if any new labels are provided to the controller and updates its description, labelNames list and collection. The collection is recalculated in accordance with new label list.

type GroupedCounterMetric

type GroupedCounterMetric struct {
	Value       uint64
	LabelValues []string
	Group       string
}

type GroupedGaugeMetric

type GroupedGaugeMetric struct {
	Value       float64
	LabelValues []string
	Group       string
}

type GroupedStorage

type GroupedStorage interface {
	Registerer() prometheus.Registerer
	ExpireGroupMetrics(group string)
	ExpireGroupMetricByName(group, name string)
	GetOrCreateCounterCollector(name string, labelNames []string) (*ConstCounterCollector, error)
	GetOrCreateGaugeCollector(name string, labelNames []string) (*ConstGaugeCollector, error)
	CounterAdd(group string, name string, value float64, labels map[string]string)
	GaugeSet(group string, name string, value float64, labels map[string]string)
}

type GroupedStorageMock

type GroupedStorageMock struct {
	CounterAddMock mGroupedStorageMockCounterAdd

	ExpireGroupMetricByNameMock mGroupedStorageMockExpireGroupMetricByName

	ExpireGroupMetricsMock mGroupedStorageMockExpireGroupMetrics

	GaugeSetMock mGroupedStorageMockGaugeSet

	GetOrCreateCounterCollectorMock mGroupedStorageMockGetOrCreateCounterCollector

	GetOrCreateGaugeCollectorMock mGroupedStorageMockGetOrCreateGaugeCollector

	RegistererMock mGroupedStorageMockRegisterer
	// contains filtered or unexported fields
}

GroupedStorageMock implements GroupedStorage

func NewGroupedStorageMock

func NewGroupedStorageMock(t minimock.Tester) *GroupedStorageMock

NewGroupedStorageMock returns a mock for GroupedStorage

func (*GroupedStorageMock) CounterAdd

func (mmCounterAdd *GroupedStorageMock) CounterAdd(group string, name string, value float64, labels map[string]string)

CounterAdd implements GroupedStorage

func (*GroupedStorageMock) CounterAddAfterCounter

func (mmCounterAdd *GroupedStorageMock) CounterAddAfterCounter() uint64

CounterAddAfterCounter returns a count of finished GroupedStorageMock.CounterAdd invocations

func (*GroupedStorageMock) CounterAddBeforeCounter

func (mmCounterAdd *GroupedStorageMock) CounterAddBeforeCounter() uint64

CounterAddBeforeCounter returns a count of GroupedStorageMock.CounterAdd invocations

func (*GroupedStorageMock) ExpireGroupMetricByName added in v1.5.0

func (mmExpireGroupMetricByName *GroupedStorageMock) ExpireGroupMetricByName(group string, name string)

ExpireGroupMetricByName implements GroupedStorage

func (*GroupedStorageMock) ExpireGroupMetricByNameAfterCounter added in v1.5.0

func (mmExpireGroupMetricByName *GroupedStorageMock) ExpireGroupMetricByNameAfterCounter() uint64

ExpireGroupMetricByNameAfterCounter returns a count of finished GroupedStorageMock.ExpireGroupMetricByName invocations

func (*GroupedStorageMock) ExpireGroupMetricByNameBeforeCounter added in v1.5.0

func (mmExpireGroupMetricByName *GroupedStorageMock) ExpireGroupMetricByNameBeforeCounter() uint64

ExpireGroupMetricByNameBeforeCounter returns a count of GroupedStorageMock.ExpireGroupMetricByName invocations

func (*GroupedStorageMock) ExpireGroupMetrics

func (mmExpireGroupMetrics *GroupedStorageMock) ExpireGroupMetrics(group string)

ExpireGroupMetrics implements GroupedStorage

func (*GroupedStorageMock) ExpireGroupMetricsAfterCounter

func (mmExpireGroupMetrics *GroupedStorageMock) ExpireGroupMetricsAfterCounter() uint64

ExpireGroupMetricsAfterCounter returns a count of finished GroupedStorageMock.ExpireGroupMetrics invocations

func (*GroupedStorageMock) ExpireGroupMetricsBeforeCounter

func (mmExpireGroupMetrics *GroupedStorageMock) ExpireGroupMetricsBeforeCounter() uint64

ExpireGroupMetricsBeforeCounter returns a count of GroupedStorageMock.ExpireGroupMetrics invocations

func (*GroupedStorageMock) GaugeSet

func (mmGaugeSet *GroupedStorageMock) GaugeSet(group string, name string, value float64, labels map[string]string)

GaugeSet implements GroupedStorage

func (*GroupedStorageMock) GaugeSetAfterCounter

func (mmGaugeSet *GroupedStorageMock) GaugeSetAfterCounter() uint64

GaugeSetAfterCounter returns a count of finished GroupedStorageMock.GaugeSet invocations

func (*GroupedStorageMock) GaugeSetBeforeCounter

func (mmGaugeSet *GroupedStorageMock) GaugeSetBeforeCounter() uint64

GaugeSetBeforeCounter returns a count of GroupedStorageMock.GaugeSet invocations

func (*GroupedStorageMock) GetOrCreateCounterCollector

func (mmGetOrCreateCounterCollector *GroupedStorageMock) GetOrCreateCounterCollector(name string, labelNames []string) (cp1 *ConstCounterCollector, err error)

GetOrCreateCounterCollector implements GroupedStorage

func (*GroupedStorageMock) GetOrCreateCounterCollectorAfterCounter

func (mmGetOrCreateCounterCollector *GroupedStorageMock) GetOrCreateCounterCollectorAfterCounter() uint64

GetOrCreateCounterCollectorAfterCounter returns a count of finished GroupedStorageMock.GetOrCreateCounterCollector invocations

func (*GroupedStorageMock) GetOrCreateCounterCollectorBeforeCounter

func (mmGetOrCreateCounterCollector *GroupedStorageMock) GetOrCreateCounterCollectorBeforeCounter() uint64

GetOrCreateCounterCollectorBeforeCounter returns a count of GroupedStorageMock.GetOrCreateCounterCollector invocations

func (*GroupedStorageMock) GetOrCreateGaugeCollector

func (mmGetOrCreateGaugeCollector *GroupedStorageMock) GetOrCreateGaugeCollector(name string, labelNames []string) (cp1 *ConstGaugeCollector, err error)

GetOrCreateGaugeCollector implements GroupedStorage

func (*GroupedStorageMock) GetOrCreateGaugeCollectorAfterCounter

func (mmGetOrCreateGaugeCollector *GroupedStorageMock) GetOrCreateGaugeCollectorAfterCounter() uint64

GetOrCreateGaugeCollectorAfterCounter returns a count of finished GroupedStorageMock.GetOrCreateGaugeCollector invocations

func (*GroupedStorageMock) GetOrCreateGaugeCollectorBeforeCounter

func (mmGetOrCreateGaugeCollector *GroupedStorageMock) GetOrCreateGaugeCollectorBeforeCounter() uint64

GetOrCreateGaugeCollectorBeforeCounter returns a count of GroupedStorageMock.GetOrCreateGaugeCollector invocations

func (*GroupedStorageMock) MinimockCounterAddDone

func (m *GroupedStorageMock) MinimockCounterAddDone() bool

MinimockCounterAddDone returns true if the count of the CounterAdd invocations corresponds the number of defined expectations

func (*GroupedStorageMock) MinimockCounterAddInspect

func (m *GroupedStorageMock) MinimockCounterAddInspect()

MinimockCounterAddInspect logs each unmet expectation

func (*GroupedStorageMock) MinimockExpireGroupMetricByNameDone added in v1.5.0

func (m *GroupedStorageMock) MinimockExpireGroupMetricByNameDone() bool

MinimockExpireGroupMetricByNameDone returns true if the count of the ExpireGroupMetricByName invocations corresponds the number of defined expectations

func (*GroupedStorageMock) MinimockExpireGroupMetricByNameInspect added in v1.5.0

func (m *GroupedStorageMock) MinimockExpireGroupMetricByNameInspect()

MinimockExpireGroupMetricByNameInspect logs each unmet expectation

func (*GroupedStorageMock) MinimockExpireGroupMetricsDone

func (m *GroupedStorageMock) MinimockExpireGroupMetricsDone() bool

MinimockExpireGroupMetricsDone returns true if the count of the ExpireGroupMetrics invocations corresponds the number of defined expectations

func (*GroupedStorageMock) MinimockExpireGroupMetricsInspect

func (m *GroupedStorageMock) MinimockExpireGroupMetricsInspect()

MinimockExpireGroupMetricsInspect logs each unmet expectation

func (*GroupedStorageMock) MinimockFinish

func (m *GroupedStorageMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*GroupedStorageMock) MinimockGaugeSetDone

func (m *GroupedStorageMock) MinimockGaugeSetDone() bool

MinimockGaugeSetDone returns true if the count of the GaugeSet invocations corresponds the number of defined expectations

func (*GroupedStorageMock) MinimockGaugeSetInspect

func (m *GroupedStorageMock) MinimockGaugeSetInspect()

MinimockGaugeSetInspect logs each unmet expectation

func (*GroupedStorageMock) MinimockGetOrCreateCounterCollectorDone

func (m *GroupedStorageMock) MinimockGetOrCreateCounterCollectorDone() bool

MinimockGetOrCreateCounterCollectorDone returns true if the count of the GetOrCreateCounterCollector invocations corresponds the number of defined expectations

func (*GroupedStorageMock) MinimockGetOrCreateCounterCollectorInspect

func (m *GroupedStorageMock) MinimockGetOrCreateCounterCollectorInspect()

MinimockGetOrCreateCounterCollectorInspect logs each unmet expectation

func (*GroupedStorageMock) MinimockGetOrCreateGaugeCollectorDone

func (m *GroupedStorageMock) MinimockGetOrCreateGaugeCollectorDone() bool

MinimockGetOrCreateGaugeCollectorDone returns true if the count of the GetOrCreateGaugeCollector invocations corresponds the number of defined expectations

func (*GroupedStorageMock) MinimockGetOrCreateGaugeCollectorInspect

func (m *GroupedStorageMock) MinimockGetOrCreateGaugeCollectorInspect()

MinimockGetOrCreateGaugeCollectorInspect logs each unmet expectation

func (*GroupedStorageMock) MinimockRegistererDone

func (m *GroupedStorageMock) MinimockRegistererDone() bool

MinimockRegistererDone returns true if the count of the Registerer invocations corresponds the number of defined expectations

func (*GroupedStorageMock) MinimockRegistererInspect

func (m *GroupedStorageMock) MinimockRegistererInspect()

MinimockRegistererInspect logs each unmet expectation

func (*GroupedStorageMock) MinimockWait

func (m *GroupedStorageMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

func (*GroupedStorageMock) Registerer

func (mmRegisterer *GroupedStorageMock) Registerer() (r1 prometheus.Registerer)

Registerer implements GroupedStorage

func (*GroupedStorageMock) RegistererAfterCounter

func (mmRegisterer *GroupedStorageMock) RegistererAfterCounter() uint64

RegistererAfterCounter returns a count of finished GroupedStorageMock.Registerer invocations

func (*GroupedStorageMock) RegistererBeforeCounter

func (mmRegisterer *GroupedStorageMock) RegistererBeforeCounter() uint64

RegistererBeforeCounter returns a count of GroupedStorageMock.Registerer invocations

type GroupedStorageMockCounterAddExpectation

type GroupedStorageMockCounterAddExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

GroupedStorageMockCounterAddExpectation specifies expectation struct of the GroupedStorage.CounterAdd

type GroupedStorageMockCounterAddExpectationOrigins

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

GroupedStorageMockCounterAddOrigins contains origins of expectations of the GroupedStorage.CounterAdd

type GroupedStorageMockCounterAddParamPtrs

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

GroupedStorageMockCounterAddParamPtrs contains pointers to parameters of the GroupedStorage.CounterAdd

type GroupedStorageMockCounterAddParams

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

GroupedStorageMockCounterAddParams contains parameters of the GroupedStorage.CounterAdd

type GroupedStorageMockExpireGroupMetricByNameExpectation added in v1.5.0

type GroupedStorageMockExpireGroupMetricByNameExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

GroupedStorageMockExpireGroupMetricByNameExpectation specifies expectation struct of the GroupedStorage.ExpireGroupMetricByName

type GroupedStorageMockExpireGroupMetricByNameExpectationOrigins added in v1.5.0

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

GroupedStorageMockExpireGroupMetricByNameOrigins contains origins of expectations of the GroupedStorage.ExpireGroupMetricByName

type GroupedStorageMockExpireGroupMetricByNameParamPtrs added in v1.5.0

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

GroupedStorageMockExpireGroupMetricByNameParamPtrs contains pointers to parameters of the GroupedStorage.ExpireGroupMetricByName

type GroupedStorageMockExpireGroupMetricByNameParams added in v1.5.0

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

GroupedStorageMockExpireGroupMetricByNameParams contains parameters of the GroupedStorage.ExpireGroupMetricByName

type GroupedStorageMockExpireGroupMetricsExpectation

type GroupedStorageMockExpireGroupMetricsExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

GroupedStorageMockExpireGroupMetricsExpectation specifies expectation struct of the GroupedStorage.ExpireGroupMetrics

type GroupedStorageMockExpireGroupMetricsExpectationOrigins

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

GroupedStorageMockExpireGroupMetricsOrigins contains origins of expectations of the GroupedStorage.ExpireGroupMetrics

type GroupedStorageMockExpireGroupMetricsParamPtrs

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

GroupedStorageMockExpireGroupMetricsParamPtrs contains pointers to parameters of the GroupedStorage.ExpireGroupMetrics

type GroupedStorageMockExpireGroupMetricsParams

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

GroupedStorageMockExpireGroupMetricsParams contains parameters of the GroupedStorage.ExpireGroupMetrics

type GroupedStorageMockGaugeSetExpectation

type GroupedStorageMockGaugeSetExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

GroupedStorageMockGaugeSetExpectation specifies expectation struct of the GroupedStorage.GaugeSet

type GroupedStorageMockGaugeSetExpectationOrigins

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

GroupedStorageMockGaugeSetOrigins contains origins of expectations of the GroupedStorage.GaugeSet

type GroupedStorageMockGaugeSetParamPtrs

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

GroupedStorageMockGaugeSetParamPtrs contains pointers to parameters of the GroupedStorage.GaugeSet

type GroupedStorageMockGaugeSetParams

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

GroupedStorageMockGaugeSetParams contains parameters of the GroupedStorage.GaugeSet

type GroupedStorageMockGetOrCreateCounterCollectorExpectation

type GroupedStorageMockGetOrCreateCounterCollectorExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

GroupedStorageMockGetOrCreateCounterCollectorExpectation specifies expectation struct of the GroupedStorage.GetOrCreateCounterCollector

func (*GroupedStorageMockGetOrCreateCounterCollectorExpectation) Then

Then sets up GroupedStorage.GetOrCreateCounterCollector return parameters for the expectation previously defined by the When method

type GroupedStorageMockGetOrCreateCounterCollectorExpectationOrigins

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

GroupedStorageMockGetOrCreateCounterCollectorOrigins contains origins of expectations of the GroupedStorage.GetOrCreateCounterCollector

type GroupedStorageMockGetOrCreateCounterCollectorParamPtrs

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

GroupedStorageMockGetOrCreateCounterCollectorParamPtrs contains pointers to parameters of the GroupedStorage.GetOrCreateCounterCollector

type GroupedStorageMockGetOrCreateCounterCollectorParams

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

GroupedStorageMockGetOrCreateCounterCollectorParams contains parameters of the GroupedStorage.GetOrCreateCounterCollector

type GroupedStorageMockGetOrCreateCounterCollectorResults

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

GroupedStorageMockGetOrCreateCounterCollectorResults contains results of the GroupedStorage.GetOrCreateCounterCollector

type GroupedStorageMockGetOrCreateGaugeCollectorExpectation

type GroupedStorageMockGetOrCreateGaugeCollectorExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

GroupedStorageMockGetOrCreateGaugeCollectorExpectation specifies expectation struct of the GroupedStorage.GetOrCreateGaugeCollector

func (*GroupedStorageMockGetOrCreateGaugeCollectorExpectation) Then

Then sets up GroupedStorage.GetOrCreateGaugeCollector return parameters for the expectation previously defined by the When method

type GroupedStorageMockGetOrCreateGaugeCollectorExpectationOrigins

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

GroupedStorageMockGetOrCreateGaugeCollectorOrigins contains origins of expectations of the GroupedStorage.GetOrCreateGaugeCollector

type GroupedStorageMockGetOrCreateGaugeCollectorParamPtrs

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

GroupedStorageMockGetOrCreateGaugeCollectorParamPtrs contains pointers to parameters of the GroupedStorage.GetOrCreateGaugeCollector

type GroupedStorageMockGetOrCreateGaugeCollectorParams

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

GroupedStorageMockGetOrCreateGaugeCollectorParams contains parameters of the GroupedStorage.GetOrCreateGaugeCollector

type GroupedStorageMockGetOrCreateGaugeCollectorResults

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

GroupedStorageMockGetOrCreateGaugeCollectorResults contains results of the GroupedStorage.GetOrCreateGaugeCollector

type GroupedStorageMockRegistererExpectation

type GroupedStorageMockRegistererExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

GroupedStorageMockRegistererExpectation specifies expectation struct of the GroupedStorage.Registerer

type GroupedStorageMockRegistererResults

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

GroupedStorageMockRegistererResults contains results of the GroupedStorage.Registerer

type Storage

type Storage interface {
	GaugeSet(metric string, value float64, labels map[string]string)
	GaugeAdd(metric string, value float64, labels map[string]string)
	Gauge(metric string, labels map[string]string) *prometheus.GaugeVec
	RegisterGauge(metric string, labels map[string]string) *prometheus.GaugeVec

	CounterAdd(metric string, value float64, labels map[string]string)
	Counter(metric string, labels map[string]string) *prometheus.CounterVec
	RegisterCounter(metric string, labels map[string]string) *prometheus.CounterVec

	HistogramObserve(metric string, value float64, labels map[string]string, buckets []float64)
	Histogram(metric string, labels map[string]string, buckets []float64) *prometheus.HistogramVec
	RegisterHistogram(metric string, labels map[string]string, buckets []float64) *prometheus.HistogramVec

	SendBatch(ops []operation.MetricOperation, labels map[string]string) error
	ApplyOperation(op operation.MetricOperation, commonLabels map[string]string)

	Grouped() GroupedStorage
}

type StorageMock

type StorageMock struct {
	ApplyOperationMock mStorageMockApplyOperation

	CounterMock mStorageMockCounter

	CounterAddMock mStorageMockCounterAdd

	GaugeMock mStorageMockGauge

	GaugeAddMock mStorageMockGaugeAdd

	GaugeSetMock mStorageMockGaugeSet

	GroupedMock mStorageMockGrouped

	HistogramMock mStorageMockHistogram

	HistogramObserveMock mStorageMockHistogramObserve

	RegisterCounterMock mStorageMockRegisterCounter

	RegisterGaugeMock mStorageMockRegisterGauge

	RegisterHistogramMock mStorageMockRegisterHistogram

	SendBatchMock mStorageMockSendBatch
	// contains filtered or unexported fields
}

StorageMock implements Storage

func NewStorageMock

func NewStorageMock(t minimock.Tester) *StorageMock

NewStorageMock returns a mock for Storage

func (*StorageMock) ApplyOperation

func (mmApplyOperation *StorageMock) ApplyOperation(op operation.MetricOperation, commonLabels map[string]string)

ApplyOperation implements Storage

func (*StorageMock) ApplyOperationAfterCounter

func (mmApplyOperation *StorageMock) ApplyOperationAfterCounter() uint64

ApplyOperationAfterCounter returns a count of finished StorageMock.ApplyOperation invocations

func (*StorageMock) ApplyOperationBeforeCounter

func (mmApplyOperation *StorageMock) ApplyOperationBeforeCounter() uint64

ApplyOperationBeforeCounter returns a count of StorageMock.ApplyOperation invocations

func (*StorageMock) Counter

func (mmCounter *StorageMock) Counter(metric string, labels map[string]string) (cp1 *prometheus.CounterVec)

Counter implements Storage

func (*StorageMock) CounterAdd

func (mmCounterAdd *StorageMock) CounterAdd(metric string, value float64, labels map[string]string)

CounterAdd implements Storage

func (*StorageMock) CounterAddAfterCounter

func (mmCounterAdd *StorageMock) CounterAddAfterCounter() uint64

CounterAddAfterCounter returns a count of finished StorageMock.CounterAdd invocations

func (*StorageMock) CounterAddBeforeCounter

func (mmCounterAdd *StorageMock) CounterAddBeforeCounter() uint64

CounterAddBeforeCounter returns a count of StorageMock.CounterAdd invocations

func (*StorageMock) CounterAfterCounter

func (mmCounter *StorageMock) CounterAfterCounter() uint64

CounterAfterCounter returns a count of finished StorageMock.Counter invocations

func (*StorageMock) CounterBeforeCounter

func (mmCounter *StorageMock) CounterBeforeCounter() uint64

CounterBeforeCounter returns a count of StorageMock.Counter invocations

func (*StorageMock) Gauge

func (mmGauge *StorageMock) Gauge(metric string, labels map[string]string) (gp1 *prometheus.GaugeVec)

Gauge implements Storage

func (*StorageMock) GaugeAdd

func (mmGaugeAdd *StorageMock) GaugeAdd(metric string, value float64, labels map[string]string)

GaugeAdd implements Storage

func (*StorageMock) GaugeAddAfterCounter

func (mmGaugeAdd *StorageMock) GaugeAddAfterCounter() uint64

GaugeAddAfterCounter returns a count of finished StorageMock.GaugeAdd invocations

func (*StorageMock) GaugeAddBeforeCounter

func (mmGaugeAdd *StorageMock) GaugeAddBeforeCounter() uint64

GaugeAddBeforeCounter returns a count of StorageMock.GaugeAdd invocations

func (*StorageMock) GaugeAfterCounter

func (mmGauge *StorageMock) GaugeAfterCounter() uint64

GaugeAfterCounter returns a count of finished StorageMock.Gauge invocations

func (*StorageMock) GaugeBeforeCounter

func (mmGauge *StorageMock) GaugeBeforeCounter() uint64

GaugeBeforeCounter returns a count of StorageMock.Gauge invocations

func (*StorageMock) GaugeSet

func (mmGaugeSet *StorageMock) GaugeSet(metric string, value float64, labels map[string]string)

GaugeSet implements Storage

func (*StorageMock) GaugeSetAfterCounter

func (mmGaugeSet *StorageMock) GaugeSetAfterCounter() uint64

GaugeSetAfterCounter returns a count of finished StorageMock.GaugeSet invocations

func (*StorageMock) GaugeSetBeforeCounter

func (mmGaugeSet *StorageMock) GaugeSetBeforeCounter() uint64

GaugeSetBeforeCounter returns a count of StorageMock.GaugeSet invocations

func (*StorageMock) Grouped

func (mmGrouped *StorageMock) Grouped() (g1 GroupedStorage)

Grouped implements Storage

func (*StorageMock) GroupedAfterCounter

func (mmGrouped *StorageMock) GroupedAfterCounter() uint64

GroupedAfterCounter returns a count of finished StorageMock.Grouped invocations

func (*StorageMock) GroupedBeforeCounter

func (mmGrouped *StorageMock) GroupedBeforeCounter() uint64

GroupedBeforeCounter returns a count of StorageMock.Grouped invocations

func (*StorageMock) Histogram

func (mmHistogram *StorageMock) Histogram(metric string, labels map[string]string, buckets []float64) (hp1 *prometheus.HistogramVec)

Histogram implements Storage

func (*StorageMock) HistogramAfterCounter

func (mmHistogram *StorageMock) HistogramAfterCounter() uint64

HistogramAfterCounter returns a count of finished StorageMock.Histogram invocations

func (*StorageMock) HistogramBeforeCounter

func (mmHistogram *StorageMock) HistogramBeforeCounter() uint64

HistogramBeforeCounter returns a count of StorageMock.Histogram invocations

func (*StorageMock) HistogramObserve

func (mmHistogramObserve *StorageMock) HistogramObserve(metric string, value float64, labels map[string]string, buckets []float64)

HistogramObserve implements Storage

func (*StorageMock) HistogramObserveAfterCounter

func (mmHistogramObserve *StorageMock) HistogramObserveAfterCounter() uint64

HistogramObserveAfterCounter returns a count of finished StorageMock.HistogramObserve invocations

func (*StorageMock) HistogramObserveBeforeCounter

func (mmHistogramObserve *StorageMock) HistogramObserveBeforeCounter() uint64

HistogramObserveBeforeCounter returns a count of StorageMock.HistogramObserve invocations

func (*StorageMock) MinimockApplyOperationDone

func (m *StorageMock) MinimockApplyOperationDone() bool

MinimockApplyOperationDone returns true if the count of the ApplyOperation invocations corresponds the number of defined expectations

func (*StorageMock) MinimockApplyOperationInspect

func (m *StorageMock) MinimockApplyOperationInspect()

MinimockApplyOperationInspect logs each unmet expectation

func (*StorageMock) MinimockCounterAddDone

func (m *StorageMock) MinimockCounterAddDone() bool

MinimockCounterAddDone returns true if the count of the CounterAdd invocations corresponds the number of defined expectations

func (*StorageMock) MinimockCounterAddInspect

func (m *StorageMock) MinimockCounterAddInspect()

MinimockCounterAddInspect logs each unmet expectation

func (*StorageMock) MinimockCounterDone

func (m *StorageMock) MinimockCounterDone() bool

MinimockCounterDone returns true if the count of the Counter invocations corresponds the number of defined expectations

func (*StorageMock) MinimockCounterInspect

func (m *StorageMock) MinimockCounterInspect()

MinimockCounterInspect logs each unmet expectation

func (*StorageMock) MinimockFinish

func (m *StorageMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*StorageMock) MinimockGaugeAddDone

func (m *StorageMock) MinimockGaugeAddDone() bool

MinimockGaugeAddDone returns true if the count of the GaugeAdd invocations corresponds the number of defined expectations

func (*StorageMock) MinimockGaugeAddInspect

func (m *StorageMock) MinimockGaugeAddInspect()

MinimockGaugeAddInspect logs each unmet expectation

func (*StorageMock) MinimockGaugeDone

func (m *StorageMock) MinimockGaugeDone() bool

MinimockGaugeDone returns true if the count of the Gauge invocations corresponds the number of defined expectations

func (*StorageMock) MinimockGaugeInspect

func (m *StorageMock) MinimockGaugeInspect()

MinimockGaugeInspect logs each unmet expectation

func (*StorageMock) MinimockGaugeSetDone

func (m *StorageMock) MinimockGaugeSetDone() bool

MinimockGaugeSetDone returns true if the count of the GaugeSet invocations corresponds the number of defined expectations

func (*StorageMock) MinimockGaugeSetInspect

func (m *StorageMock) MinimockGaugeSetInspect()

MinimockGaugeSetInspect logs each unmet expectation

func (*StorageMock) MinimockGroupedDone

func (m *StorageMock) MinimockGroupedDone() bool

MinimockGroupedDone returns true if the count of the Grouped invocations corresponds the number of defined expectations

func (*StorageMock) MinimockGroupedInspect

func (m *StorageMock) MinimockGroupedInspect()

MinimockGroupedInspect logs each unmet expectation

func (*StorageMock) MinimockHistogramDone

func (m *StorageMock) MinimockHistogramDone() bool

MinimockHistogramDone returns true if the count of the Histogram invocations corresponds the number of defined expectations

func (*StorageMock) MinimockHistogramInspect

func (m *StorageMock) MinimockHistogramInspect()

MinimockHistogramInspect logs each unmet expectation

func (*StorageMock) MinimockHistogramObserveDone

func (m *StorageMock) MinimockHistogramObserveDone() bool

MinimockHistogramObserveDone returns true if the count of the HistogramObserve invocations corresponds the number of defined expectations

func (*StorageMock) MinimockHistogramObserveInspect

func (m *StorageMock) MinimockHistogramObserveInspect()

MinimockHistogramObserveInspect logs each unmet expectation

func (*StorageMock) MinimockRegisterCounterDone

func (m *StorageMock) MinimockRegisterCounterDone() bool

MinimockRegisterCounterDone returns true if the count of the RegisterCounter invocations corresponds the number of defined expectations

func (*StorageMock) MinimockRegisterCounterInspect

func (m *StorageMock) MinimockRegisterCounterInspect()

MinimockRegisterCounterInspect logs each unmet expectation

func (*StorageMock) MinimockRegisterGaugeDone

func (m *StorageMock) MinimockRegisterGaugeDone() bool

MinimockRegisterGaugeDone returns true if the count of the RegisterGauge invocations corresponds the number of defined expectations

func (*StorageMock) MinimockRegisterGaugeInspect

func (m *StorageMock) MinimockRegisterGaugeInspect()

MinimockRegisterGaugeInspect logs each unmet expectation

func (*StorageMock) MinimockRegisterHistogramDone

func (m *StorageMock) MinimockRegisterHistogramDone() bool

MinimockRegisterHistogramDone returns true if the count of the RegisterHistogram invocations corresponds the number of defined expectations

func (*StorageMock) MinimockRegisterHistogramInspect

func (m *StorageMock) MinimockRegisterHistogramInspect()

MinimockRegisterHistogramInspect logs each unmet expectation

func (*StorageMock) MinimockSendBatchDone

func (m *StorageMock) MinimockSendBatchDone() bool

MinimockSendBatchDone returns true if the count of the SendBatch invocations corresponds the number of defined expectations

func (*StorageMock) MinimockSendBatchInspect

func (m *StorageMock) MinimockSendBatchInspect()

MinimockSendBatchInspect logs each unmet expectation

func (*StorageMock) MinimockWait

func (m *StorageMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

func (*StorageMock) RegisterCounter

func (mmRegisterCounter *StorageMock) RegisterCounter(metric string, labels map[string]string) (cp1 *prometheus.CounterVec)

RegisterCounter implements Storage

func (*StorageMock) RegisterCounterAfterCounter

func (mmRegisterCounter *StorageMock) RegisterCounterAfterCounter() uint64

RegisterCounterAfterCounter returns a count of finished StorageMock.RegisterCounter invocations

func (*StorageMock) RegisterCounterBeforeCounter

func (mmRegisterCounter *StorageMock) RegisterCounterBeforeCounter() uint64

RegisterCounterBeforeCounter returns a count of StorageMock.RegisterCounter invocations

func (*StorageMock) RegisterGauge

func (mmRegisterGauge *StorageMock) RegisterGauge(metric string, labels map[string]string) (gp1 *prometheus.GaugeVec)

RegisterGauge implements Storage

func (*StorageMock) RegisterGaugeAfterCounter

func (mmRegisterGauge *StorageMock) RegisterGaugeAfterCounter() uint64

RegisterGaugeAfterCounter returns a count of finished StorageMock.RegisterGauge invocations

func (*StorageMock) RegisterGaugeBeforeCounter

func (mmRegisterGauge *StorageMock) RegisterGaugeBeforeCounter() uint64

RegisterGaugeBeforeCounter returns a count of StorageMock.RegisterGauge invocations

func (*StorageMock) RegisterHistogram

func (mmRegisterHistogram *StorageMock) RegisterHistogram(metric string, labels map[string]string, buckets []float64) (hp1 *prometheus.HistogramVec)

RegisterHistogram implements Storage

func (*StorageMock) RegisterHistogramAfterCounter

func (mmRegisterHistogram *StorageMock) RegisterHistogramAfterCounter() uint64

RegisterHistogramAfterCounter returns a count of finished StorageMock.RegisterHistogram invocations

func (*StorageMock) RegisterHistogramBeforeCounter

func (mmRegisterHistogram *StorageMock) RegisterHistogramBeforeCounter() uint64

RegisterHistogramBeforeCounter returns a count of StorageMock.RegisterHistogram invocations

func (*StorageMock) SendBatch

func (mmSendBatch *StorageMock) SendBatch(ops []operation.MetricOperation, labels map[string]string) (err error)

SendBatch implements Storage

func (*StorageMock) SendBatchAfterCounter

func (mmSendBatch *StorageMock) SendBatchAfterCounter() uint64

SendBatchAfterCounter returns a count of finished StorageMock.SendBatch invocations

func (*StorageMock) SendBatchBeforeCounter

func (mmSendBatch *StorageMock) SendBatchBeforeCounter() uint64

SendBatchBeforeCounter returns a count of StorageMock.SendBatch invocations

type StorageMockApplyOperationExpectation

type StorageMockApplyOperationExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

StorageMockApplyOperationExpectation specifies expectation struct of the Storage.ApplyOperation

type StorageMockApplyOperationExpectationOrigins

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

StorageMockApplyOperationOrigins contains origins of expectations of the Storage.ApplyOperation

type StorageMockApplyOperationParamPtrs

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

StorageMockApplyOperationParamPtrs contains pointers to parameters of the Storage.ApplyOperation

type StorageMockApplyOperationParams

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

StorageMockApplyOperationParams contains parameters of the Storage.ApplyOperation

type StorageMockCounterAddExpectation

type StorageMockCounterAddExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

StorageMockCounterAddExpectation specifies expectation struct of the Storage.CounterAdd

type StorageMockCounterAddExpectationOrigins

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

StorageMockCounterAddOrigins contains origins of expectations of the Storage.CounterAdd

type StorageMockCounterAddParamPtrs

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

StorageMockCounterAddParamPtrs contains pointers to parameters of the Storage.CounterAdd

type StorageMockCounterAddParams

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

StorageMockCounterAddParams contains parameters of the Storage.CounterAdd

type StorageMockCounterExpectation

type StorageMockCounterExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

StorageMockCounterExpectation specifies expectation struct of the Storage.Counter

func (*StorageMockCounterExpectation) Then

Then sets up Storage.Counter return parameters for the expectation previously defined by the When method

type StorageMockCounterExpectationOrigins

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

StorageMockCounterOrigins contains origins of expectations of the Storage.Counter

type StorageMockCounterParamPtrs

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

StorageMockCounterParamPtrs contains pointers to parameters of the Storage.Counter

type StorageMockCounterParams

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

StorageMockCounterParams contains parameters of the Storage.Counter

type StorageMockCounterResults

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

StorageMockCounterResults contains results of the Storage.Counter

type StorageMockGaugeAddExpectation

type StorageMockGaugeAddExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

StorageMockGaugeAddExpectation specifies expectation struct of the Storage.GaugeAdd

type StorageMockGaugeAddExpectationOrigins

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

StorageMockGaugeAddOrigins contains origins of expectations of the Storage.GaugeAdd

type StorageMockGaugeAddParamPtrs

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

StorageMockGaugeAddParamPtrs contains pointers to parameters of the Storage.GaugeAdd

type StorageMockGaugeAddParams

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

StorageMockGaugeAddParams contains parameters of the Storage.GaugeAdd

type StorageMockGaugeExpectation

type StorageMockGaugeExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

StorageMockGaugeExpectation specifies expectation struct of the Storage.Gauge

func (*StorageMockGaugeExpectation) Then

Then sets up Storage.Gauge return parameters for the expectation previously defined by the When method

type StorageMockGaugeExpectationOrigins

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

StorageMockGaugeOrigins contains origins of expectations of the Storage.Gauge

type StorageMockGaugeParamPtrs

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

StorageMockGaugeParamPtrs contains pointers to parameters of the Storage.Gauge

type StorageMockGaugeParams

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

StorageMockGaugeParams contains parameters of the Storage.Gauge

type StorageMockGaugeResults

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

StorageMockGaugeResults contains results of the Storage.Gauge

type StorageMockGaugeSetExpectation

type StorageMockGaugeSetExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

StorageMockGaugeSetExpectation specifies expectation struct of the Storage.GaugeSet

type StorageMockGaugeSetExpectationOrigins

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

StorageMockGaugeSetOrigins contains origins of expectations of the Storage.GaugeSet

type StorageMockGaugeSetParamPtrs

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

StorageMockGaugeSetParamPtrs contains pointers to parameters of the Storage.GaugeSet

type StorageMockGaugeSetParams

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

StorageMockGaugeSetParams contains parameters of the Storage.GaugeSet

type StorageMockGroupedExpectation

type StorageMockGroupedExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

StorageMockGroupedExpectation specifies expectation struct of the Storage.Grouped

type StorageMockGroupedResults

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

StorageMockGroupedResults contains results of the Storage.Grouped

type StorageMockHistogramExpectation

type StorageMockHistogramExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

StorageMockHistogramExpectation specifies expectation struct of the Storage.Histogram

func (*StorageMockHistogramExpectation) Then

Then sets up Storage.Histogram return parameters for the expectation previously defined by the When method

type StorageMockHistogramExpectationOrigins

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

StorageMockHistogramOrigins contains origins of expectations of the Storage.Histogram

type StorageMockHistogramObserveExpectation

type StorageMockHistogramObserveExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

StorageMockHistogramObserveExpectation specifies expectation struct of the Storage.HistogramObserve

type StorageMockHistogramObserveExpectationOrigins

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

StorageMockHistogramObserveOrigins contains origins of expectations of the Storage.HistogramObserve

type StorageMockHistogramObserveParamPtrs

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

StorageMockHistogramObserveParamPtrs contains pointers to parameters of the Storage.HistogramObserve

type StorageMockHistogramObserveParams

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

StorageMockHistogramObserveParams contains parameters of the Storage.HistogramObserve

type StorageMockHistogramParamPtrs

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

StorageMockHistogramParamPtrs contains pointers to parameters of the Storage.Histogram

type StorageMockHistogramParams

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

StorageMockHistogramParams contains parameters of the Storage.Histogram

type StorageMockHistogramResults

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

StorageMockHistogramResults contains results of the Storage.Histogram

type StorageMockRegisterCounterExpectation

type StorageMockRegisterCounterExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

StorageMockRegisterCounterExpectation specifies expectation struct of the Storage.RegisterCounter

func (*StorageMockRegisterCounterExpectation) Then

Then sets up Storage.RegisterCounter return parameters for the expectation previously defined by the When method

type StorageMockRegisterCounterExpectationOrigins

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

StorageMockRegisterCounterOrigins contains origins of expectations of the Storage.RegisterCounter

type StorageMockRegisterCounterParamPtrs

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

StorageMockRegisterCounterParamPtrs contains pointers to parameters of the Storage.RegisterCounter

type StorageMockRegisterCounterParams

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

StorageMockRegisterCounterParams contains parameters of the Storage.RegisterCounter

type StorageMockRegisterCounterResults

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

StorageMockRegisterCounterResults contains results of the Storage.RegisterCounter

type StorageMockRegisterGaugeExpectation

type StorageMockRegisterGaugeExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

StorageMockRegisterGaugeExpectation specifies expectation struct of the Storage.RegisterGauge

func (*StorageMockRegisterGaugeExpectation) Then

Then sets up Storage.RegisterGauge return parameters for the expectation previously defined by the When method

type StorageMockRegisterGaugeExpectationOrigins

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

StorageMockRegisterGaugeOrigins contains origins of expectations of the Storage.RegisterGauge

type StorageMockRegisterGaugeParamPtrs

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

StorageMockRegisterGaugeParamPtrs contains pointers to parameters of the Storage.RegisterGauge

type StorageMockRegisterGaugeParams

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

StorageMockRegisterGaugeParams contains parameters of the Storage.RegisterGauge

type StorageMockRegisterGaugeResults

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

StorageMockRegisterGaugeResults contains results of the Storage.RegisterGauge

type StorageMockRegisterHistogramExpectation

type StorageMockRegisterHistogramExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

StorageMockRegisterHistogramExpectation specifies expectation struct of the Storage.RegisterHistogram

func (*StorageMockRegisterHistogramExpectation) Then

Then sets up Storage.RegisterHistogram return parameters for the expectation previously defined by the When method

type StorageMockRegisterHistogramExpectationOrigins

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

StorageMockRegisterHistogramOrigins contains origins of expectations of the Storage.RegisterHistogram

type StorageMockRegisterHistogramParamPtrs

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

StorageMockRegisterHistogramParamPtrs contains pointers to parameters of the Storage.RegisterHistogram

type StorageMockRegisterHistogramParams

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

StorageMockRegisterHistogramParams contains parameters of the Storage.RegisterHistogram

type StorageMockRegisterHistogramResults

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

StorageMockRegisterHistogramResults contains results of the Storage.RegisterHistogram

type StorageMockSendBatchExpectation

type StorageMockSendBatchExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

StorageMockSendBatchExpectation specifies expectation struct of the Storage.SendBatch

func (*StorageMockSendBatchExpectation) Then

Then sets up Storage.SendBatch return parameters for the expectation previously defined by the When method

type StorageMockSendBatchExpectationOrigins

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

StorageMockSendBatchOrigins contains origins of expectations of the Storage.SendBatch

type StorageMockSendBatchParamPtrs

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

StorageMockSendBatchParamPtrs contains pointers to parameters of the Storage.SendBatch

type StorageMockSendBatchParams

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

StorageMockSendBatchParams contains parameters of the Storage.SendBatch

type StorageMockSendBatchResults

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

StorageMockSendBatchResults contains results of the Storage.SendBatch

Jump to

Keyboard shortcuts

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