MCPcopy
hub / github.com/NVIDIA/dcgm-exporter / SetClient

Function SetClient

internal/pkg/dcgmprovider/dcgm.go:48–50  ·  view source on GitHub ↗

SetClient sets the current DCGM interface instance to the provided one.

(d DCGM)

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls