Use internal types in the API instead of duplicating the types.
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
This commit is contained in:
parent
952b884882
commit
f216ad7b65
17
utils.go
17
utils.go
|
@ -1,17 +0,0 @@
|
|||
package libcontainer
|
||||
|
||||
import (
|
||||
"github.com/docker/libcontainer/security/capabilities"
|
||||
)
|
||||
|
||||
func GetAllCapabilities() []string {
|
||||
return capabilities.GetAllCapabilities()
|
||||
}
|
||||
|
||||
func DropBoundingSet(container *Container) error {
|
||||
return capabilities.DropBoundingSet(container.Capabilities)
|
||||
}
|
||||
|
||||
func DropCapabilities(container *Container) error {
|
||||
return capabilities.DropCapabilities(container.Capabilities)
|
||||
}
|
Loading…
Reference in New Issue