func (m *Manager) GetPids() ([]int, error) { path, err := getSubsystemPath(m.Cgroups, "devices") if err != nil { return nil, err } return cgroups.GetPids(path) }
func (m *Manager) GetPids() ([]int, error) { dir, err := getCgroupPath(m.Cgroups) if err != nil { return nil, err } return cgroups.GetPids(dir) }
// Forked from opencontainers/runc/libcontainer/cgroup/fs.Manager.GetPids() func GetPids(cgroupPath string) ([]int, error) { dir, err := getCgroupPath(cgroupPath) if err != nil { return nil, err } return libcontainercgroups.GetPids(dir) }
func (m *Manager) GetPids() ([]int, error) { d, err := getCgroupData(m.Cgroups, 0) if err != nil { return nil, err } dir, err := d.path("devices") if err != nil { return nil, err } return cgroups.GetPids(dir) }
func (m *Manager) GetPids() ([]int, error) { paths := m.GetPaths() return cgroups.GetPids(paths["devices"]) }