package oci
import "github.com/docker/docker/oci"
Index ¶
- func Device(d *configs.Device) specs.Device
- func DevicesFromPath(pathOnHost, pathInContainer, cgroupPermissions string) (devs []specs.Device, devPermissions []specs.DeviceCgroup, err error)
- func RemoveNamespace(s *specs.Spec, nsType specs.NamespaceType)
Functions ¶
func Device ¶
Device transforms a libcontainer configs.Device to a specs.Device object. Not implemented
func DevicesFromPath ¶
func DevicesFromPath(pathOnHost, pathInContainer, cgroupPermissions string) (devs []specs.Device, devPermissions []specs.DeviceCgroup, err error)
DevicesFromPath computes a list of devices and device permissions from paths (pathOnHost and pathInContainer) and cgroup permissions. Not implemented
func RemoveNamespace ¶
func RemoveNamespace(s *specs.Spec, nsType specs.NamespaceType)
RemoveNamespace removes the `nsType` namespace from OCI spec `s`
Source Files ¶
devices_unsupported.go namespaces.go
- Version
- v1.13.0-rc5
- Published
- Jan 4, 2017
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 31 minutes ago –
Tools for package owners.