Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindCgroupMountPoint ¶
FindCgroupMountPoint finds the Cgroup mount point of subsystem.
Types ¶
type Manager ¶
type Manager struct { Path string Resource *ResourceConfig }
func NewManager ¶
func (*Manager) Set ¶
func (m *Manager) Set(res *ResourceConfig) error
type MemorySubsystem ¶
type MemorySubsystem struct { }
func (*MemorySubsystem) Name ¶
func (m *MemorySubsystem) Name() string
Name returns the name of subsystem.
func (*MemorySubsystem) Remove ¶
func (m *MemorySubsystem) Remove(cpath string) error
func (*MemorySubsystem) Set ¶
func (m *MemorySubsystem) Set(cpath string, res *ResourceConfig) error
type ResourceConfig ¶
Click to show internal directories.
Click to hide internal directories.