mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-06-26 18:18:24 +00:00
Some checks failed
This change extracts the required information from the host device node if available. Signed-off-by: Evan Lezar <elezar@nvidia.com>
21 lines
538 B
Go
21 lines
538 B
Go
package devices
|
|
|
|
import "github.com/opencontainers/cgroups/devices/config"
|
|
|
|
// Deprecated: use [github.com/opencontainers/cgroups/devices/config].
|
|
const (
|
|
Wildcard = config.Wildcard
|
|
WildcardDevice = config.WildcardDevice
|
|
BlockDevice = config.BlockDevice
|
|
CharDevice = config.CharDevice
|
|
FifoDevice = config.FifoDevice
|
|
)
|
|
|
|
// Deprecated: use [github.com/opencontainers/cgroups/devices/config].
|
|
type (
|
|
Device = config.Device
|
|
Permissions = config.Permissions
|
|
Type = config.Type
|
|
Rule = config.Rule
|
|
)
|