mock_metrics

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_metrics 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) With

func (m *MockCounter) With(arg0 ...string) metrics.Counter

With 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) With

func (mr *MockCounterMockRecorder) 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