Files
runc/libcontainer/configs/cgroup_deprecated.go
T
Kir Kolyshkin ae477f15f0 libct/configs: move cgroup stuff to libct/cgroups
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>
2024-12-11 19:08:40 -08:00

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
)