go:generate mockgen -source=plugin.go -package=plugin -destination=mock_plugin.go DevicePluginAPI
| 62 | |
| 63 | //go:generate mockgen -source=plugin.go -package=plugin -destination=mock_plugin.go DevicePluginAPI |
| 64 | type DevicePluginAPI interface { |
| 65 | SetDevicePluginAsDesired(ds *appsv1.DaemonSet, devConfig *amdv1alpha1.DeviceConfig) error |
| 66 | SetDRADriverAsDesired(ds *appsv1.DaemonSet, devConfig *amdv1alpha1.DeviceConfig) error |
| 67 | } |
| 68 | |
| 69 | type devicePlugin struct { |
| 70 | client client.Client |
no outgoing calls
no test coverage detected