juju: github.com/wallyworld/juju/apiserver/observer/metricobserver/mocks Index | Files

package mocks

import "github.com/wallyworld/juju/apiserver/observer/metricobserver/mocks"

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Package Files

metrics_collector_mock.go metrics_mock.go

type MockMetricsCollector Uses

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

MockMetricsCollector is a mock of MetricsCollector interface

func NewMockMetricsCollector Uses

func NewMockMetricsCollector(ctrl *gomock.Controller) *MockMetricsCollector

NewMockMetricsCollector creates a new mock instance

func (*MockMetricsCollector) APIRequestDuration Uses

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

APIRequestDuration mocks base method

func (*MockMetricsCollector) EXPECT Uses

func (m *MockMetricsCollector) EXPECT() *MockMetricsCollectorMockRecorder

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

type MockMetricsCollectorMockRecorder Uses

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

MockMetricsCollectorMockRecorder is the mock recorder for MockMetricsCollector

func (*MockMetricsCollectorMockRecorder) APIRequestDuration Uses

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

APIRequestDuration indicates an expected call of APIRequestDuration

type MockSummary Uses

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

MockSummary is a mock of Summary interface

func NewMockSummary Uses

func NewMockSummary(ctrl *gomock.Controller) *MockSummary

NewMockSummary creates a new mock instance

func (*MockSummary) Collect Uses

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

Collect mocks base method

func (*MockSummary) Desc Uses

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

Desc mocks base method

func (*MockSummary) Describe Uses

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

Describe mocks base method

func (*MockSummary) EXPECT Uses

func (m *MockSummary) EXPECT() *MockSummaryMockRecorder

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

func (*MockSummary) Observe Uses

func (m *MockSummary) Observe(arg0 float64)

Observe mocks base method

func (*MockSummary) Write Uses

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

Write mocks base method

type MockSummaryMockRecorder Uses

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

MockSummaryMockRecorder is the mock recorder for MockSummary

func (*MockSummaryMockRecorder) Collect Uses

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

Collect indicates an expected call of Collect

func (*MockSummaryMockRecorder) Desc Uses

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

Desc indicates an expected call of Desc

func (*MockSummaryMockRecorder) Describe Uses

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

Describe indicates an expected call of Describe

func (*MockSummaryMockRecorder) Observe Uses

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

Observe indicates an expected call of Observe

func (*MockSummaryMockRecorder) Write Uses

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

Write indicates an expected call of Write

type MockSummaryVec Uses

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

MockSummaryVec is a mock of SummaryVec interface

func NewMockSummaryVec Uses

func NewMockSummaryVec(ctrl *gomock.Controller) *MockSummaryVec

NewMockSummaryVec creates a new mock instance

func (*MockSummaryVec) EXPECT Uses

func (m *MockSummaryVec) EXPECT() *MockSummaryVecMockRecorder

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

func (*MockSummaryVec) With Uses

func (m *MockSummaryVec) With(arg0 prometheus.Labels) prometheus.Observer

With mocks base method

type MockSummaryVecMockRecorder Uses

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

MockSummaryVecMockRecorder is the mock recorder for MockSummaryVec

func (*MockSummaryVecMockRecorder) With Uses

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

With indicates an expected call of With

Package mocks imports 5 packages (graph). Updated 2020-08-03. Refresh now. Tools for package owners.