mocks

package
v0.0.0-...-4aff305 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2018 License: GPL-3.0 Imports: 3 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 MockCounter

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

MockCounter is a mock of Counter interface

func NewMockCounter

func NewMockCounter(ctrl *gomock.Controller) *MockCounter

NewMockCounter creates a new mock instance

func (*MockCounter) Add

func (m *MockCounter) Add(arg0 float64)

Add mocks base method

func (*MockCounter) EXPECT

func (m *MockCounter) EXPECT() *MockCounterMockRecorder

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

func (*MockCounter) Inc

func (m *MockCounter) Inc()

Inc mocks base method

type MockCounterMockRecorder

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

MockCounterMockRecorder is the mock recorder for MockCounter

func (*MockCounterMockRecorder) Add

func (mr *MockCounterMockRecorder) Add(arg0 interface{}) *gomock.Call

Add indicates an expected call of Add

func (*MockCounterMockRecorder) Inc

func (mr *MockCounterMockRecorder) Inc() *gomock.Call

Inc indicates an expected call of Inc

type MockGauge

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

MockGauge is a mock of Gauge interface

func NewMockGauge

func NewMockGauge(ctrl *gomock.Controller) *MockGauge

NewMockGauge creates a new mock instance

func (*MockGauge) Dec

func (m *MockGauge) Dec()

Dec mocks base method

func (*MockGauge) EXPECT

func (m *MockGauge) EXPECT() *MockGaugeMockRecorder

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

func (*MockGauge) Inc

func (m *MockGauge) Inc()

Inc mocks base method

type MockGaugeMockRecorder

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

MockGaugeMockRecorder is the mock recorder for MockGauge

func (*MockGaugeMockRecorder) Dec

func (mr *MockGaugeMockRecorder) Dec() *gomock.Call

Dec indicates an expected call of Dec

func (*MockGaugeMockRecorder) Inc

func (mr *MockGaugeMockRecorder) Inc() *gomock.Call

Inc indicates an expected call of Inc

type MockHistogramVec

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

MockHistogramVec is a mock of HistogramVec interface

func NewMockHistogramVec

func NewMockHistogramVec(ctrl *gomock.Controller) *MockHistogramVec

NewMockHistogramVec creates a new mock instance

func (*MockHistogramVec) EXPECT

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

func (*MockHistogramVec) WithLabelValues

func (m *MockHistogramVec) WithLabelValues(arg0 ...string) prometheus.Observer

WithLabelValues mocks base method

type MockHistogramVecMockRecorder

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

MockHistogramVecMockRecorder is the mock recorder for MockHistogramVec

func (*MockHistogramVecMockRecorder) WithLabelValues

func (mr *MockHistogramVecMockRecorder) WithLabelValues(arg0 ...interface{}) *gomock.Call

WithLabelValues indicates an expected call of WithLabelValues

type MockObserver

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

MockObserver is a mock of Observer interface

func NewMockObserver

func NewMockObserver(ctrl *gomock.Controller) *MockObserver

NewMockObserver creates a new mock instance

func (*MockObserver) EXPECT

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

func (*MockObserver) Observe

func (m *MockObserver) Observe(arg0 float64)

Observe mocks base method

type MockObserverMockRecorder

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

MockObserverMockRecorder is the mock recorder for MockObserver

func (*MockObserverMockRecorder) Observe

func (mr *MockObserverMockRecorder) Observe(arg0 interface{}) *gomock.Call

Observe indicates an expected call of Observe

Jump to

Keyboard shortcuts

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