Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SubsystemsIns = []Subsystem{ &CpusetSubSystem{}, &MemorySubSystem{}, &CpuSubSystem{}, } )
Functions ¶
func FindCgroupMountpoint ¶
Types ¶
type CpuSubSystem ¶
type CpuSubSystem struct { }
func (*CpuSubSystem) Name ¶
func (s *CpuSubSystem) Name() string
func (*CpuSubSystem) Remove ¶
func (s *CpuSubSystem) Remove(cgroupPath string) error
func (*CpuSubSystem) Set ¶
func (s *CpuSubSystem) Set(cgroupPath string, res *ResourceConfig) error
type CpusetSubSystem ¶
type CpusetSubSystem struct { }
func (*CpusetSubSystem) Name ¶
func (s *CpusetSubSystem) Name() string
func (*CpusetSubSystem) Remove ¶
func (s *CpusetSubSystem) Remove(cgroupPath string) error
func (*CpusetSubSystem) Set ¶
func (s *CpusetSubSystem) Set(cgroupPath string, res *ResourceConfig) error
type MemorySubSystem ¶
type MemorySubSystem struct { }
func (*MemorySubSystem) Name ¶
func (s *MemorySubSystem) Name() string
func (*MemorySubSystem) Remove ¶
func (s *MemorySubSystem) Remove(cgroupPath string) error
func (*MemorySubSystem) Set ¶
func (s *MemorySubSystem) Set(cgroupPath string, res *ResourceConfig) error
type ResourceConfig ¶
Click to show internal directories.
Click to hide internal directories.