mock_usage_metrics

package
v17.0.1-rc42 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 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 MockCounterIncCall

type MockCounterIncCall struct {
	*gomock.Call
}

MockCounterIncCall wrap *gomock.Call

func (*MockCounterIncCall) Do

func (c *MockCounterIncCall) Do(f func()) *MockCounterIncCall

Do rewrite *gomock.Call.Do

func (*MockCounterIncCall) DoAndReturn

func (c *MockCounterIncCall) DoAndReturn(f func()) *MockCounterIncCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCounterIncCall) Return

Return rewrite *gomock.Call.Return

type MockCounterMockRecorder

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

MockCounterMockRecorder is the mock recorder for MockCounter.

func (*MockCounterMockRecorder) Inc

Inc indicates an expected call of Inc.

type MockUniqueCounter

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

MockUniqueCounter is a mock of UniqueCounter interface.

func NewMockUniqueCounter

func NewMockUniqueCounter(ctrl *gomock.Controller) *MockUniqueCounter

NewMockUniqueCounter creates a new mock instance.

func (*MockUniqueCounter) Add

func (m *MockUniqueCounter) Add(arg0 int64)

Add mocks base method.

func (*MockUniqueCounter) EXPECT

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

type MockUniqueCounterAddCall

type MockUniqueCounterAddCall struct {
	*gomock.Call
}

MockUniqueCounterAddCall wrap *gomock.Call

func (*MockUniqueCounterAddCall) Do

Do rewrite *gomock.Call.Do

func (*MockUniqueCounterAddCall) DoAndReturn

func (c *MockUniqueCounterAddCall) DoAndReturn(f func(int64)) *MockUniqueCounterAddCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUniqueCounterAddCall) Return

Return rewrite *gomock.Call.Return

type MockUniqueCounterMockRecorder

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

MockUniqueCounterMockRecorder is the mock recorder for MockUniqueCounter.

func (*MockUniqueCounterMockRecorder) Add

Add indicates an expected call of Add.

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

func (m *MockUsageTrackerInterface) RegisterUniqueCounter(arg0 string) usage_metrics.UniqueCounter

RegisterUniqueCounter mocks base method.

func (*MockUsageTrackerInterface) Subtract

Subtract mocks base method.

type MockUsageTrackerInterfaceCloneUsageDataCall

type MockUsageTrackerInterfaceCloneUsageDataCall struct {
	*gomock.Call
}

MockUsageTrackerInterfaceCloneUsageDataCall wrap *gomock.Call

func (*MockUsageTrackerInterfaceCloneUsageDataCall) Do

Do rewrite *gomock.Call.Do

func (*MockUsageTrackerInterfaceCloneUsageDataCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUsageTrackerInterfaceCloneUsageDataCall) Return

Return rewrite *gomock.Call.Return

type MockUsageTrackerInterfaceMockRecorder

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

MockUsageTrackerInterfaceMockRecorder is the mock recorder for MockUsageTrackerInterface.

func (*MockUsageTrackerInterfaceMockRecorder) CloneUsageData

CloneUsageData indicates an expected call of CloneUsageData.

func (*MockUsageTrackerInterfaceMockRecorder) RegisterCounter

RegisterCounter indicates an expected call of RegisterCounter.

func (*MockUsageTrackerInterfaceMockRecorder) RegisterUniqueCounter

RegisterUniqueCounter indicates an expected call of RegisterUniqueCounter.

func (*MockUsageTrackerInterfaceMockRecorder) Subtract

Subtract indicates an expected call of Subtract.

type MockUsageTrackerInterfaceRegisterCounterCall

type MockUsageTrackerInterfaceRegisterCounterCall struct {
	*gomock.Call
}

MockUsageTrackerInterfaceRegisterCounterCall wrap *gomock.Call

func (*MockUsageTrackerInterfaceRegisterCounterCall) Do

Do rewrite *gomock.Call.Do

func (*MockUsageTrackerInterfaceRegisterCounterCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUsageTrackerInterfaceRegisterCounterCall) Return

Return rewrite *gomock.Call.Return

type MockUsageTrackerInterfaceRegisterUniqueCounterCall

type MockUsageTrackerInterfaceRegisterUniqueCounterCall struct {
	*gomock.Call
}

MockUsageTrackerInterfaceRegisterUniqueCounterCall wrap *gomock.Call

func (*MockUsageTrackerInterfaceRegisterUniqueCounterCall) Do

Do rewrite *gomock.Call.Do

func (*MockUsageTrackerInterfaceRegisterUniqueCounterCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUsageTrackerInterfaceRegisterUniqueCounterCall) Return

Return rewrite *gomock.Call.Return

type MockUsageTrackerInterfaceSubtractCall

type MockUsageTrackerInterfaceSubtractCall struct {
	*gomock.Call
}

MockUsageTrackerInterfaceSubtractCall wrap *gomock.Call

func (*MockUsageTrackerInterfaceSubtractCall) Do

Do rewrite *gomock.Call.Do

func (*MockUsageTrackerInterfaceSubtractCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUsageTrackerInterfaceSubtractCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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