Documentation
¶
Overview ¶
Package mockstatsd is a generated GoMock package.
Index ¶
- type MockClientInterface
- func (m *MockClientInterface) Close() error
- func (m *MockClientInterface) Count(name string, value int64, tags []string, rate float64) error
- func (m *MockClientInterface) CountWithTimestamp(name string, value int64, tags []string, rate float64, timestamp time.Time) error
- func (m *MockClientInterface) Decr(name string, tags []string, rate float64) error
- func (m *MockClientInterface) Distribution(name string, value float64, tags []string, rate float64) error
- func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
- func (m *MockClientInterface) Event(e *statsd.Event) error
- func (m *MockClientInterface) Flush() error
- func (m *MockClientInterface) Gauge(name string, value float64, tags []string, rate float64) error
- func (m *MockClientInterface) GaugeWithTimestamp(name string, value float64, tags []string, rate float64, timestamp time.Time) error
- func (m *MockClientInterface) GetTelemetry() statsd.Telemetry
- func (m *MockClientInterface) Histogram(name string, value float64, tags []string, rate float64) error
- func (m *MockClientInterface) Incr(name string, tags []string, rate float64) error
- func (m *MockClientInterface) IsClosed() bool
- func (m *MockClientInterface) ServiceCheck(sc *statsd.ServiceCheck) error
- func (m *MockClientInterface) Set(name, value string, tags []string, rate float64) error
- func (m *MockClientInterface) SimpleEvent(title, text string) error
- func (m *MockClientInterface) SimpleServiceCheck(name string, status statsd.ServiceCheckStatus) error
- func (m *MockClientInterface) TimeInMilliseconds(name string, value float64, tags []string, rate float64) error
- func (m *MockClientInterface) Timing(name string, value time.Duration, tags []string, rate float64) error
- type MockClientInterfaceMockRecorder
- func (mr *MockClientInterfaceMockRecorder) Close() *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) Count(name, value, tags, rate any) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) CountWithTimestamp(name, value, tags, rate, timestamp any) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) Decr(name, tags, rate any) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) Distribution(name, value, tags, rate any) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) Event(e any) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) Flush() *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) Gauge(name, value, tags, rate any) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GaugeWithTimestamp(name, value, tags, rate, timestamp any) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) GetTelemetry() *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) Histogram(name, value, tags, rate any) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) Incr(name, tags, rate any) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) IsClosed() *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) ServiceCheck(sc any) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) Set(name, value, tags, rate any) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) SimpleEvent(title, text any) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) SimpleServiceCheck(name, status any) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) TimeInMilliseconds(name, value, tags, rate any) *gomock.Call
- func (mr *MockClientInterfaceMockRecorder) Timing(name, value, tags, rate any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientInterface ¶
type MockClientInterface struct {
// contains filtered or unexported fields
}
MockClientInterface is a mock of ClientInterface interface.
func NewMockClientInterface ¶
func NewMockClientInterface(ctrl *gomock.Controller) *MockClientInterface
NewMockClientInterface creates a new mock instance.
func (*MockClientInterface) Close ¶
func (m *MockClientInterface) Close() error
Close mocks base method.
func (*MockClientInterface) CountWithTimestamp ¶
func (m *MockClientInterface) CountWithTimestamp(name string, value int64, tags []string, rate float64, timestamp time.Time) error
CountWithTimestamp mocks base method.
func (*MockClientInterface) Decr ¶
func (m *MockClientInterface) Decr(name string, tags []string, rate float64) error
Decr mocks base method.
func (*MockClientInterface) Distribution ¶
func (m *MockClientInterface) Distribution(name string, value float64, tags []string, rate float64) error
Distribution mocks base method.
func (*MockClientInterface) EXPECT ¶
func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientInterface) Event ¶
func (m *MockClientInterface) Event(e *statsd.Event) error
Event mocks base method.
func (*MockClientInterface) Flush ¶
func (m *MockClientInterface) Flush() error
Flush mocks base method.
func (*MockClientInterface) GaugeWithTimestamp ¶
func (m *MockClientInterface) GaugeWithTimestamp(name string, value float64, tags []string, rate float64, timestamp time.Time) error
GaugeWithTimestamp mocks base method.
func (*MockClientInterface) GetTelemetry ¶
func (m *MockClientInterface) GetTelemetry() statsd.Telemetry
GetTelemetry mocks base method.
func (*MockClientInterface) Histogram ¶
func (m *MockClientInterface) Histogram(name string, value float64, tags []string, rate float64) error
Histogram mocks base method.
func (*MockClientInterface) Incr ¶
func (m *MockClientInterface) Incr(name string, tags []string, rate float64) error
Incr mocks base method.
func (*MockClientInterface) IsClosed ¶
func (m *MockClientInterface) IsClosed() bool
IsClosed mocks base method.
func (*MockClientInterface) ServiceCheck ¶
func (m *MockClientInterface) ServiceCheck(sc *statsd.ServiceCheck) error
ServiceCheck mocks base method.
func (*MockClientInterface) Set ¶
func (m *MockClientInterface) Set(name, value string, tags []string, rate float64) error
Set mocks base method.
func (*MockClientInterface) SimpleEvent ¶
func (m *MockClientInterface) SimpleEvent(title, text string) error
SimpleEvent mocks base method.
func (*MockClientInterface) SimpleServiceCheck ¶
func (m *MockClientInterface) SimpleServiceCheck(name string, status statsd.ServiceCheckStatus) error
SimpleServiceCheck mocks base method.
func (*MockClientInterface) TimeInMilliseconds ¶
func (m *MockClientInterface) TimeInMilliseconds(name string, value float64, tags []string, rate float64) error
TimeInMilliseconds mocks base method.
type MockClientInterfaceMockRecorder ¶
type MockClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface.
func (*MockClientInterfaceMockRecorder) Close ¶
func (mr *MockClientInterfaceMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockClientInterfaceMockRecorder) Count ¶
func (mr *MockClientInterfaceMockRecorder) Count(name, value, tags, rate any) *gomock.Call
Count indicates an expected call of Count.
func (*MockClientInterfaceMockRecorder) CountWithTimestamp ¶
func (mr *MockClientInterfaceMockRecorder) CountWithTimestamp(name, value, tags, rate, timestamp any) *gomock.Call
CountWithTimestamp indicates an expected call of CountWithTimestamp.
func (*MockClientInterfaceMockRecorder) Decr ¶
func (mr *MockClientInterfaceMockRecorder) Decr(name, tags, rate any) *gomock.Call
Decr indicates an expected call of Decr.
func (*MockClientInterfaceMockRecorder) Distribution ¶
func (mr *MockClientInterfaceMockRecorder) Distribution(name, value, tags, rate any) *gomock.Call
Distribution indicates an expected call of Distribution.
func (*MockClientInterfaceMockRecorder) Event ¶
func (mr *MockClientInterfaceMockRecorder) Event(e any) *gomock.Call
Event indicates an expected call of Event.
func (*MockClientInterfaceMockRecorder) Flush ¶
func (mr *MockClientInterfaceMockRecorder) Flush() *gomock.Call
Flush indicates an expected call of Flush.
func (*MockClientInterfaceMockRecorder) Gauge ¶
func (mr *MockClientInterfaceMockRecorder) Gauge(name, value, tags, rate any) *gomock.Call
Gauge indicates an expected call of Gauge.
func (*MockClientInterfaceMockRecorder) GaugeWithTimestamp ¶
func (mr *MockClientInterfaceMockRecorder) GaugeWithTimestamp(name, value, tags, rate, timestamp any) *gomock.Call
GaugeWithTimestamp indicates an expected call of GaugeWithTimestamp.
func (*MockClientInterfaceMockRecorder) GetTelemetry ¶
func (mr *MockClientInterfaceMockRecorder) GetTelemetry() *gomock.Call
GetTelemetry indicates an expected call of GetTelemetry.
func (*MockClientInterfaceMockRecorder) Histogram ¶
func (mr *MockClientInterfaceMockRecorder) Histogram(name, value, tags, rate any) *gomock.Call
Histogram indicates an expected call of Histogram.
func (*MockClientInterfaceMockRecorder) Incr ¶
func (mr *MockClientInterfaceMockRecorder) Incr(name, tags, rate any) *gomock.Call
Incr indicates an expected call of Incr.
func (*MockClientInterfaceMockRecorder) IsClosed ¶
func (mr *MockClientInterfaceMockRecorder) IsClosed() *gomock.Call
IsClosed indicates an expected call of IsClosed.
func (*MockClientInterfaceMockRecorder) ServiceCheck ¶
func (mr *MockClientInterfaceMockRecorder) ServiceCheck(sc any) *gomock.Call
ServiceCheck indicates an expected call of ServiceCheck.
func (*MockClientInterfaceMockRecorder) Set ¶
func (mr *MockClientInterfaceMockRecorder) Set(name, value, tags, rate any) *gomock.Call
Set indicates an expected call of Set.
func (*MockClientInterfaceMockRecorder) SimpleEvent ¶
func (mr *MockClientInterfaceMockRecorder) SimpleEvent(title, text any) *gomock.Call
SimpleEvent indicates an expected call of SimpleEvent.
func (*MockClientInterfaceMockRecorder) SimpleServiceCheck ¶
func (mr *MockClientInterfaceMockRecorder) SimpleServiceCheck(name, status any) *gomock.Call
SimpleServiceCheck indicates an expected call of SimpleServiceCheck.
func (*MockClientInterfaceMockRecorder) TimeInMilliseconds ¶
func (mr *MockClientInterfaceMockRecorder) TimeInMilliseconds(name, value, tags, rate any) *gomock.Call
TimeInMilliseconds indicates an expected call of TimeInMilliseconds.