github.com/tompao/docker@v1.9.1/daemon/stats_windows.go (about) 1 package daemon 2 3 import ( 4 "github.com/docker/docker/api/types" 5 "github.com/opencontainers/runc/libcontainer" 6 ) 7 8 // convertStatsToAPITypes converts the libcontainer.Stats to the api specific 9 // structs. This is done to preserve API compatibility and versioning. 10 func convertStatsToAPITypes(ls *libcontainer.Stats) *types.StatsJSON { 11 // TODO Windows. Refactor accordingly to fill in stats. 12 s := &types.StatsJSON{} 13 return s 14 }