SetClient sets the current DCGM interface instance to the provided one.
(d DCGM)
| 46 | |
| 47 | // SetClient sets the current DCGM interface instance to the provided one. |
| 48 | func SetClient(d DCGM) { |
| 49 | dcgmInterface = d |
| 50 | } |
| 51 | |
| 52 | // dcgmProvider implements DCGM Interface |
| 53 | type dcgmProvider struct { |
no outgoing calls