build: bldy.build/build/namespace Index | Files | Directories

package namespace

import "bldy.build/build/namespace"

Index

Package Files

namespace.go

Constants

const (
    MREPL int = iota
    MBEFORE
    MAFTER
)

type Cmd Uses

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

type Namespace Uses

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 Uses

type Workspace interface {
    Namespace
    MountWorkspace(s string)
}

Directories

PathSynopsis
docker
host

Package namespace imports 2 packages (graph) and is imported by 7 packages. Updated 2018-10-17. Refresh now. Tools for package owners.