Client retrieves the current DCGM interface instance.
()
| 41 | |
| 42 | // Client retrieves the current DCGM interface instance. |
| 43 | func Client() DCGM { |
| 44 | return dcgmInterface |
| 45 | } |
| 46 | |
| 47 | // SetClient sets the current DCGM interface instance to the provided one. |
| 48 | func SetClient(d DCGM) { |
no outgoing calls