changes to allow for darwin compilation

Signed-off-by: baude <bbaude@redhat.com>

Closes: #1015
Approved by: baude
This commit is contained in:
baude
2018-06-20 13:23:24 -05:00
committed by Atomic Bot
parent 8d114ea4d8
commit b96be3af1b
80 changed files with 4915 additions and 527 deletions

23
libpod/container_linux.go Normal file
View File

@ -0,0 +1,23 @@
// +build linux
package libpod
import (
"github.com/containernetworking/plugins/pkg/ns"
)
type containerStateLinux struct {
// NetNSPath is the path of the container's network namespace
// Will only be set if config.CreateNetNS is true, or the container was
// told to join another container's network namespace
NetNS ns.NetNS `json:"-"`
}
// containerStateWindows is intentionally left as a blank stub
type containerStateWindows struct {
}
// containerStateDarwin is intentionally left as a blank stub
type containerStateDarwin struct {
}