mock_metrics

package
v0.0.0-...-2fd2f9e Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2017 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_metrics is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockScope

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

MockScope is a mock of Scope interface

func NewMockScope

func NewMockScope(ctrl *gomock.Controller) *MockScope

NewMockScope creates a new mock instance

func (*MockScope) EXPECT

func (m *MockScope) EXPECT() *MockScopeMockRecorder

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

func (*MockScope) Gauge

func (m *MockScope) Gauge(arg0 string, arg1 int64)

Gauge mocks base method

func (*MockScope) GaugeDelta

func (m *MockScope) GaugeDelta(arg0 string, arg1 int64)

GaugeDelta mocks base method

func (*MockScope) Inc

func (m *MockScope) Inc(arg0 string, arg1 int64)

Inc mocks base method

func (*MockScope) MustRegister

func (m *MockScope) MustRegister(arg0 ...prometheus.Collector)

MustRegister mocks base method

func (*MockScope) NewScope

func (m *MockScope) NewScope(arg0 ...string) metrics.Scope

NewScope mocks base method

func (*MockScope) SetInt

func (m *MockScope) SetInt(arg0 string, arg1 int64)

SetInt mocks base method

func (*MockScope) Timing

func (m *MockScope) Timing(arg0 string, arg1 int64)

Timing mocks base method

func (*MockScope) TimingDuration

func (m *MockScope) TimingDuration(arg0 string, arg1 time.Duration)

TimingDuration mocks base method

type MockScopeMockRecorder

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

MockScopeMockRecorder is the mock recorder for MockScope

func (*MockScopeMockRecorder) Gauge

func (mr *MockScopeMockRecorder) Gauge(arg0, arg1 interface{}) *gomock.Call

Gauge indicates an expected call of Gauge

func (*MockScopeMockRecorder) GaugeDelta

func (mr *MockScopeMockRecorder) GaugeDelta(arg0, arg1 interface{}) *gomock.Call

GaugeDelta indicates an expected call of GaugeDelta

func (*MockScopeMockRecorder) Inc

func (mr *MockScopeMockRecorder) Inc(arg0, arg1 interface{}) *gomock.Call

Inc indicates an expected call of Inc

func (*MockScopeMockRecorder) MustRegister

func (mr *MockScopeMockRecorder) MustRegister(arg0 ...interface{}) *gomock.Call

MustRegister indicates an expected call of MustRegister

func (*MockScopeMockRecorder) NewScope

func (mr *MockScopeMockRecorder) NewScope(arg0 ...interface{}) *gomock.Call

NewScope indicates an expected call of NewScope

func (*MockScopeMockRecorder) SetInt

func (mr *MockScopeMockRecorder) SetInt(arg0, arg1 interface{}) *gomock.Call

SetInt indicates an expected call of SetInt

func (*MockScopeMockRecorder) Timing

func (mr *MockScopeMockRecorder) Timing(arg0, arg1 interface{}) *gomock.Call

Timing indicates an expected call of Timing

func (*MockScopeMockRecorder) TimingDuration

func (mr *MockScopeMockRecorder) TimingDuration(arg0, arg1 interface{}) *gomock.Call

TimingDuration indicates an expected call of TimingDuration

Jump to

Keyboard shortcuts

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