mirror of
https://github.com/opencontainers/runc.git
synced 2025-10-22 06:59:31 +08:00
Revert to non-recursive GetPids, add recursive GetAllPids
Signed-off-by: Jimmi Dyson <jimmidyson@gmail.com>
This commit is contained in:
@@ -15,6 +15,9 @@ type Manager interface {
|
||||
// Returns the PIDs inside the cgroup set
|
||||
GetPids() ([]int, error)
|
||||
|
||||
// Returns the PIDs inside the cgroup set & all sub-cgroups
|
||||
GetAllPids() ([]int, error)
|
||||
|
||||
// Returns statistics for the cgroup set
|
||||
GetStats() (*Stats, error)
|
||||
|
||||
|
Reference in New Issue
Block a user