Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Count(name string, value int64, tags []string, rate float64) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Gauge(name string, value float64, tags []string, rate float64) error
- func (m *MockClient) TimeInMilliseconds(name string, value float64, tags []string, rate float64) error
- type MockClientMockRecorder
- type MockReporter
- func (m *MockReporter) EXPECT() *MockReporterMockRecorder
- func (m *MockReporter) ReportCount(metric string, tags map[string]string, count float64) error
- func (m *MockReporter) ReportGauge(metric string, tags map[string]string, value float64) error
- func (m *MockReporter) ReportSummary(metric string, tags map[string]string, value float64) error
- type MockReporterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) TimeInMilliseconds ¶
func (m *MockClient) TimeInMilliseconds(name string, value float64, tags []string, rate float64) error
TimeInMilliseconds mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) Count ¶
func (mr *MockClientMockRecorder) Count(name, value, tags, rate interface{}) *gomock.Call
Count indicates an expected call of Count
func (*MockClientMockRecorder) Gauge ¶
func (mr *MockClientMockRecorder) Gauge(name, value, tags, rate interface{}) *gomock.Call
Gauge indicates an expected call of Gauge
func (*MockClientMockRecorder) TimeInMilliseconds ¶
func (mr *MockClientMockRecorder) TimeInMilliseconds(name, value, tags, rate interface{}) *gomock.Call
TimeInMilliseconds indicates an expected call of TimeInMilliseconds
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) EXPECT ¶
func (m *MockReporter) EXPECT() *MockReporterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockReporter) ReportCount ¶
ReportCount mocks base method
func (*MockReporter) ReportGauge ¶
ReportGauge mocks base method
func (*MockReporter) ReportSummary ¶
ReportSummary mocks base method
type MockReporterMockRecorder ¶
type MockReporterMockRecorder struct {
// contains filtered or unexported fields
}
MockReporterMockRecorder is the mock recorder for MockReporter
func (*MockReporterMockRecorder) ReportCount ¶
func (mr *MockReporterMockRecorder) ReportCount(metric, tags, count interface{}) *gomock.Call
ReportCount indicates an expected call of ReportCount
func (*MockReporterMockRecorder) ReportGauge ¶
func (mr *MockReporterMockRecorder) ReportGauge(metric, tags, value interface{}) *gomock.Call
ReportGauge indicates an expected call of ReportGauge
func (*MockReporterMockRecorder) ReportSummary ¶
func (mr *MockReporterMockRecorder) ReportSummary(metric, tags, value interface{}) *gomock.Call
ReportSummary indicates an expected call of ReportSummary