libct: config: remove deprecated cgroup types

These were all marked deprecated in commit a75076b4a4 ("Switch to
opencontainers/cgroups") when we switched maintenance of our cgroup code
to opencontainers/cgroups.

Users have had ample time to switch to opencontainers/cgroups
themselves, so we can finally remove this.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
This commit is contained in:
Aleksa Sarai
2026-03-04 20:38:53 +11:00
parent f0ea41ad1f
commit 8fd8e433f8
2 changed files with 16 additions and 29 deletions
-29
View File
@@ -1,29 +0,0 @@
package configs
import "github.com/opencontainers/cgroups"
// Deprecated: use [github.com/opencontainers/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
)
// Deprecated: use [github.com/opencontainers/cgroups].
const (
Undefined = cgroups.Undefined
Frozen = cgroups.Frozen
Thawed = cgroups.Thawed
)
// Deprecated: use [github.com/opencontainers/cgroups].
var (
NewWeightDevice = cgroups.NewWeightDevice
NewThrottleDevice = cgroups.NewThrottleDevice
)