Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetIOLimits ¶
SetIOLimits sets iops, bps limits for a pod with uid podUid for accessing a device named deviceName provided that the underlying cgroup used for pod namespacing is cgroup2 (cgroup v2)
Types ¶
type DeviceNumber ¶
type ValidRequest ¶
type ValidRequest struct { FilePath string DeviceNumber *DeviceNumber IOMax *IOMax }
Click to show internal directories.
Click to hide internal directories.