Documentation ¶
Overview ¶
Package mock_usage_metrics is a generated GoMock package.
Index ¶
- type MockCounter
- type MockCounterMockRecorder
- type MockUsageTrackerInterface
- func (m *MockUsageTrackerInterface) CloneUsageData() *usage_metrics.UsageData
- func (m *MockUsageTrackerInterface) EXPECT() *MockUsageTrackerInterfaceMockRecorder
- func (m *MockUsageTrackerInterface) RegisterCounter(arg0 string) usage_metrics.Counter
- func (m *MockUsageTrackerInterface) Subtract(arg0 *usage_metrics.UsageData)
- type MockUsageTrackerInterfaceMockRecorder
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.
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 ¶
func (m *MockUsageTrackerInterface) EXPECT() *MockUsageTrackerInterfaceMockRecorder
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 ¶
func (m *MockUsageTrackerInterface) Subtract(arg0 *usage_metrics.UsageData)
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.