MCPcopy Create free account
hub / github.com/KyleBanks/dockerstats / Current

Function Current

dockerstats.go:64–69  ·  view source on GitHub ↗

Current returns the current `Stats` of each running Docker container. Current will always return a `[]Stats` slice equal in length to the number of running Docker containers, or an `error`. No error is returned if there are no running Docker containers, simply an empty slice.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestCurrentFunction · 0.85

Calls 1

StatsMethod · 0.65

Tested by 1

TestCurrentFunction · 0.68