Documentation
¶
Index ¶
- type Cgroup
- func (c *Cgroup) SetBlkReadBps() error
- func (c *Cgroup) SetBlkWriteBps() error
- func (c *Cgroup) SetCPUNum() error
- func (c *Cgroup) SetCPURate() error
- func (c *Cgroup) SetDeviceAllow() error
- func (c *Cgroup) SetDeviceDeny() error
- func (c *Cgroup) SetMemory() error
- func (c *Cgroup) SetTcpMemory() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cgroup ¶
type Cgroup struct { Name string Path string CPUSet string CPURate string Memory string TcpMemory string DevicesDeny string DeviceAllow string BlkReadBps string BlkWriteBps string }
func (*Cgroup) SetBlkReadBps ¶
func (*Cgroup) SetBlkWriteBps ¶
func (*Cgroup) SetCPURate ¶
func (*Cgroup) SetDeviceAllow ¶
func (*Cgroup) SetDeviceDeny ¶
func (*Cgroup) SetTcpMemory ¶
Click to show internal directories.
Click to hide internal directories.