cgroups

package module
v0.0.0-...-6c87224 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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 (c *Cgroup) SetBlkReadBps() error

func (*Cgroup) SetBlkWriteBps

func (c *Cgroup) SetBlkWriteBps() error

func (*Cgroup) SetCPUNum

func (c *Cgroup) SetCPUNum() error

func (*Cgroup) SetCPURate

func (c *Cgroup) SetCPURate() error

func (*Cgroup) SetDeviceAllow

func (c *Cgroup) SetDeviceAllow() error

func (*Cgroup) SetDeviceDeny

func (c *Cgroup) SetDeviceDeny() error

func (*Cgroup) SetMemory

func (c *Cgroup) SetMemory() error

func (*Cgroup) SetTcpMemory

func (c *Cgroup) SetTcpMemory() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL