mock_provider

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: pkg/provider/provider.go

Generated by this command:

mockgen -source=pkg/provider/provider.go -destination pkg/provider/mocks/provider.go

Package mock_provider 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) Collect

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

Collect mocks base method.

func (*MockCollector) CollectMetrics

func (m *MockCollector) CollectMetrics(arg0 chan<- prometheus.Metric) float64

CollectMetrics mocks base method.

func (*MockCollector) Describe

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

Describe mocks base method.

func (*MockCollector) EXPECT

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

func (*MockCollector) Name

func (m *MockCollector) Name() string

Name mocks base method.

func (*MockCollector) Register

func (m *MockCollector) Register(r provider.Registry) error

Register mocks base method.

type MockCollectorMockRecorder

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

MockCollectorMockRecorder is the mock recorder for MockCollector.

func (*MockCollectorMockRecorder) Collect

func (mr *MockCollectorMockRecorder) Collect(arg0 any) *gomock.Call

Collect indicates an expected call of Collect.

func (*MockCollectorMockRecorder) CollectMetrics

func (mr *MockCollectorMockRecorder) CollectMetrics(arg0 any) *gomock.Call

CollectMetrics indicates an expected call of CollectMetrics.

func (*MockCollectorMockRecorder) Describe

func (mr *MockCollectorMockRecorder) Describe(arg0 any) *gomock.Call

Describe indicates an expected call of Describe.

func (*MockCollectorMockRecorder) Name

Name indicates an expected call of Name.

func (*MockCollectorMockRecorder) Register

func (mr *MockCollectorMockRecorder) Register(r any) *gomock.Call

Register indicates an expected call of Register.

type MockProvider

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

MockProvider is a mock of Provider interface.

func NewMockProvider

func NewMockProvider(ctrl *gomock.Controller) *MockProvider

NewMockProvider creates a new mock instance.

func (*MockProvider) Collect

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

Collect mocks base method.

func (*MockProvider) Describe

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

Describe mocks base method.

func (*MockProvider) EXPECT

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

func (*MockProvider) RegisterCollectors

func (m *MockProvider) RegisterCollectors(r provider.Registry) error

RegisterCollectors mocks base method.

type MockProviderMockRecorder

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

MockProviderMockRecorder is the mock recorder for MockProvider.

func (*MockProviderMockRecorder) Collect

func (mr *MockProviderMockRecorder) Collect(arg0 any) *gomock.Call

Collect indicates an expected call of Collect.

func (*MockProviderMockRecorder) Describe

func (mr *MockProviderMockRecorder) Describe(arg0 any) *gomock.Call

Describe indicates an expected call of Describe.

func (*MockProviderMockRecorder) RegisterCollectors

func (mr *MockProviderMockRecorder) RegisterCollectors(r any) *gomock.Call

RegisterCollectors indicates an expected call of RegisterCollectors.

type MockRegistry

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

MockRegistry is a mock of Registry interface.

func NewMockRegistry

func NewMockRegistry(ctrl *gomock.Controller) *MockRegistry

NewMockRegistry creates a new mock instance.

func (*MockRegistry) Collect

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

Collect mocks base method.

func (*MockRegistry) Describe

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

Describe mocks base method.

func (*MockRegistry) EXPECT

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

func (*MockRegistry) Gather

Gather mocks base method.

func (*MockRegistry) MustRegister

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

MustRegister mocks base method.

func (*MockRegistry) Register

func (m *MockRegistry) Register(arg0 prometheus.Collector) error

Register mocks base method.

func (*MockRegistry) Unregister

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

Unregister mocks base method.

type MockRegistryMockRecorder

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

MockRegistryMockRecorder is the mock recorder for MockRegistry.

func (*MockRegistryMockRecorder) Collect

func (mr *MockRegistryMockRecorder) Collect(arg0 any) *gomock.Call

Collect indicates an expected call of Collect.

func (*MockRegistryMockRecorder) Describe

func (mr *MockRegistryMockRecorder) Describe(arg0 any) *gomock.Call

Describe indicates an expected call of Describe.

func (*MockRegistryMockRecorder) Gather

func (mr *MockRegistryMockRecorder) Gather() *gomock.Call

Gather indicates an expected call of Gather.

func (*MockRegistryMockRecorder) MustRegister

func (mr *MockRegistryMockRecorder) MustRegister(arg0 ...any) *gomock.Call

MustRegister indicates an expected call of MustRegister.

func (*MockRegistryMockRecorder) Register

func (mr *MockRegistryMockRecorder) Register(arg0 any) *gomock.Call

Register indicates an expected call of Register.

func (*MockRegistryMockRecorder) Unregister

func (mr *MockRegistryMockRecorder) Unregister(arg0 any) *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