Documentation
¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: plugin.go
Generated by this command:
mockgen -source=plugin.go -package=plugin -destination=mock_plugin.go DevicePluginAPI
Package plugin is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DevicePluginAPI ¶
type DevicePluginAPI interface {
SetDevicePluginAsDesired(ds *appsv1.DaemonSet, devConfig *amdv1alpha1.DeviceConfig) error
SetDRADriverAsDesired(ds *appsv1.DaemonSet, devConfig *amdv1alpha1.DeviceConfig) error
}
func NewDevicePlugin ¶
type MockDevicePluginAPI ¶
type MockDevicePluginAPI struct {
// contains filtered or unexported fields
}
MockDevicePluginAPI is a mock of DevicePluginAPI interface.
func NewMockDevicePluginAPI ¶
func NewMockDevicePluginAPI(ctrl *gomock.Controller) *MockDevicePluginAPI
NewMockDevicePluginAPI creates a new mock instance.
func (*MockDevicePluginAPI) EXPECT ¶
func (m *MockDevicePluginAPI) EXPECT() *MockDevicePluginAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDevicePluginAPI) SetDRADriverAsDesired ¶
func (m *MockDevicePluginAPI) SetDRADriverAsDesired(ds *v1.DaemonSet, devConfig *v1alpha1.DeviceConfig) error
SetDRADriverAsDesired mocks base method.
func (*MockDevicePluginAPI) SetDevicePluginAsDesired ¶
func (m *MockDevicePluginAPI) SetDevicePluginAsDesired(ds *v1.DaemonSet, devConfig *v1alpha1.DeviceConfig) error
SetDevicePluginAsDesired mocks base method.
type MockDevicePluginAPIMockRecorder ¶
type MockDevicePluginAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockDevicePluginAPIMockRecorder is the mock recorder for MockDevicePluginAPI.
func (*MockDevicePluginAPIMockRecorder) SetDRADriverAsDesired ¶
func (mr *MockDevicePluginAPIMockRecorder) SetDRADriverAsDesired(ds, devConfig any) *gomock.Call
SetDRADriverAsDesired indicates an expected call of SetDRADriverAsDesired.
func (*MockDevicePluginAPIMockRecorder) SetDevicePluginAsDesired ¶
func (mr *MockDevicePluginAPIMockRecorder) SetDevicePluginAsDesired(ds, devConfig any) *gomock.Call
SetDevicePluginAsDesired indicates an expected call of SetDevicePluginAsDesired.