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