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

Method GetCgroupPath

lib/container/container.go:58–58  ·  view source on GitHub ↗

Returns absolute cgroup path for the requested resource.

(resource string)

Source from the content-addressed store, hash-verified

56
57 // Returns absolute cgroup path for the requested resource.
58 GetCgroupPath(resource string) (string, error)
59
60 // Returns container labels, if available.
61 GetContainerLabels() map[string]string

Callers 2

createContainerMethod · 0.95
updateStatsMethod · 0.65

Implementers 8

containerHandlercontainer/docker/handler.go
containerHandlercontainer/podman/handler.go
MockContainerHandlercontainer/testing/mock_handler.go
crioContainerHandlerlib/container/crio/handler.go
containerdContainerHandlerlib/container/containerd/handler.go
rawContainerHandlerlib/container/raw/handler.go
MockContainerHandlerlib/container/testing/mock_handler.go
mockHandlerlib/manager/manager_test.go

Calls

no outgoing calls

Tested by

no test coverage detected