Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMetrics ¶
type MockMetrics struct {
// contains filtered or unexported fields
}
MockMetrics is a mock of Metrics interface
func NewMockMetrics ¶
func NewMockMetrics(ctrl *gomock.Controller) *MockMetrics
NewMockMetrics creates a new mock instance
func (*MockMetrics) EXPECT ¶
func (m *MockMetrics) EXPECT() *MockMetricsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMetrics) RecordCondition ¶
RecordCondition mocks base method
func (*MockMetrics) RecordDuration ¶
func (m *MockMetrics) RecordDuration(obj runtime.Object, start time.Time)
RecordDuration mocks base method
type MockMetricsMockRecorder ¶
type MockMetricsMockRecorder struct {
// contains filtered or unexported fields
}
MockMetricsMockRecorder is the mock recorder for MockMetrics
func (*MockMetricsMockRecorder) Init ¶
func (mr *MockMetricsMockRecorder) Init() *gomock.Call
Init indicates an expected call of Init
func (*MockMetricsMockRecorder) RecordCondition ¶
func (mr *MockMetricsMockRecorder) RecordCondition(obj, condition, deleted interface{}) *gomock.Call
RecordCondition indicates an expected call of RecordCondition
func (*MockMetricsMockRecorder) RecordDuration ¶
func (mr *MockMetricsMockRecorder) RecordDuration(obj, start interface{}) *gomock.Call
RecordDuration indicates an expected call of RecordDuration
Click to show internal directories.
Click to hide internal directories.