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

Method Update

cgroup1/control.go:81–81  ·  view source on GitHub ↗

Update updates all the subsystems with the provided resource changes

(resources *specs.LinuxResources)

Source from the content-addressed store, hash-verified

79 Stat(...ErrorHandler) (*v1.Metrics, error)
80 // Update updates all the subsystems with the provided resource changes
81 Update(resources *specs.LinuxResources) error
82 // Processes returns all the processes in a select subsystem for the cgroup
83 Processes(Name, bool) ([]Process, error)
84 // Tasks returns all the tasks in a select subsystem for the cgroup

Callers 2

TestPidsFunction · 0.65
UpdateMethod · 0.65

Implementers 1

cgroupcgroup1/cgroup.go

Calls

no outgoing calls

Tested by 1

TestPidsFunction · 0.52