mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
ae477f15f0
We have quite a few external users of libcontainer/cgroups packages, and they all have to depend on libcontainer/configs as well. Let's move cgroup-related configuration to libcontainer/croups. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
27 lines
701 B
Go
27 lines
701 B
Go
package configs // Deprecated: use [github.com/opencontainers/runc/libcontainer/cgroups].
|
|
|
|
import "github.com/opencontainers/runc/libcontainer/cgroups"
|
|
|
|
type (
|
|
Cgroup = cgroups.Cgroup
|
|
Resources = cgroups.Resources
|
|
FreezerState = cgroups.FreezerState
|
|
LinuxRdma = cgroups.LinuxRdma
|
|
BlockIODevice = cgroups.BlockIODevice
|
|
WeightDevice = cgroups.WeightDevice
|
|
ThrottleDevice = cgroups.ThrottleDevice
|
|
HugepageLimit = cgroups.HugepageLimit
|
|
IfPrioMap = cgroups.IfPrioMap
|
|
)
|
|
|
|
const (
|
|
Undefined = cgroups.Undefined
|
|
Frozen = cgroups.Frozen
|
|
Thawed = cgroups.Thawed
|
|
)
|
|
|
|
var (
|
|
NewWeightDevice = cgroups.NewWeightDevice
|
|
NewThrottleDevice = cgroups.NewThrottleDevice
|
|
)
|