mocks

package
v0.0.0-...-8ff1004 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2019 License: AGPL-3.0 Imports: 5 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) Collect

func (m *MockCounter) Collect(arg0 chan<- prometheus.Metric)

Collect mocks base method

func (*MockCounter) Desc

func (m *MockCounter) Desc() *prometheus.Desc

Desc mocks base method

func (*MockCounter) Describe

func (m *MockCounter) Describe(arg0 chan<- *prometheus.Desc)

Describe 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

func (*MockCounter) Write

func (m *MockCounter) Write(arg0 *go0.Metric) error

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

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

Collect indicates an expected call of Collect

func (*MockCounterMockRecorder) Desc

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

Desc indicates an expected call of Desc

func (*MockCounterMockRecorder) Describe

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

Describe indicates an expected call of Describe

func (*MockCounterMockRecorder) Inc

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

Inc indicates an expected call of Inc

func (*MockCounterMockRecorder) Write

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

Write indicates an expected call of Write

type MockCounterVec

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

MockCounterVec is a mock of CounterVec interface

func NewMockCounterVec

func NewMockCounterVec(ctrl *gomock.Controller) *MockCounterVec

NewMockCounterVec creates a new mock instance

func (*MockCounterVec) EXPECT

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

func (*MockCounterVec) With

With mocks base method

type MockCounterVecMockRecorder

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

MockCounterVecMockRecorder is the mock recorder for MockCounterVec

func (*MockCounterVecMockRecorder) With

func (mr *MockCounterVecMockRecorder) With(arg0 interface{}) *gomock.Call

With indicates an expected call of With

type MockMetricsCollector

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

MockMetricsCollector is a mock of MetricsCollector interface

func NewMockMetricsCollector

func NewMockMetricsCollector(ctrl *gomock.Controller) *MockMetricsCollector

NewMockMetricsCollector creates a new mock instance

func (*MockMetricsCollector) APIRequestDuration

func (m *MockMetricsCollector) APIRequestDuration() metricobserver.SummaryVec

APIRequestDuration mocks base method

func (*MockMetricsCollector) DeprecatedAPIRequestDuration

func (m *MockMetricsCollector) DeprecatedAPIRequestDuration() metricobserver.SummaryVec

DeprecatedAPIRequestDuration mocks base method

func (*MockMetricsCollector) DeprecatedAPIRequestsTotal

func (m *MockMetricsCollector) DeprecatedAPIRequestsTotal() metricobserver.CounterVec

DeprecatedAPIRequestsTotal mocks base method

func (*MockMetricsCollector) EXPECT

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

type MockMetricsCollectorMockRecorder

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

MockMetricsCollectorMockRecorder is the mock recorder for MockMetricsCollector

func (*MockMetricsCollectorMockRecorder) APIRequestDuration

func (mr *MockMetricsCollectorMockRecorder) APIRequestDuration() *gomock.Call

APIRequestDuration indicates an expected call of APIRequestDuration

func (*MockMetricsCollectorMockRecorder) DeprecatedAPIRequestDuration

func (mr *MockMetricsCollectorMockRecorder) DeprecatedAPIRequestDuration() *gomock.Call

DeprecatedAPIRequestDuration indicates an expected call of DeprecatedAPIRequestDuration

func (*MockMetricsCollectorMockRecorder) DeprecatedAPIRequestsTotal

func (mr *MockMetricsCollectorMockRecorder) DeprecatedAPIRequestsTotal() *gomock.Call

DeprecatedAPIRequestsTotal indicates an expected call of DeprecatedAPIRequestsTotal

type MockSummary

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

MockSummary is a mock of Summary interface

func NewMockSummary

func NewMockSummary(ctrl *gomock.Controller) *MockSummary

NewMockSummary creates a new mock instance

func (*MockSummary) Collect

func (m *MockSummary) Collect(arg0 chan<- prometheus.Metric)

Collect mocks base method

func (*MockSummary) Desc

func (m *MockSummary) Desc() *prometheus.Desc

Desc mocks base method

func (*MockSummary) Describe

func (m *MockSummary) Describe(arg0 chan<- *prometheus.Desc)

Describe mocks base method

func (*MockSummary) EXPECT

func (m *MockSummary) EXPECT() *MockSummaryMockRecorder

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

func (*MockSummary) Observe

func (m *MockSummary) Observe(arg0 float64)

Observe mocks base method

func (*MockSummary) Write

func (m *MockSummary) Write(arg0 *go0.Metric) error

Write mocks base method

type MockSummaryMockRecorder

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

MockSummaryMockRecorder is the mock recorder for MockSummary

func (*MockSummaryMockRecorder) Collect

func (mr *MockSummaryMockRecorder) Collect(arg0 interface{}) *gomock.Call

Collect indicates an expected call of Collect

func (*MockSummaryMockRecorder) Desc

func (mr *MockSummaryMockRecorder) Desc() *gomock.Call

Desc indicates an expected call of Desc

func (*MockSummaryMockRecorder) Describe

func (mr *MockSummaryMockRecorder) Describe(arg0 interface{}) *gomock.Call

Describe indicates an expected call of Describe

func (*MockSummaryMockRecorder) Observe

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

Observe indicates an expected call of Observe

func (*MockSummaryMockRecorder) Write

func (mr *MockSummaryMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write

type MockSummaryVec

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

MockSummaryVec is a mock of SummaryVec interface

func NewMockSummaryVec

func NewMockSummaryVec(ctrl *gomock.Controller) *MockSummaryVec

NewMockSummaryVec creates a new mock instance

func (*MockSummaryVec) EXPECT

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

func (*MockSummaryVec) With

With mocks base method

type MockSummaryVecMockRecorder

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

MockSummaryVecMockRecorder is the mock recorder for MockSummaryVec

func (*MockSummaryVecMockRecorder) With

func (mr *MockSummaryVecMockRecorder) With(arg0 interface{}) *gomock.Call

With indicates an expected call of With

Jump to

Keyboard shortcuts

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