MCPcopy Create free account
hub / github.com/containerd/nerdctl / NetIO

Method NetIO

pkg/statsutil/stats.go:199–204  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

197}
198
199func (s *StatsEntry) NetIO() string {
200 if s.IsInvalid {
201 return "--"
202 }
203 return fmt.Sprintf("%s / %s", units.HumanSizeWithPrecision(s.NetworkRx, 3), units.HumanSizeWithPrecision(s.NetworkTx, 3))
204}
205
206func (s *StatsEntry) BlockIO() string {
207 if s.IsInvalid {

Callers 1

RenderEntryFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected