Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Instances = []Subsystem{ new(CPUSubSystem), new(CPUSetSubSystem), new(MemorySubSystem), } )
Functions ¶
This section is empty.
Types ¶
type CPUSetSubSystem ¶
type CPUSetSubSystem struct{}
func (*CPUSetSubSystem) Name ¶
func (cs *CPUSetSubSystem) Name() string
func (*CPUSetSubSystem) Remove ¶
func (cs *CPUSetSubSystem) Remove(path string) error
func (*CPUSetSubSystem) Set ¶
func (cs *CPUSetSubSystem) Set(cgroupPath string, res *ResourceConfig) error
type CPUSubSystem ¶
type CPUSubSystem struct{}
func (*CPUSubSystem) Name ¶
func (cs *CPUSubSystem) Name() string
func (*CPUSubSystem) Remove ¶
func (cs *CPUSubSystem) Remove(path string) error
func (*CPUSubSystem) Set ¶
func (cs *CPUSubSystem) Set(cgroupPath string, res *ResourceConfig) error
type MemorySubSystem ¶
type MemorySubSystem struct{}
func (*MemorySubSystem) Name ¶
func (ms *MemorySubSystem) Name() string
func (*MemorySubSystem) Remove ¶
func (ms *MemorySubSystem) Remove(path string) error
func (*MemorySubSystem) Set ¶
func (ms *MemorySubSystem) Set(cgroupPath string, res *ResourceConfig) error
type ResourceConfig ¶
Click to show internal directories.
Click to hide internal directories.