plugin

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

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

func NewDevicePlugin(client client.Client, scheme *runtime.Scheme, isOpenShift bool) DevicePluginAPI

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL