Documentation ¶
Overview ¶
Package mock_monitor is a generated GoMock package.
Package mock_monitor is a generated GoMock package.
Index ¶
- type MockBrickMetric
- type MockBrickMetricMockRecorder
- type MockBricksCounter
- type MockBricksCounterMockRecorder
- type MockBricksGauge
- type MockBricksGaugeMockRecorder
- type MockBricksHistogram
- type MockBricksHistogramMockRecorder
- type MockBricksMetrics
- func (m *MockBricksMetrics) Counter(name, desc string, tagKeys ...string) (monitor.BricksCounter, error)
- func (m *MockBricksMetrics) EXPECT() *MockBricksMetricsMockRecorder
- func (m *MockBricksMetrics) Gauge(name, desc string, tagKeys ...string) (monitor.BricksGauge, error)
- func (m *MockBricksMetrics) Histogram(name, desc string, buckets []float64, tagKeys ...string) (monitor.BricksHistogram, error)
- func (m *MockBricksMetrics) Remove(metric monitor.BrickMetric) error
- func (m *MockBricksMetrics) Timer(name, desc string, tagKeys ...string) (monitor.BricksTimer, error)
- type MockBricksMetricsMockRecorder
- func (mr *MockBricksMetricsMockRecorder) Counter(name, desc interface{}, tagKeys ...interface{}) *gomock.Call
- func (mr *MockBricksMetricsMockRecorder) Gauge(name, desc interface{}, tagKeys ...interface{}) *gomock.Call
- func (mr *MockBricksMetricsMockRecorder) Histogram(name, desc, buckets interface{}, tagKeys ...interface{}) *gomock.Call
- func (mr *MockBricksMetricsMockRecorder) Remove(metric interface{}) *gomock.Call
- func (mr *MockBricksMetricsMockRecorder) Timer(name, desc interface{}, tagKeys ...interface{}) *gomock.Call
- type MockBricksReporter
- type MockBricksReporterMockRecorder
- type MockBricksTimer
- type MockBricksTimerMockRecorder
- type MockBuilder
- type MockBuilderMockRecorder
- type MockCounter
- type MockCounterMockRecorder
- type MockGauge
- type MockGaugeMockRecorder
- type MockHistogram
- type MockHistogramMockRecorder
- type MockMetrics
- func (m *MockMetrics) Counter(name, desc string) monitor.TagsAwareCounter
- func (m *MockMetrics) EXPECT() *MockMetricsMockRecorder
- func (m *MockMetrics) Gauge(name, desc string) monitor.TagsAwareGauge
- func (m *MockMetrics) Histogram(name, desc string, buckets monitor.Buckets) monitor.TagsAwareHistogram
- func (m *MockMetrics) Timer(name, desc string) monitor.TagsAwareTimer
- func (m *MockMetrics) WithTags(tags monitor.Tags) monitor.Metrics
- type MockMetricsMockRecorder
- func (mr *MockMetricsMockRecorder) Counter(name, desc interface{}) *gomock.Call
- func (mr *MockMetricsMockRecorder) Gauge(name, desc interface{}) *gomock.Call
- func (mr *MockMetricsMockRecorder) Histogram(name, desc, buckets interface{}) *gomock.Call
- func (mr *MockMetricsMockRecorder) Timer(name, desc interface{}) *gomock.Call
- func (mr *MockMetricsMockRecorder) WithTags(tags interface{}) *gomock.Call
- type MockReporter
- type MockReporterMockRecorder
- type MockTagsAwareCounter
- func (m *MockTagsAwareCounter) Add(v float64)
- func (m *MockTagsAwareCounter) EXPECT() *MockTagsAwareCounterMockRecorder
- func (m *MockTagsAwareCounter) Inc()
- func (m *MockTagsAwareCounter) WithContext(ctx context.Context) monitor.TagsAwareCounter
- func (m *MockTagsAwareCounter) WithTags(tags monitor.Tags) monitor.TagsAwareCounter
- type MockTagsAwareCounterMockRecorder
- func (mr *MockTagsAwareCounterMockRecorder) Add(v interface{}) *gomock.Call
- func (mr *MockTagsAwareCounterMockRecorder) Inc() *gomock.Call
- func (mr *MockTagsAwareCounterMockRecorder) WithContext(ctx interface{}) *gomock.Call
- func (mr *MockTagsAwareCounterMockRecorder) WithTags(tags interface{}) *gomock.Call
- type MockTagsAwareGauge
- func (m *MockTagsAwareGauge) Add(v float64)
- func (m *MockTagsAwareGauge) Dec()
- func (m *MockTagsAwareGauge) EXPECT() *MockTagsAwareGaugeMockRecorder
- func (m *MockTagsAwareGauge) Inc()
- func (m *MockTagsAwareGauge) Set(v float64)
- func (m *MockTagsAwareGauge) WithContext(ctx context.Context) monitor.TagsAwareGauge
- func (m *MockTagsAwareGauge) WithTags(tags monitor.Tags) monitor.TagsAwareGauge
- type MockTagsAwareGaugeMockRecorder
- func (mr *MockTagsAwareGaugeMockRecorder) Add(v interface{}) *gomock.Call
- func (mr *MockTagsAwareGaugeMockRecorder) Dec() *gomock.Call
- func (mr *MockTagsAwareGaugeMockRecorder) Inc() *gomock.Call
- func (mr *MockTagsAwareGaugeMockRecorder) Set(v interface{}) *gomock.Call
- func (mr *MockTagsAwareGaugeMockRecorder) WithContext(ctx interface{}) *gomock.Call
- func (mr *MockTagsAwareGaugeMockRecorder) WithTags(tags interface{}) *gomock.Call
- type MockTagsAwareHistogram
- func (m *MockTagsAwareHistogram) EXPECT() *MockTagsAwareHistogramMockRecorder
- func (m *MockTagsAwareHistogram) Record(v float64)
- func (m *MockTagsAwareHistogram) WithContext(ctx context.Context) monitor.TagsAwareHistogram
- func (m *MockTagsAwareHistogram) WithTags(tags monitor.Tags) monitor.TagsAwareHistogram
- type MockTagsAwareHistogramMockRecorder
- type MockTagsAwareTimer
- type MockTagsAwareTimerMockRecorder
- type MockTimer
- type MockTimerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBrickMetric ¶
type MockBrickMetric struct {
// contains filtered or unexported fields
}
MockBrickMetric is a mock of BrickMetric interface.
func NewMockBrickMetric ¶
func NewMockBrickMetric(ctrl *gomock.Controller) *MockBrickMetric
NewMockBrickMetric creates a new mock instance.
func (*MockBrickMetric) EXPECT ¶
func (m *MockBrickMetric) EXPECT() *MockBrickMetricMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBrickMetricMockRecorder ¶
type MockBrickMetricMockRecorder struct {
// contains filtered or unexported fields
}
MockBrickMetricMockRecorder is the mock recorder for MockBrickMetric.
type MockBricksCounter ¶
type MockBricksCounter struct {
// contains filtered or unexported fields
}
MockBricksCounter is a mock of BricksCounter interface.
func NewMockBricksCounter ¶
func NewMockBricksCounter(ctrl *gomock.Controller) *MockBricksCounter
NewMockBricksCounter creates a new mock instance.
func (*MockBricksCounter) EXPECT ¶
func (m *MockBricksCounter) EXPECT() *MockBricksCounterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBricksCounterMockRecorder ¶
type MockBricksCounterMockRecorder struct {
// contains filtered or unexported fields
}
MockBricksCounterMockRecorder is the mock recorder for MockBricksCounter.
func (*MockBricksCounterMockRecorder) WithTags ¶
func (mr *MockBricksCounterMockRecorder) WithTags(tags interface{}) *gomock.Call
WithTags indicates an expected call of WithTags.
type MockBricksGauge ¶
type MockBricksGauge struct {
// contains filtered or unexported fields
}
MockBricksGauge is a mock of BricksGauge interface.
func NewMockBricksGauge ¶
func NewMockBricksGauge(ctrl *gomock.Controller) *MockBricksGauge
NewMockBricksGauge creates a new mock instance.
func (*MockBricksGauge) EXPECT ¶
func (m *MockBricksGauge) EXPECT() *MockBricksGaugeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBricksGaugeMockRecorder ¶
type MockBricksGaugeMockRecorder struct {
// contains filtered or unexported fields
}
MockBricksGaugeMockRecorder is the mock recorder for MockBricksGauge.
func (*MockBricksGaugeMockRecorder) WithTags ¶
func (mr *MockBricksGaugeMockRecorder) WithTags(tags interface{}) *gomock.Call
WithTags indicates an expected call of WithTags.
type MockBricksHistogram ¶
type MockBricksHistogram struct {
// contains filtered or unexported fields
}
MockBricksHistogram is a mock of BricksHistogram interface.
func NewMockBricksHistogram ¶
func NewMockBricksHistogram(ctrl *gomock.Controller) *MockBricksHistogram
NewMockBricksHistogram creates a new mock instance.
func (*MockBricksHistogram) EXPECT ¶
func (m *MockBricksHistogram) EXPECT() *MockBricksHistogramMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBricksHistogramMockRecorder ¶
type MockBricksHistogramMockRecorder struct {
// contains filtered or unexported fields
}
MockBricksHistogramMockRecorder is the mock recorder for MockBricksHistogram.
func (*MockBricksHistogramMockRecorder) WithTags ¶
func (mr *MockBricksHistogramMockRecorder) WithTags(tags interface{}) *gomock.Call
WithTags indicates an expected call of WithTags.
type MockBricksMetrics ¶
type MockBricksMetrics struct {
// contains filtered or unexported fields
}
MockBricksMetrics is a mock of BricksMetrics interface.
func NewMockBricksMetrics ¶
func NewMockBricksMetrics(ctrl *gomock.Controller) *MockBricksMetrics
NewMockBricksMetrics creates a new mock instance.
func (*MockBricksMetrics) Counter ¶
func (m *MockBricksMetrics) Counter(name, desc string, tagKeys ...string) (monitor.BricksCounter, error)
Counter mocks base method.
func (*MockBricksMetrics) EXPECT ¶
func (m *MockBricksMetrics) EXPECT() *MockBricksMetricsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBricksMetrics) Gauge ¶
func (m *MockBricksMetrics) Gauge(name, desc string, tagKeys ...string) (monitor.BricksGauge, error)
Gauge mocks base method.
func (*MockBricksMetrics) Histogram ¶
func (m *MockBricksMetrics) Histogram(name, desc string, buckets []float64, tagKeys ...string) (monitor.BricksHistogram, error)
Histogram mocks base method.
func (*MockBricksMetrics) Remove ¶
func (m *MockBricksMetrics) Remove(metric monitor.BrickMetric) error
Remove mocks base method.
func (*MockBricksMetrics) Timer ¶
func (m *MockBricksMetrics) Timer(name, desc string, tagKeys ...string) (monitor.BricksTimer, error)
Timer mocks base method.
type MockBricksMetricsMockRecorder ¶
type MockBricksMetricsMockRecorder struct {
// contains filtered or unexported fields
}
MockBricksMetricsMockRecorder is the mock recorder for MockBricksMetrics.
func (*MockBricksMetricsMockRecorder) Counter ¶
func (mr *MockBricksMetricsMockRecorder) Counter(name, desc interface{}, tagKeys ...interface{}) *gomock.Call
Counter indicates an expected call of Counter.
func (*MockBricksMetricsMockRecorder) Gauge ¶
func (mr *MockBricksMetricsMockRecorder) Gauge(name, desc interface{}, tagKeys ...interface{}) *gomock.Call
Gauge indicates an expected call of Gauge.
func (*MockBricksMetricsMockRecorder) Histogram ¶
func (mr *MockBricksMetricsMockRecorder) Histogram(name, desc, buckets interface{}, tagKeys ...interface{}) *gomock.Call
Histogram indicates an expected call of Histogram.
func (*MockBricksMetricsMockRecorder) Remove ¶
func (mr *MockBricksMetricsMockRecorder) Remove(metric interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockBricksMetricsMockRecorder) Timer ¶
func (mr *MockBricksMetricsMockRecorder) Timer(name, desc interface{}, tagKeys ...interface{}) *gomock.Call
Timer indicates an expected call of Timer.
type MockBricksReporter ¶
type MockBricksReporter struct {
// contains filtered or unexported fields
}
MockBricksReporter is a mock of BricksReporter interface.
func NewMockBricksReporter ¶
func NewMockBricksReporter(ctrl *gomock.Controller) *MockBricksReporter
NewMockBricksReporter creates a new mock instance.
func (*MockBricksReporter) Close ¶
func (m *MockBricksReporter) Close(ctx context.Context) error
Close mocks base method.
func (*MockBricksReporter) Connect ¶
func (m *MockBricksReporter) Connect(ctx context.Context) error
Connect mocks base method.
func (*MockBricksReporter) EXPECT ¶
func (m *MockBricksReporter) EXPECT() *MockBricksReporterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBricksReporter) Metrics ¶
func (m *MockBricksReporter) Metrics() monitor.BricksMetrics
Metrics mocks base method.
type MockBricksReporterMockRecorder ¶
type MockBricksReporterMockRecorder struct {
// contains filtered or unexported fields
}
MockBricksReporterMockRecorder is the mock recorder for MockBricksReporter.
func (*MockBricksReporterMockRecorder) Close ¶
func (mr *MockBricksReporterMockRecorder) Close(ctx interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockBricksReporterMockRecorder) Connect ¶
func (mr *MockBricksReporterMockRecorder) Connect(ctx interface{}) *gomock.Call
Connect indicates an expected call of Connect.
func (*MockBricksReporterMockRecorder) Metrics ¶
func (mr *MockBricksReporterMockRecorder) Metrics() *gomock.Call
Metrics indicates an expected call of Metrics.
type MockBricksTimer ¶
type MockBricksTimer struct {
// contains filtered or unexported fields
}
MockBricksTimer is a mock of BricksTimer interface.
func NewMockBricksTimer ¶
func NewMockBricksTimer(ctrl *gomock.Controller) *MockBricksTimer
NewMockBricksTimer creates a new mock instance.
func (*MockBricksTimer) EXPECT ¶
func (m *MockBricksTimer) EXPECT() *MockBricksTimerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBricksTimerMockRecorder ¶
type MockBricksTimerMockRecorder struct {
// contains filtered or unexported fields
}
MockBricksTimerMockRecorder is the mock recorder for MockBricksTimer.
func (*MockBricksTimerMockRecorder) WithTags ¶
func (mr *MockBricksTimerMockRecorder) WithTags(tags interface{}) *gomock.Call
WithTags indicates an expected call of WithTags.
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) Build ¶
func (m *MockBuilder) Build() monitor.BricksReporter
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) Build ¶
func (mr *MockBuilderMockRecorder) Build() *gomock.Call
Build indicates an expected call of Build.
type MockCounter ¶
type MockCounter struct {
// contains filtered or unexported fields
}
MockCounter is a mock of Counter interface.
func NewMockCounter ¶
func NewMockCounter(ctrl *gomock.Controller) *MockCounter
NewMockCounter creates a new mock instance.
func (*MockCounter) EXPECT ¶
func (m *MockCounter) EXPECT() *MockCounterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCounterMockRecorder ¶
type MockCounterMockRecorder struct {
// contains filtered or unexported fields
}
MockCounterMockRecorder is the mock recorder for MockCounter.
func (*MockCounterMockRecorder) Add ¶
func (mr *MockCounterMockRecorder) Add(v interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockCounterMockRecorder) Inc ¶
func (mr *MockCounterMockRecorder) Inc() *gomock.Call
Inc indicates an expected call of Inc.
type MockGauge ¶
type MockGauge struct {
// contains filtered or unexported fields
}
MockGauge is a mock of Gauge interface.
func NewMockGauge ¶
func NewMockGauge(ctrl *gomock.Controller) *MockGauge
NewMockGauge creates a new mock instance.
func (*MockGauge) EXPECT ¶
func (m *MockGauge) EXPECT() *MockGaugeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockGaugeMockRecorder ¶
type MockGaugeMockRecorder struct {
// contains filtered or unexported fields
}
MockGaugeMockRecorder is the mock recorder for MockGauge.
func (*MockGaugeMockRecorder) Add ¶
func (mr *MockGaugeMockRecorder) Add(v interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockGaugeMockRecorder) Dec ¶
func (mr *MockGaugeMockRecorder) Dec() *gomock.Call
Dec indicates an expected call of Dec.
func (*MockGaugeMockRecorder) Inc ¶
func (mr *MockGaugeMockRecorder) Inc() *gomock.Call
Inc indicates an expected call of Inc.
func (*MockGaugeMockRecorder) Set ¶
func (mr *MockGaugeMockRecorder) Set(v interface{}) *gomock.Call
Set indicates an expected call of Set.
type MockHistogram ¶
type MockHistogram struct {
// contains filtered or unexported fields
}
MockHistogram is a mock of Histogram interface.
func NewMockHistogram ¶
func NewMockHistogram(ctrl *gomock.Controller) *MockHistogram
NewMockHistogram creates a new mock instance.
func (*MockHistogram) EXPECT ¶
func (m *MockHistogram) EXPECT() *MockHistogramMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockHistogramMockRecorder ¶
type MockHistogramMockRecorder struct {
// contains filtered or unexported fields
}
MockHistogramMockRecorder is the mock recorder for MockHistogram.
func (*MockHistogramMockRecorder) Record ¶
func (mr *MockHistogramMockRecorder) Record(v interface{}) *gomock.Call
Record indicates an expected call of Record.
type MockMetrics ¶
type MockMetrics struct {
// contains filtered or unexported fields
}
MockMetrics is a mock of Metrics interface.
func NewMockMetrics ¶
func NewMockMetrics(ctrl *gomock.Controller) *MockMetrics
NewMockMetrics creates a new mock instance.
func (*MockMetrics) Counter ¶
func (m *MockMetrics) Counter(name, desc string) monitor.TagsAwareCounter
Counter mocks base method.
func (*MockMetrics) EXPECT ¶
func (m *MockMetrics) EXPECT() *MockMetricsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMetrics) Gauge ¶
func (m *MockMetrics) Gauge(name, desc string) monitor.TagsAwareGauge
Gauge mocks base method.
func (*MockMetrics) Histogram ¶
func (m *MockMetrics) Histogram(name, desc string, buckets monitor.Buckets) monitor.TagsAwareHistogram
Histogram mocks base method.
func (*MockMetrics) Timer ¶
func (m *MockMetrics) Timer(name, desc string) monitor.TagsAwareTimer
Timer mocks base method.
type MockMetricsMockRecorder ¶
type MockMetricsMockRecorder struct {
// contains filtered or unexported fields
}
MockMetricsMockRecorder is the mock recorder for MockMetrics.
func (*MockMetricsMockRecorder) Counter ¶
func (mr *MockMetricsMockRecorder) Counter(name, desc interface{}) *gomock.Call
Counter indicates an expected call of Counter.
func (*MockMetricsMockRecorder) Gauge ¶
func (mr *MockMetricsMockRecorder) Gauge(name, desc interface{}) *gomock.Call
Gauge indicates an expected call of Gauge.
func (*MockMetricsMockRecorder) Histogram ¶
func (mr *MockMetricsMockRecorder) Histogram(name, desc, buckets interface{}) *gomock.Call
Histogram indicates an expected call of Histogram.
func (*MockMetricsMockRecorder) Timer ¶
func (mr *MockMetricsMockRecorder) Timer(name, desc interface{}) *gomock.Call
Timer indicates an expected call of Timer.
func (*MockMetricsMockRecorder) WithTags ¶
func (mr *MockMetricsMockRecorder) WithTags(tags interface{}) *gomock.Call
WithTags indicates an expected call of WithTags.
type MockReporter ¶
type MockReporter struct {
// contains filtered or unexported fields
}
MockReporter is a mock of Reporter interface.
func NewMockReporter ¶
func NewMockReporter(ctrl *gomock.Controller) *MockReporter
NewMockReporter creates a new mock instance.
func (*MockReporter) Close ¶
func (m *MockReporter) Close(ctx context.Context) error
Close mocks base method.
func (*MockReporter) Connect ¶
func (m *MockReporter) Connect(ctx context.Context) error
Connect mocks base method.
func (*MockReporter) EXPECT ¶
func (m *MockReporter) EXPECT() *MockReporterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReporter) Metrics ¶
func (m *MockReporter) Metrics() monitor.Metrics
Metrics mocks base method.
type MockReporterMockRecorder ¶
type MockReporterMockRecorder struct {
// contains filtered or unexported fields
}
MockReporterMockRecorder is the mock recorder for MockReporter.
func (*MockReporterMockRecorder) Close ¶
func (mr *MockReporterMockRecorder) Close(ctx interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockReporterMockRecorder) Connect ¶
func (mr *MockReporterMockRecorder) Connect(ctx interface{}) *gomock.Call
Connect indicates an expected call of Connect.
func (*MockReporterMockRecorder) Metrics ¶
func (mr *MockReporterMockRecorder) Metrics() *gomock.Call
Metrics indicates an expected call of Metrics.
type MockTagsAwareCounter ¶
type MockTagsAwareCounter struct {
// contains filtered or unexported fields
}
MockTagsAwareCounter is a mock of TagsAwareCounter interface.
func NewMockTagsAwareCounter ¶
func NewMockTagsAwareCounter(ctrl *gomock.Controller) *MockTagsAwareCounter
NewMockTagsAwareCounter creates a new mock instance.
func (*MockTagsAwareCounter) Add ¶
func (m *MockTagsAwareCounter) Add(v float64)
Add mocks base method.
func (*MockTagsAwareCounter) EXPECT ¶
func (m *MockTagsAwareCounter) EXPECT() *MockTagsAwareCounterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTagsAwareCounter) WithContext ¶
func (m *MockTagsAwareCounter) WithContext(ctx context.Context) monitor.TagsAwareCounter
WithContext mocks base method.
func (*MockTagsAwareCounter) WithTags ¶
func (m *MockTagsAwareCounter) WithTags(tags monitor.Tags) monitor.TagsAwareCounter
WithTags mocks base method.
type MockTagsAwareCounterMockRecorder ¶
type MockTagsAwareCounterMockRecorder struct {
// contains filtered or unexported fields
}
MockTagsAwareCounterMockRecorder is the mock recorder for MockTagsAwareCounter.
func (*MockTagsAwareCounterMockRecorder) Add ¶
func (mr *MockTagsAwareCounterMockRecorder) Add(v interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockTagsAwareCounterMockRecorder) Inc ¶
func (mr *MockTagsAwareCounterMockRecorder) Inc() *gomock.Call
Inc indicates an expected call of Inc.
func (*MockTagsAwareCounterMockRecorder) WithContext ¶
func (mr *MockTagsAwareCounterMockRecorder) WithContext(ctx interface{}) *gomock.Call
WithContext indicates an expected call of WithContext.
func (*MockTagsAwareCounterMockRecorder) WithTags ¶
func (mr *MockTagsAwareCounterMockRecorder) WithTags(tags interface{}) *gomock.Call
WithTags indicates an expected call of WithTags.
type MockTagsAwareGauge ¶
type MockTagsAwareGauge struct {
// contains filtered or unexported fields
}
MockTagsAwareGauge is a mock of TagsAwareGauge interface.
func NewMockTagsAwareGauge ¶
func NewMockTagsAwareGauge(ctrl *gomock.Controller) *MockTagsAwareGauge
NewMockTagsAwareGauge creates a new mock instance.
func (*MockTagsAwareGauge) EXPECT ¶
func (m *MockTagsAwareGauge) EXPECT() *MockTagsAwareGaugeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTagsAwareGauge) WithContext ¶
func (m *MockTagsAwareGauge) WithContext(ctx context.Context) monitor.TagsAwareGauge
WithContext mocks base method.
func (*MockTagsAwareGauge) WithTags ¶
func (m *MockTagsAwareGauge) WithTags(tags monitor.Tags) monitor.TagsAwareGauge
WithTags mocks base method.
type MockTagsAwareGaugeMockRecorder ¶
type MockTagsAwareGaugeMockRecorder struct {
// contains filtered or unexported fields
}
MockTagsAwareGaugeMockRecorder is the mock recorder for MockTagsAwareGauge.
func (*MockTagsAwareGaugeMockRecorder) Add ¶
func (mr *MockTagsAwareGaugeMockRecorder) Add(v interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockTagsAwareGaugeMockRecorder) Dec ¶
func (mr *MockTagsAwareGaugeMockRecorder) Dec() *gomock.Call
Dec indicates an expected call of Dec.
func (*MockTagsAwareGaugeMockRecorder) Inc ¶
func (mr *MockTagsAwareGaugeMockRecorder) Inc() *gomock.Call
Inc indicates an expected call of Inc.
func (*MockTagsAwareGaugeMockRecorder) Set ¶
func (mr *MockTagsAwareGaugeMockRecorder) Set(v interface{}) *gomock.Call
Set indicates an expected call of Set.
func (*MockTagsAwareGaugeMockRecorder) WithContext ¶
func (mr *MockTagsAwareGaugeMockRecorder) WithContext(ctx interface{}) *gomock.Call
WithContext indicates an expected call of WithContext.
func (*MockTagsAwareGaugeMockRecorder) WithTags ¶
func (mr *MockTagsAwareGaugeMockRecorder) WithTags(tags interface{}) *gomock.Call
WithTags indicates an expected call of WithTags.
type MockTagsAwareHistogram ¶
type MockTagsAwareHistogram struct {
// contains filtered or unexported fields
}
MockTagsAwareHistogram is a mock of TagsAwareHistogram interface.
func NewMockTagsAwareHistogram ¶
func NewMockTagsAwareHistogram(ctrl *gomock.Controller) *MockTagsAwareHistogram
NewMockTagsAwareHistogram creates a new mock instance.
func (*MockTagsAwareHistogram) EXPECT ¶
func (m *MockTagsAwareHistogram) EXPECT() *MockTagsAwareHistogramMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTagsAwareHistogram) Record ¶
func (m *MockTagsAwareHistogram) Record(v float64)
Record mocks base method.
func (*MockTagsAwareHistogram) WithContext ¶
func (m *MockTagsAwareHistogram) WithContext(ctx context.Context) monitor.TagsAwareHistogram
WithContext mocks base method.
func (*MockTagsAwareHistogram) WithTags ¶
func (m *MockTagsAwareHistogram) WithTags(tags monitor.Tags) monitor.TagsAwareHistogram
WithTags mocks base method.
type MockTagsAwareHistogramMockRecorder ¶
type MockTagsAwareHistogramMockRecorder struct {
// contains filtered or unexported fields
}
MockTagsAwareHistogramMockRecorder is the mock recorder for MockTagsAwareHistogram.
func (*MockTagsAwareHistogramMockRecorder) Record ¶
func (mr *MockTagsAwareHistogramMockRecorder) Record(v interface{}) *gomock.Call
Record indicates an expected call of Record.
func (*MockTagsAwareHistogramMockRecorder) WithContext ¶
func (mr *MockTagsAwareHistogramMockRecorder) WithContext(ctx interface{}) *gomock.Call
WithContext indicates an expected call of WithContext.
func (*MockTagsAwareHistogramMockRecorder) WithTags ¶
func (mr *MockTagsAwareHistogramMockRecorder) WithTags(tags interface{}) *gomock.Call
WithTags indicates an expected call of WithTags.
type MockTagsAwareTimer ¶
type MockTagsAwareTimer struct {
// contains filtered or unexported fields
}
MockTagsAwareTimer is a mock of TagsAwareTimer interface.
func NewMockTagsAwareTimer ¶
func NewMockTagsAwareTimer(ctrl *gomock.Controller) *MockTagsAwareTimer
NewMockTagsAwareTimer creates a new mock instance.
func (*MockTagsAwareTimer) EXPECT ¶
func (m *MockTagsAwareTimer) EXPECT() *MockTagsAwareTimerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTagsAwareTimer) Record ¶
func (m *MockTagsAwareTimer) Record(d time.Duration)
Record mocks base method.
func (*MockTagsAwareTimer) WithContext ¶
func (m *MockTagsAwareTimer) WithContext(ctx context.Context) monitor.TagsAwareTimer
WithContext mocks base method.
func (*MockTagsAwareTimer) WithTags ¶
func (m *MockTagsAwareTimer) WithTags(tags monitor.Tags) monitor.TagsAwareTimer
WithTags mocks base method.
type MockTagsAwareTimerMockRecorder ¶
type MockTagsAwareTimerMockRecorder struct {
// contains filtered or unexported fields
}
MockTagsAwareTimerMockRecorder is the mock recorder for MockTagsAwareTimer.
func (*MockTagsAwareTimerMockRecorder) Record ¶
func (mr *MockTagsAwareTimerMockRecorder) Record(d interface{}) *gomock.Call
Record indicates an expected call of Record.
func (*MockTagsAwareTimerMockRecorder) WithContext ¶
func (mr *MockTagsAwareTimerMockRecorder) WithContext(ctx interface{}) *gomock.Call
WithContext indicates an expected call of WithContext.
func (*MockTagsAwareTimerMockRecorder) WithTags ¶
func (mr *MockTagsAwareTimerMockRecorder) WithTags(tags interface{}) *gomock.Call
WithTags indicates an expected call of WithTags.
type MockTimer ¶
type MockTimer struct {
// contains filtered or unexported fields
}
MockTimer is a mock of Timer interface.
func NewMockTimer ¶
func NewMockTimer(ctrl *gomock.Controller) *MockTimer
NewMockTimer creates a new mock instance.
func (*MockTimer) EXPECT ¶
func (m *MockTimer) EXPECT() *MockTimerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTimerMockRecorder ¶
type MockTimerMockRecorder struct {
// contains filtered or unexported fields
}
MockTimerMockRecorder is the mock recorder for MockTimer.
func (*MockTimerMockRecorder) Record ¶
func (mr *MockTimerMockRecorder) Record(d interface{}) *gomock.Call
Record indicates an expected call of Record.