Documentation
¶
Index ¶
Constants ¶
View Source
const ( CgroupfsDriver CgroupDrivertype = "cgroupfs" SystemdDriver CgroupDrivertype = "systemd" RootCgroup string = "/sys/fs/cgroup" )
View Source
const ( BlkIOThrottleReadBPS = "blkio.throttle.read_bps_device" BlkIOThrottleReadIOPS = "blkio.throttle.read_iops_device" BlkIOThrottleWriteBPS = "blkio.throttle.write_bps_device" BlkIOThrottleWriteIOPS = "blkio.throttle.write_iops_device" Cgroupv2BlkIOThrottle = "io.max" )
Variables ¶
This section is empty.
Functions ¶
func GetSupportedIOThrottles ¶
func GetSupportedIOThrottles() []string
func SetIOLimit ¶
Types ¶
type CgroupDrivertype ¶
type CgroupDrivertype string
type CgroupName ¶
type CgroupName []string
func NewCgroupName ¶
func NewCgroupName(base CgroupName, components ...string) CgroupName
type PodBlkIO ¶
type PodBlkIO struct { PodUid string PodQos v1.PodQOSClass DeviceIOSet DeviceIOSet }
Click to show internal directories.
Click to hide internal directories.