mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Windows: stats support
Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
parent
a7c25f9540
commit
340e5233b2
22 changed files with 585 additions and 323 deletions
11
daemon/stats_windows.go
Normal file
11
daemon/stats_windows.go
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
package daemon
|
||||
|
||||
import (
|
||||
"github.com/docker/docker/api/types"
|
||||
"github.com/docker/docker/container"
|
||||
)
|
||||
|
||||
// Windows network stats are obtained directly through HCS, hence this is a no-op.
|
||||
func (daemon *Daemon) getNetworkStats(c *container.Container) (map[string]types.NetworkStats, error) {
|
||||
return make(map[string]types.NetworkStats), nil
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue