mock_monitor

package
v1.0.27 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_monitor is a generated GoMock package.

Package mock_monitor is a generated GoMock package.

Index

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBricksCounter) WithTags

func (m *MockBricksCounter) WithTags(tags map[string]string) (monitor.Counter, error)

WithTags mocks base method.

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBricksGauge) WithTags

func (m *MockBricksGauge) WithTags(tags map[string]string) (monitor.Gauge, error)

WithTags mocks base method.

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBricksHistogram) WithTags

func (m *MockBricksHistogram) WithTags(tags map[string]string) (monitor.Histogram, error)

WithTags mocks base method.

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBricksReporter) Metrics

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBricksTimer) WithTags

func (m *MockBricksTimer) WithTags(tags map[string]string) (monitor.Timer, error)

WithTags mocks base method.

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) Add

func (m *MockCounter) Add(v float64)

Add mocks base method.

func (*MockCounter) EXPECT

func (m *MockCounter) EXPECT() *MockCounterMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCounter) Inc

func (m *MockCounter) Inc()

Inc mocks base method.

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) Add

func (m *MockGauge) Add(v float64)

Add mocks base method.

func (*MockGauge) Dec

func (m *MockGauge) Dec()

Dec mocks base method.

func (*MockGauge) EXPECT

func (m *MockGauge) EXPECT() *MockGaugeMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGauge) Inc

func (m *MockGauge) Inc()

Inc mocks base method.

func (*MockGauge) Set

func (m *MockGauge) Set(v float64)

Set mocks base method.

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockHistogram) Record

func (m *MockHistogram) Record(v float64)

Record mocks base method.

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.

func (*MockMetrics) WithTags

func (m *MockMetrics) WithTags(tags monitor.Tags) monitor.Metrics

WithTags 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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTagsAwareCounter) Inc

func (m *MockTagsAwareCounter) Inc()

Inc mocks base method.

func (*MockTagsAwareCounter) WithContext

WithContext mocks base method.

func (*MockTagsAwareCounter) WithTags

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

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) Add

func (m *MockTagsAwareGauge) Add(v float64)

Add mocks base method.

func (*MockTagsAwareGauge) Dec

func (m *MockTagsAwareGauge) Dec()

Dec mocks base method.

func (*MockTagsAwareGauge) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTagsAwareGauge) Inc

func (m *MockTagsAwareGauge) Inc()

Inc mocks base method.

func (*MockTagsAwareGauge) Set

func (m *MockTagsAwareGauge) Set(v float64)

Set mocks base method.

func (*MockTagsAwareGauge) WithContext

WithContext mocks base method.

func (*MockTagsAwareGauge) WithTags

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

Dec indicates an expected call of Dec.

func (*MockTagsAwareGaugeMockRecorder) Inc

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

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

WithContext mocks base method.

func (*MockTagsAwareHistogram) WithTags

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

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

WithContext mocks base method.

func (*MockTagsAwareTimer) WithTags

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.

func (*MockTimer) Record

func (m *MockTimer) Record(d time.Duration)

Record mocks base method.

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.

Jump to

Keyboard shortcuts

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