mock_statsd

package
v5.1.1 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_statsd is a generated GoMock package.

Index

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

func (m *MockClientInterface) Count(name string, value int64, tags []string, rate float64) error

Count 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

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

func (m *MockClientInterface) Gauge(name string, value float64, tags []string, rate float64) error

Gauge 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.

func (*MockClientInterface) Timing

func (m *MockClientInterface) Timing(name string, value time.Duration, tags []string, rate float64) error

Timing mocks base method.

type MockClientInterfaceMockRecorder

type MockClientInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface.

func (*MockClientInterfaceMockRecorder) Close

Close indicates an expected call of Close.

func (*MockClientInterfaceMockRecorder) Count

func (mr *MockClientInterfaceMockRecorder) Count(name, value, tags, rate interface{}) *gomock.Call

Count indicates an expected call of Count.

func (*MockClientInterfaceMockRecorder) Decr

func (mr *MockClientInterfaceMockRecorder) Decr(name, tags, rate interface{}) *gomock.Call

Decr indicates an expected call of Decr.

func (*MockClientInterfaceMockRecorder) Distribution

func (mr *MockClientInterfaceMockRecorder) Distribution(name, value, tags, rate interface{}) *gomock.Call

Distribution indicates an expected call of Distribution.

func (*MockClientInterfaceMockRecorder) Event

func (mr *MockClientInterfaceMockRecorder) Event(e interface{}) *gomock.Call

Event indicates an expected call of Event.

func (*MockClientInterfaceMockRecorder) Flush

Flush indicates an expected call of Flush.

func (*MockClientInterfaceMockRecorder) Gauge

func (mr *MockClientInterfaceMockRecorder) Gauge(name, value, tags, rate interface{}) *gomock.Call

Gauge indicates an expected call of Gauge.

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 interface{}) *gomock.Call

Histogram indicates an expected call of Histogram.

func (*MockClientInterfaceMockRecorder) Incr

func (mr *MockClientInterfaceMockRecorder) Incr(name, tags, rate interface{}) *gomock.Call

Incr indicates an expected call of Incr.

func (*MockClientInterfaceMockRecorder) IsClosed

IsClosed indicates an expected call of IsClosed.

func (*MockClientInterfaceMockRecorder) ServiceCheck

func (mr *MockClientInterfaceMockRecorder) ServiceCheck(sc interface{}) *gomock.Call

ServiceCheck indicates an expected call of ServiceCheck.

func (*MockClientInterfaceMockRecorder) Set

func (mr *MockClientInterfaceMockRecorder) Set(name, value, tags, rate interface{}) *gomock.Call

Set indicates an expected call of Set.

func (*MockClientInterfaceMockRecorder) SimpleEvent

func (mr *MockClientInterfaceMockRecorder) SimpleEvent(title, text interface{}) *gomock.Call

SimpleEvent indicates an expected call of SimpleEvent.

func (*MockClientInterfaceMockRecorder) SimpleServiceCheck

func (mr *MockClientInterfaceMockRecorder) SimpleServiceCheck(name, status interface{}) *gomock.Call

SimpleServiceCheck indicates an expected call of SimpleServiceCheck.

func (*MockClientInterfaceMockRecorder) TimeInMilliseconds

func (mr *MockClientInterfaceMockRecorder) TimeInMilliseconds(name, value, tags, rate interface{}) *gomock.Call

TimeInMilliseconds indicates an expected call of TimeInMilliseconds.

func (*MockClientInterfaceMockRecorder) Timing

func (mr *MockClientInterfaceMockRecorder) Timing(name, value, tags, rate interface{}) *gomock.Call

Timing indicates an expected call of Timing.

Jump to

Keyboard shortcuts

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