Rendering a FormattedStatsEntry from StatsEntry
(in *StatsEntry, noTrunc bool)
| 133 | |
| 134 | // Rendering a FormattedStatsEntry from StatsEntry |
| 135 | func RenderEntry(in *StatsEntry, noTrunc bool) FormattedStatsEntry { |
| 136 | return FormattedStatsEntry{ |
| 137 | Name: in.EntryName(noTrunc), |
| 138 | ID: in.EntryID(noTrunc), |
| 139 | CPUPerc: in.CPUPerc(), |
| 140 | MemUsage: in.MemUsage(), |
| 141 | MemPerc: in.MemPerc(), |
| 142 | NetIO: in.NetIO(), |
| 143 | BlockIO: in.BlockIO(), |
| 144 | PIDs: in.PIDs(), |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | /* |
| 149 | a set of functions to format container stats |
no test coverage detected
searching dependent graphs…