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