mock_usage_metrics

package
v16.11.8 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 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 added in v16.8.0

type MockCounterIncCall struct {
	*gomock.Call
}

MockCounterIncCall wrap *gomock.Call

func (*MockCounterIncCall) Do added in v16.8.0

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

Do rewrite *gomock.Call.Do

func (*MockCounterIncCall) DoAndReturn added in v16.8.0

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

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockCounterIncCall) Return added in v16.8.0

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 added in v16.8.0

type MockUniqueCounterAddCall struct {
	*gomock.Call
}

MockUniqueCounterAddCall wrap *gomock.Call

func (*MockUniqueCounterAddCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockUniqueCounterAddCall) DoAndReturn added in v16.8.0

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

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUniqueCounterAddCall) Return added in v16.8.0

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 added in v16.8.0

type MockUsageTrackerInterfaceCloneUsageDataCall struct {
	*gomock.Call
}

MockUsageTrackerInterfaceCloneUsageDataCall wrap *gomock.Call

func (*MockUsageTrackerInterfaceCloneUsageDataCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockUsageTrackerInterfaceCloneUsageDataCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUsageTrackerInterfaceCloneUsageDataCall) Return added in v16.8.0

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 added in v16.8.0

type MockUsageTrackerInterfaceRegisterCounterCall struct {
	*gomock.Call
}

MockUsageTrackerInterfaceRegisterCounterCall wrap *gomock.Call

func (*MockUsageTrackerInterfaceRegisterCounterCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockUsageTrackerInterfaceRegisterCounterCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUsageTrackerInterfaceRegisterCounterCall) Return added in v16.8.0

Return rewrite *gomock.Call.Return

type MockUsageTrackerInterfaceRegisterUniqueCounterCall added in v16.8.0

type MockUsageTrackerInterfaceRegisterUniqueCounterCall struct {
	*gomock.Call
}

MockUsageTrackerInterfaceRegisterUniqueCounterCall wrap *gomock.Call

func (*MockUsageTrackerInterfaceRegisterUniqueCounterCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockUsageTrackerInterfaceRegisterUniqueCounterCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUsageTrackerInterfaceRegisterUniqueCounterCall) Return added in v16.8.0

Return rewrite *gomock.Call.Return

type MockUsageTrackerInterfaceSubtractCall added in v16.8.0

type MockUsageTrackerInterfaceSubtractCall struct {
	*gomock.Call
}

MockUsageTrackerInterfaceSubtractCall wrap *gomock.Call

func (*MockUsageTrackerInterfaceSubtractCall) Do added in v16.8.0

Do rewrite *gomock.Call.Do

func (*MockUsageTrackerInterfaceSubtractCall) DoAndReturn added in v16.8.0

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockUsageTrackerInterfaceSubtractCall) Return added in v16.8.0

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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