mock_statsd

package
v2.15.1 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: github.com/DataDog/datadog-go/v5/statsd (interfaces: ClientInterface)

Generated by this command:

mockgen -destination=internal/generated/mocks/DataDog/datadog-go/v5/statsd/statsd.go github.com/DataDog/datadog-go/v5/statsd ClientInterface

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(arg0 string, arg1 int64, arg2 []string, arg3 float64) error

Count mocks base method.

func (*MockClientInterface) CountWithTimestamp

func (m *MockClientInterface) CountWithTimestamp(arg0 string, arg1 int64, arg2 []string, arg3 float64, arg4 time.Time) error

CountWithTimestamp mocks base method.

func (*MockClientInterface) Decr

func (m *MockClientInterface) Decr(arg0 string, arg1 []string, arg2 float64) error

Decr mocks base method.

func (*MockClientInterface) Distribution

func (m *MockClientInterface) Distribution(arg0 string, arg1 float64, arg2 []string, arg3 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(arg0 *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(arg0 string, arg1 float64, arg2 []string, arg3 float64) error

Gauge mocks base method.

func (*MockClientInterface) GaugeWithTimestamp

func (m *MockClientInterface) GaugeWithTimestamp(arg0 string, arg1 float64, arg2 []string, arg3 float64, arg4 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(arg0 string, arg1 float64, arg2 []string, arg3 float64) error

Histogram mocks base method.

func (*MockClientInterface) Incr

func (m *MockClientInterface) Incr(arg0 string, arg1 []string, arg2 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(arg0 *statsd.ServiceCheck) error

ServiceCheck mocks base method.

func (*MockClientInterface) Set

func (m *MockClientInterface) Set(arg0, arg1 string, arg2 []string, arg3 float64) error

Set mocks base method.

func (*MockClientInterface) SimpleEvent

func (m *MockClientInterface) SimpleEvent(arg0, arg1 string) error

SimpleEvent mocks base method.

func (*MockClientInterface) SimpleServiceCheck

func (m *MockClientInterface) SimpleServiceCheck(arg0 string, arg1 statsd.ServiceCheckStatus) error

SimpleServiceCheck mocks base method.

func (*MockClientInterface) TimeInMilliseconds

func (m *MockClientInterface) TimeInMilliseconds(arg0 string, arg1 float64, arg2 []string, arg3 float64) error

TimeInMilliseconds mocks base method.

func (*MockClientInterface) Timing

func (m *MockClientInterface) Timing(arg0 string, arg1 time.Duration, arg2 []string, arg3 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(arg0, arg1, arg2, arg3 any) *gomock.Call

Count indicates an expected call of Count.

func (*MockClientInterfaceMockRecorder) CountWithTimestamp

func (mr *MockClientInterfaceMockRecorder) CountWithTimestamp(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

CountWithTimestamp indicates an expected call of CountWithTimestamp.

func (*MockClientInterfaceMockRecorder) Decr

func (mr *MockClientInterfaceMockRecorder) Decr(arg0, arg1, arg2 any) *gomock.Call

Decr indicates an expected call of Decr.

func (*MockClientInterfaceMockRecorder) Distribution

func (mr *MockClientInterfaceMockRecorder) Distribution(arg0, arg1, arg2, arg3 any) *gomock.Call

Distribution indicates an expected call of Distribution.

func (*MockClientInterfaceMockRecorder) Event

Event indicates an expected call of Event.

func (*MockClientInterfaceMockRecorder) Flush

Flush indicates an expected call of Flush.

func (*MockClientInterfaceMockRecorder) Gauge

func (mr *MockClientInterfaceMockRecorder) Gauge(arg0, arg1, arg2, arg3 any) *gomock.Call

Gauge indicates an expected call of Gauge.

func (*MockClientInterfaceMockRecorder) GaugeWithTimestamp

func (mr *MockClientInterfaceMockRecorder) GaugeWithTimestamp(arg0, arg1, arg2, arg3, arg4 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(arg0, arg1, arg2, arg3 any) *gomock.Call

Histogram indicates an expected call of Histogram.

func (*MockClientInterfaceMockRecorder) Incr

func (mr *MockClientInterfaceMockRecorder) Incr(arg0, arg1, arg2 any) *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(arg0 any) *gomock.Call

ServiceCheck indicates an expected call of ServiceCheck.

func (*MockClientInterfaceMockRecorder) Set

func (mr *MockClientInterfaceMockRecorder) Set(arg0, arg1, arg2, arg3 any) *gomock.Call

Set indicates an expected call of Set.

func (*MockClientInterfaceMockRecorder) SimpleEvent

func (mr *MockClientInterfaceMockRecorder) SimpleEvent(arg0, arg1 any) *gomock.Call

SimpleEvent indicates an expected call of SimpleEvent.

func (*MockClientInterfaceMockRecorder) SimpleServiceCheck

func (mr *MockClientInterfaceMockRecorder) SimpleServiceCheck(arg0, arg1 any) *gomock.Call

SimpleServiceCheck indicates an expected call of SimpleServiceCheck.

func (*MockClientInterfaceMockRecorder) TimeInMilliseconds

func (mr *MockClientInterfaceMockRecorder) TimeInMilliseconds(arg0, arg1, arg2, arg3 any) *gomock.Call

TimeInMilliseconds indicates an expected call of TimeInMilliseconds.

func (*MockClientInterfaceMockRecorder) Timing

func (mr *MockClientInterfaceMockRecorder) Timing(arg0, arg1, arg2, arg3 any) *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