MCPcopy
hub / github.com/kubernetes/client-go / SetProvider

Function SetProvider

tools/leaderelection/metrics.go:107–109  ·  view source on GitHub ↗

SetProvider sets the metrics provider for all subsequently created work queues. Only the first call has an effect.

(metricsProvider MetricsProvider)

Source from the content-addressed store, hash-verified

105// SetProvider sets the metrics provider for all subsequently created work
106// queues. Only the first call has an effect.
107func SetProvider(metricsProvider MetricsProvider) {
108 globalMetricsFactory.setProvider(metricsProvider)
109}

Callers

nothing calls this directly

Calls 1

setProviderMethod · 0.45

Tested by

no test coverage detected