Documentation ¶
Overview ¶
Package mock_metrics is a generated GoMock package.
Index ¶
- type MockExportMetric
- type MockExportMetricMockRecorder
- func (mr *MockExportMetricMockRecorder) Event(arg0 interface{}) *gomock.Call
- func (mr *MockExportMetricMockRecorder) Period(arg0 interface{}) *gomock.Call
- func (mr *MockExportMetricMockRecorder) Runtime(arg0 interface{}) *gomock.Call
- func (mr *MockExportMetricMockRecorder) StartTimestamp(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExportMetric ¶
type MockExportMetric struct {
// contains filtered or unexported fields
}
MockExportMetric is a mock of ExportMetric interface.
func NewMockExportMetric ¶
func NewMockExportMetric(ctrl *gomock.Controller) *MockExportMetric
NewMockExportMetric creates a new mock instance.
func (*MockExportMetric) EXPECT ¶
func (m *MockExportMetric) EXPECT() *MockExportMetricMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExportMetric) Event ¶
func (m *MockExportMetric) Event(arg0 string)
Event mocks base method.
func (*MockExportMetric) Period ¶
func (m *MockExportMetric) Period(arg0 time.Duration)
Period mocks base method.
func (*MockExportMetric) Runtime ¶
func (m *MockExportMetric) Runtime(arg0 time.Duration)
Runtime mocks base method.
func (*MockExportMetric) StartTimestamp ¶
func (m *MockExportMetric) StartTimestamp(arg0 time.Time)
StartTimestamp mocks base method.
type MockExportMetricMockRecorder ¶
type MockExportMetricMockRecorder struct {
// contains filtered or unexported fields
}
MockExportMetricMockRecorder is the mock recorder for MockExportMetric.
func (*MockExportMetricMockRecorder) Event ¶
func (mr *MockExportMetricMockRecorder) Event(arg0 interface{}) *gomock.Call
Event indicates an expected call of Event.
func (*MockExportMetricMockRecorder) Period ¶
func (mr *MockExportMetricMockRecorder) Period(arg0 interface{}) *gomock.Call
Period indicates an expected call of Period.
func (*MockExportMetricMockRecorder) Runtime ¶
func (mr *MockExportMetricMockRecorder) Runtime(arg0 interface{}) *gomock.Call
Runtime indicates an expected call of Runtime.
func (*MockExportMetricMockRecorder) StartTimestamp ¶
func (mr *MockExportMetricMockRecorder) StartTimestamp(arg0 interface{}) *gomock.Call
StartTimestamp indicates an expected call of StartTimestamp.
Click to show internal directories.
Click to hide internal directories.