2014-02-25 23:19:13 +00:00
|
|
|
// +build !linux
|
|
|
|
|
|
|
|
package nsinit
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/dotcloud/docker/pkg/libcontainer"
|
2014-05-14 22:21:44 +00:00
|
|
|
"github.com/dotcloud/docker/pkg/libcontainer/cgroups"
|
2014-02-25 23:19:13 +00:00
|
|
|
)
|
|
|
|
|
2014-05-01 01:49:24 +00:00
|
|
|
func Exec(container *libcontainer.Container, term Terminal, rootfs, dataPath string, args []string, createCommand CreateCommand, startCallback func()) (int, error) {
|
|
|
|
return -1, libcontainer.ErrUnsupported
|
|
|
|
}
|
|
|
|
|
2014-05-01 01:20:01 +00:00
|
|
|
func Init(container *libcontainer.Container, uncleanRootfs, consolePath string, syncPipe *SyncPipe, args []string) error {
|
|
|
|
return libcontainer.ErrUnsupported
|
|
|
|
}
|
|
|
|
|
|
|
|
func InitializeNetworking(container *libcontainer.Container, nspid int, pipe *SyncPipe) error {
|
|
|
|
return libcontainer.ErrUnsupported
|
|
|
|
}
|
|
|
|
|
|
|
|
func SetupCgroups(container *libcontainer.Container, nspid int) (cgroups.ActiveCgroup, error) {
|
|
|
|
return nil, libcontainer.ErrUnsupported
|
|
|
|
}
|
|
|
|
|
2014-05-05 19:34:21 +00:00
|
|
|
func GetNamespaceFlags(namespaces map[string]bool) (flag int) {
|
2014-05-01 00:18:07 +00:00
|
|
|
return 0
|
|
|
|
}
|