mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
changes to allow for darwin compilation
Signed-off-by: baude <bbaude@redhat.com> Closes: #1015 Approved by: baude
This commit is contained in:
23
libpod/container_linux.go
Normal file
23
libpod/container_linux.go
Normal 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 {
|
||||
}
|
Reference in New Issue
Block a user