host

package
v0.0.0-...-d04b29a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2018 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(name string) (namespace.Namespace, error)

Types

type Namespace

type Namespace struct {
	// contains filtered or unexported fields
}

func (Namespace) Bind

func (n Namespace) Bind(new, old string, flags int)

Namespace is where builds are run, interface is the same as the plan9 namespaces

func (Namespace) Cmd

func (n Namespace) Cmd(ctx context.Context, cmd string, args ...string) namespace.Cmd

func (Namespace) Create

func (n Namespace) Create(name string) (*os.File, error)

func (Namespace) Mkdir

func (n Namespace) Mkdir(name string) error

func (Namespace) Mount

func (ns Namespace) Mount(new, old string, flags int)

func (Namespace) Open

func (n Namespace) Open(name string) (*os.File, error)

func (Namespace) OpenFile

func (n Namespace) OpenFile(name string, flag int, perm os.FileMode) (*os.File, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL