2014-02-25 23:19:13 +00:00
|
|
|
// +build !linux
|
|
|
|
|
|
|
|
package nsinit
|
|
|
|
|
|
|
|
import (
|
2014-05-01 01:20:01 +00:00
|
|
|
"github.com/dotcloud/docker/pkg/cgroups"
|
2014-02-25 23:19:13 +00:00
|
|
|
"github.com/dotcloud/docker/pkg/libcontainer"
|
|
|
|
)
|
|
|
|
|
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-01 00:18:07 +00:00
|
|
|
func GetNamespaceFlags(namespaces libcontainer.Namespaces) (flag int) {
|
|
|
|
return 0
|
|
|
|
}
|