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

Interface MachineInfoFactory

lib/model/machine.go:334–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334type MachineInfoFactory interface {
335 GetMachineInfo() (*MachineInfo, error)
336 GetVersionInfo() (*VersionInfo, error)
337}

Callers

nothing calls this directly

Implementers 7

mockedMachineInfolib/container/containerd/handler_test.
machineInfolib/container/raw/handler_test.go
mockInfoProviderlib/container/common/helpers_test.go
testSubcontainersInfoProviderlib/metrics/prometheus_fake_test.go
erroringSubcontainersInfoProviderlib/metrics/prometheus_fake_test.go
mockInfoProviderlib/metrics/prometheus_test.go
managerlib/manager/manager.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…