mocks

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

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

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

Count mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockClient) Gauge

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

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockReporter) ReportCount

func (m *MockReporter) ReportCount(metric string, tags map[string]string, count float64) error

ReportCount mocks base method

func (*MockReporter) ReportGauge

func (m *MockReporter) ReportGauge(metric string, tags map[string]string, value float64) error

ReportGauge mocks base method

func (*MockReporter) ReportSummary

func (m *MockReporter) ReportSummary(metric string, tags map[string]string, value float64) error

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

Jump to

Keyboard shortcuts

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