MCPcopy Index your code
hub / github.com/google/cadvisor / ListContainers

Method ListContainers

lib/container/raw/handler.go:270–272  ·  view source on GitHub ↗
(listType container.ListType)

Source from the content-addressed store, hash-verified

268}
269
270func (h *rawContainerHandler) ListContainers(listType container.ListType) ([]info.ContainerReference, error) {
271 return common.ListContainers(h.name, h.cgroupPaths, listType)
272}
273
274func (h *rawContainerHandler) ListProcesses(listType container.ListType) ([]int, error) {
275 return h.libcontainerHandler.GetProcesses()

Callers

nothing calls this directly

Calls 1

ListContainersFunction · 0.92

Tested by

no test coverage detected