diff --git a/namespaces/unsupported.go b/namespaces/unsupported.go deleted file mode 100644 index 8398b94d..00000000 --- a/namespaces/unsupported.go +++ /dev/null @@ -1,28 +0,0 @@ -// +build !linux - -package namespaces - -import ( - "github.com/docker/libcontainer" - "github.com/docker/libcontainer/cgroups" -) - -func Exec(container *libcontainer.Config, term Terminal, rootfs, dataPath string, args []string, createCommand CreateCommand, startCallback func()) (int, error) { - return -1, ErrUnsupported -} - -func Init(container *libcontainer.Config, uncleanRootfs, consolePath string, syncPipe *SyncPipe, args []string) error { - return ErrUnsupported -} - -func InitializeNetworking(container *libcontainer.Config, nspid int, pipe *SyncPipe) error { - return ErrUnsupported -} - -func SetupCgroups(container *libcontainer.Config, nspid int) (cgroups.ActiveCgroup, error) { - return nil, ErrUnsupported -} - -func GetNamespaceFlags(namespaces map[string]bool) (flag int) { - return 0 -}