Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Count(arg0 string, arg1 int64, arg2 []string, arg3 float64) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Gauge(arg0 string, arg1 float64, arg2 []string, arg3 float64) error
- func (m *MockClient) TimeInMilliseconds(arg0 string, arg1 float64, arg2 []string, arg3 float64) error
- type MockClientMockRecorder
- type MockReporter
- func (m *MockReporter) EXPECT() *MockReporterMockRecorder
- func (m *MockReporter) ReportCount(arg0 string, arg1 map[string]string, arg2 float64) error
- func (m *MockReporter) ReportGauge(arg0 string, arg1 map[string]string, arg2 float64) error
- func (m *MockReporter) ReportHistogram(arg0 string, arg1 map[string]string, arg2 float64) error
- func (m *MockReporter) ReportSummary(arg0 string, arg1 map[string]string, arg2 float64) error
- type MockReporterMockRecorder
- func (mr *MockReporterMockRecorder) ReportCount(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockReporterMockRecorder) ReportGauge(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockReporterMockRecorder) ReportHistogram(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockReporterMockRecorder) ReportSummary(arg0, arg1, arg2 interface{}) *gomock.Call
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(arg0 string, arg1 float64, arg2 []string, arg3 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(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Count indicates an expected call of Count.
func (*MockClientMockRecorder) Gauge ¶
func (mr *MockClientMockRecorder) Gauge(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Gauge indicates an expected call of Gauge.
func (*MockClientMockRecorder) TimeInMilliseconds ¶
func (mr *MockClientMockRecorder) TimeInMilliseconds(arg0, arg1, arg2, arg3 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) ReportHistogram ¶
ReportHistogram 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(arg0, arg1, arg2 interface{}) *gomock.Call
ReportCount indicates an expected call of ReportCount.
func (*MockReporterMockRecorder) ReportGauge ¶
func (mr *MockReporterMockRecorder) ReportGauge(arg0, arg1, arg2 interface{}) *gomock.Call
ReportGauge indicates an expected call of ReportGauge.
func (*MockReporterMockRecorder) ReportHistogram ¶
func (mr *MockReporterMockRecorder) ReportHistogram(arg0, arg1, arg2 interface{}) *gomock.Call
ReportHistogram indicates an expected call of ReportHistogram.
func (*MockReporterMockRecorder) ReportSummary ¶
func (mr *MockReporterMockRecorder) ReportSummary(arg0, arg1, arg2 interface{}) *gomock.Call
ReportSummary indicates an expected call of ReportSummary.