runc/namespaces/create.go

12 lines
314 B
Go
Raw Normal View History

package namespaces
import (
"os"
"os/exec"
2014-06-10 23:14:16 +08:00
"github.com/docker/libcontainer"
)
type CreateCommand func(container *libcontainer.Config, console, dataPath, init string, childPipe *os.File, args []string) *exec.Cmd
type SetupCommand func(container *libcontainer.Config, console, dataPath, init string) *exec.Cmd