forked from fsouza/go-dockerclient
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add fields definition for DockerStat API of Docker host uses cgroup2 (f…
…souza#922) * chore: add fields definition for DockerStat API of Docker host uses cgroup2 Docker Engine 20.10.0+ uses cgroup2 instead of cgroup by default when available (cf. moby/moby#40846 ). Using cgroup2 varies the output of DockerStats API. In particular, there are many new fields on Stats.MemoryStats.Stats. Therefore this commit adds the fields for new fields on cgroup2 to `Stats` struct. * chore: removed extra commas
- Loading branch information
Showing
2 changed files
with
310 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters