mock_testutil

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

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

Go to latest
Published: Nov 5, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_testutil is a generated GoMock package.

Package mock_testutil is a generated GoMock package.

Package mock_testutil is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mockcollector

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

Mockcollector is a mock of collector interface

func NewMockcollector

func NewMockcollector(ctrl *gomock.Controller) *Mockcollector

NewMockcollector creates a new mock instance

func (*Mockcollector) EXPECT

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

func (*Mockcollector) MustCollect

func (m *Mockcollector) MustCollect(arg0 ...prometheus.Collector) prometheus.Gatherer

MustCollect mocks base method

type MockcollectorMockRecorder

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

MockcollectorMockRecorder is the mock recorder for Mockcollector

func (*MockcollectorMockRecorder) MustCollect

func (mr *MockcollectorMockRecorder) MustCollect(arg0 ...interface{}) *gomock.Call

MustCollect indicates an expected call of MustCollect

type Mockfilterer

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

Mockfilterer is a mock of filterer interface

func NewMockfilterer

func NewMockfilterer(ctrl *gomock.Controller) *Mockfilterer

NewMockfilterer creates a new mock instance

func (*Mockfilterer) EXPECT

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

func (*Mockfilterer) FilterMetricsByName

func (m *Mockfilterer) FilterMetricsByName(metrics []*go0.MetricFamily, names ...string) []*go0.MetricFamily

FilterMetricsByName mocks base method

type MockfiltererMockRecorder

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

MockfiltererMockRecorder is the mock recorder for Mockfilterer

func (*MockfiltererMockRecorder) FilterMetricsByName

func (mr *MockfiltererMockRecorder) FilterMetricsByName(metrics interface{}, names ...interface{}) *gomock.Call

FilterMetricsByName indicates an expected call of FilterMetricsByName

type Mockprinter

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

Mockprinter is a mock of printer interface

func NewMockprinter

func NewMockprinter(ctrl *gomock.Controller) *Mockprinter

NewMockprinter creates a new mock instance

func (*Mockprinter) EXPECT

func (m *Mockprinter) EXPECT() *MockprinterMockRecorder

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

func (*Mockprinter) PrintMetrics

func (m *Mockprinter) PrintMetrics(metrics []*go0.MetricFamily) error

PrintMetrics mocks base method

type MockprinterMockRecorder

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

MockprinterMockRecorder is the mock recorder for Mockprinter

func (*MockprinterMockRecorder) PrintMetrics

func (mr *MockprinterMockRecorder) PrintMetrics(metrics interface{}) *gomock.Call

PrintMetrics indicates an expected call of PrintMetrics

type MockregistererGatherer

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

MockregistererGatherer is a mock of registererGatherer interface

func NewMockregistererGatherer

func NewMockregistererGatherer(ctrl *gomock.Controller) *MockregistererGatherer

NewMockregistererGatherer creates a new mock instance

func (*MockregistererGatherer) EXPECT

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

func (*MockregistererGatherer) Gather

func (m *MockregistererGatherer) Gather() ([]*go0.MetricFamily, error)

Gather mocks base method

func (*MockregistererGatherer) MustRegister

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

MustRegister mocks base method

func (*MockregistererGatherer) Register

Register mocks base method

func (*MockregistererGatherer) Unregister

func (m *MockregistererGatherer) Unregister(arg0 prometheus.Collector) bool

Unregister mocks base method

type MockregistererGathererMockRecorder

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

MockregistererGathererMockRecorder is the mock recorder for MockregistererGatherer

func (*MockregistererGathererMockRecorder) Gather

Gather indicates an expected call of Gather

func (*MockregistererGathererMockRecorder) MustRegister

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

MustRegister indicates an expected call of MustRegister

func (*MockregistererGathererMockRecorder) Register

func (mr *MockregistererGathererMockRecorder) Register(arg0 interface{}) *gomock.Call

Register indicates an expected call of Register

func (*MockregistererGathererMockRecorder) Unregister

func (mr *MockregistererGathererMockRecorder) Unregister(arg0 interface{}) *gomock.Call

Unregister indicates an expected call of Unregister

Jump to

Keyboard shortcuts

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