Merge pull request #90 from crosbymichael/cross-compile
Remove unsupported file
This commit is contained in:
commit
65c37a84af
|
@ -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
|
|
||||||
}
|
|
Loading…
Reference in New Issue