MCPcopy Create free account
hub / github.com/containerd/cgroups / Values

Method Values

cgroup2/io.go:50–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48}
49
50func (i *IO) Values() (o []Value) {
51 if i.BFQ.Weight != 0 {
52 o = append(o, Value{
53 filename: "io.bfq.weight",
54 value: i.BFQ.Weight,
55 })
56 }
57 for _, e := range i.Max {
58 o = append(o, Value{
59 filename: "io.max",
60 value: e.String(),
61 })
62 }
63 return o
64}

Callers

nothing calls this directly

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected