mock_usage_metrics

package
v14.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_usage_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) 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.

type MockCounterMockRecorder

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

MockCounterMockRecorder is the mock recorder for MockCounter.

func (*MockCounterMockRecorder) Inc

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

Inc indicates an expected call of Inc.

type MockUsageTrackerInterface

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

MockUsageTrackerInterface is a mock of UsageTrackerInterface interface.

func NewMockUsageTrackerInterface

func NewMockUsageTrackerInterface(ctrl *gomock.Controller) *MockUsageTrackerInterface

NewMockUsageTrackerInterface creates a new mock instance.

func (*MockUsageTrackerInterface) CloneUsageData

func (m *MockUsageTrackerInterface) CloneUsageData() *usage_metrics.UsageData

CloneUsageData mocks base method.

func (*MockUsageTrackerInterface) EXPECT

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

func (*MockUsageTrackerInterface) RegisterCounter

func (m *MockUsageTrackerInterface) RegisterCounter(arg0 string) usage_metrics.Counter

RegisterCounter mocks base method.

func (*MockUsageTrackerInterface) Subtract

Subtract mocks base method.

type MockUsageTrackerInterfaceMockRecorder

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

MockUsageTrackerInterfaceMockRecorder is the mock recorder for MockUsageTrackerInterface.

func (*MockUsageTrackerInterfaceMockRecorder) CloneUsageData

func (mr *MockUsageTrackerInterfaceMockRecorder) CloneUsageData() *gomock.Call

CloneUsageData indicates an expected call of CloneUsageData.

func (*MockUsageTrackerInterfaceMockRecorder) RegisterCounter

func (mr *MockUsageTrackerInterfaceMockRecorder) RegisterCounter(arg0 interface{}) *gomock.Call

RegisterCounter indicates an expected call of RegisterCounter.

func (*MockUsageTrackerInterfaceMockRecorder) Subtract

func (mr *MockUsageTrackerInterfaceMockRecorder) Subtract(arg0 interface{}) *gomock.Call

Subtract indicates an expected call of Subtract.

Jump to

Keyboard shortcuts

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