Back to / namespace

Package namespace

v0.0.0 (d04b29a)
Latest Go to latest
Published: Oct 2, 2018 | License: BSD-3-Clause | Module:


Package Files


const (
	MREPL int = iota

type Cmd

type Cmd interface {
	Run() error
	Start() error
	Wait() error
	CombinedOutput() ([]byte, error)
	Output() ([]byte, error)

type Namespace

type Namespace interface {
	Bind(new, old string, flags int)
	Mount(new, old string, flags int)
	Cmd(ctx context.Context, cmd string, args ...string) Cmd
	Mkdir(name string) error
	Open(name string) (*os.File, error)
	OpenFile(name string, flag int, perm os.FileMode) (*os.File, error)
	Create(name string) (*os.File, error)

type Workspace

type Workspace interface {
	MountWorkspace(s string)
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier