MCPcopy Create free account
hub / github.com/ROCm/gpu-operator / SetDevicePluginAsDesired

Method SetDevicePluginAsDesired

internal/plugin/plugin.go:65–65  ·  view source on GitHub ↗
(ds *appsv1.DaemonSet, devConfig *amdv1alpha1.DeviceConfig)

Source from the content-addressed store, hash-verified

63//go:generate mockgen -source=plugin.go -package=plugin -destination=mock_plugin.go DevicePluginAPI
64type DevicePluginAPI interface {
65 SetDevicePluginAsDesired(ds *appsv1.DaemonSet, devConfig *amdv1alpha1.DeviceConfig) error
66 SetDRADriverAsDesired(ds *appsv1.DaemonSet, devConfig *amdv1alpha1.DeviceConfig) error
67}
68

Callers 2

handleDevicePluginMethod · 0.65
plugin_test.goFile · 0.65

Implementers 3

MockDevicePluginAPIinternal/plugin/mock_plugin.go
MockDevicePluginAPIMockRecorderinternal/plugin/mock_plugin.go
devicePlugininternal/plugin/plugin.go

Calls

no outgoing calls

Tested by

no test coverage detected