Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: nodemetrics.go
Generated by this command:
mockgen -source=nodemetrics.go -package=nodemetrics -destination=mock_nodemetrics.go NodeMetrics
Package nodemetrics is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNodeMetrics ¶
type MockNodeMetrics struct {
// contains filtered or unexported fields
}
MockNodeMetrics is a mock of NodeMetrics interface.
func NewMockNodeMetrics ¶
func NewMockNodeMetrics(ctrl *gomock.Controller) *MockNodeMetrics
NewMockNodeMetrics creates a new mock instance.
func (*MockNodeMetrics) EXPECT ¶
func (m *MockNodeMetrics) EXPECT() *MockNodeMetricsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNodeMetrics) SetNodeMetricsAsDesired ¶
func (m *MockNodeMetrics) SetNodeMetricsAsDesired(ds *v1.DaemonSet, devConfig *v1alpha1.DeviceConfig) error
SetNodeMetricsAsDesired mocks base method.
type MockNodeMetricsMockRecorder ¶
type MockNodeMetricsMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeMetricsMockRecorder is the mock recorder for MockNodeMetrics.
func (*MockNodeMetricsMockRecorder) SetNodeMetricsAsDesired ¶
func (mr *MockNodeMetricsMockRecorder) SetNodeMetricsAsDesired(ds, devConfig any) *gomock.Call
SetNodeMetricsAsDesired indicates an expected call of SetNodeMetricsAsDesired.
type NodeMetrics ¶
type NodeMetrics interface {
SetNodeMetricsAsDesired(ds *appsv1.DaemonSet, devConfig *amdv1alpha1.DeviceConfig) error
}
func NewNodeMetrcis ¶
func NewNodeMetrcis(scheme *runtime.Scheme) NodeMetrics
Click to show internal directories.
Click to hide internal directories.