MCPcopy
hub / github.com/google/cadvisor / Append

Method Append

lib/container/factory.go:165–173  ·  view source on GitHub ↗
(ms1 MetricSet)

Source from the content-addressed store, hash-verified

163}
164
165func (ms MetricSet) Append(ms1 MetricSet) MetricSet {
166 result := ms
167 for kind := range ms1 {
168 if !ms.Has(kind) {
169 result.add(kind)
170 }
171 }
172 return result
173}
174
175// All registered auth provider plugins.
176var pluginsLock sync.Mutex

Callers

nothing calls this directly

Calls 2

HasMethod · 0.95
addMethod · 0.80

Tested by

no test coverage detected