jail

package
v0.0.0-...-c851926 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2014 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cell

type Cell struct {
	Dir string
}

func (*Cell) Command

func (j *Cell) Command(name string, args ...string) *Cmd

func (*Cell) Create

func (j *Cell) Create(name string) (*os.File, error)

func (*Cell) Dispose

func (j *Cell) Dispose() error

type Cmd

type Cmd struct {
	*exec.Cmd

	Limits Resources
	Usages Resources
}

func (*Cmd) Run

func (c *Cmd) Run() error

type ExitError

type ExitError syscall.WaitStatus

func (ExitError) Error

func (e ExitError) Error() string

type Resources

type Resources struct {
	Cpu    time.Duration
	Memory uint64
}

Jump to

Keyboard shortcuts

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