Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CgroupManager ¶
type CgroupManager struct { Path string Resource *subsystems.ResourceConfig }
func NewCgroupManager ¶
func NewCgroupManager(path string) *CgroupManager
func (*CgroupManager) Apply ¶
func (c *CgroupManager) Apply(pid int) error
func (*CgroupManager) Destroy ¶
func (c *CgroupManager) Destroy() error
func (*CgroupManager) Set ¶
func (c *CgroupManager) Set(res *subsystems.ResourceConfig) error
Click to show internal directories.
Click to hide internal directories.