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) SimpleEvent(title, text string) error
- func (m *MockClient) TimeInMilliseconds(name string, value float64, tags []string, rate float64) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Count(name, value, tags, rate interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Gauge(name, value, tags, rate interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SimpleEvent(title, text interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) TimeInMilliseconds(name, value, tags, rate interface{}) *gomock.Call
- type MockReporter
- func (m *MockReporter) EXPECT() *MockReporterMockRecorder
- func (m *MockReporter) ReportCount(metric string, tags map[string]string, count float64) error
- func (m *MockReporter) ReportEvent(title, text string) 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
- func (mr *MockReporterMockRecorder) ReportCount(metric, tags, count interface{}) *gomock.Call
- func (mr *MockReporterMockRecorder) ReportEvent(title, text interface{}) *gomock.Call
- func (mr *MockReporterMockRecorder) ReportGauge(metric, tags, value interface{}) *gomock.Call
- func (mr *MockReporterMockRecorder) ReportSummary(metric, tags, value 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) SimpleEvent ¶ added in v1.1.10
func (m *MockClient) SimpleEvent(title, text string) error
SimpleEvent mocks base method.
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) SimpleEvent ¶ added in v1.1.10
func (mr *MockClientMockRecorder) SimpleEvent(title, text interface{}) *gomock.Call
SimpleEvent indicates an expected call of SimpleEvent.
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) ReportEvent ¶ added in v1.1.10
func (m *MockReporter) ReportEvent(title, text string) error
ReportEvent 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) ReportEvent ¶ added in v1.1.10
func (mr *MockReporterMockRecorder) ReportEvent(title, text interface{}) *gomock.Call
ReportEvent indicates an expected call of ReportEvent.
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.