kubernetes/vendor/github.com/opencontainers/runc/libcontainer/cgroups/fs/fs.go

var subsystems

var errSubsystemDoesNotExist

func init() {}

type subsystem

type Manager

func NewManager(cg *configs.Cgroup, paths map[string]string) (*Manager, error) {}

// isIgnorableError returns whether err is a permission error (in the loose
// sense of the word). This includes EROFS (which for an unprivileged user is
// basically a permission error) and EACCES (for similar reasons) as well as
// the normal EPERM.
func isIgnorableError(rootless bool, err error) bool {}

func (m *Manager) Apply(pid int) (retErr error) {}

func (m *Manager) Destroy() error {}

func (m *Manager) Path(subsys string) string {}

func (m *Manager) GetStats() (*cgroups.Stats, error) {}

func (m *Manager) Set(r *configs.Resources) error {}

// Freeze toggles the container's freezer cgroup depending on the state
// provided
func (m *Manager) Freeze(state configs.FreezerState) error {}

func (m *Manager) GetPids() ([]int, error) {}

func (m *Manager) GetAllPids() ([]int, error) {}

func (m *Manager) GetPaths() map[string]string {}

func (m *Manager) GetCgroups() (*configs.Cgroup, error) {}

func (m *Manager) GetFreezerState() (configs.FreezerState, error) {}

func (m *Manager) Exists() bool {}

func OOMKillCount(path string) (uint64, error) {}

func (m *Manager) OOMKillCount() (uint64, error) {}