Files
runc/process.go
T
Michael Crosby 8191d4d60f Refactory container interface
This removes a new unused methods from the container interface and types
parameters such as os.Signal and WaitStatus

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2015-01-31 20:51:12 -08:00

21 lines
684 B
Go

package libcontainer
import "io"
// Configuration for a process to be run inside a container.
type Process struct {
// The command to be run followed by any arguments.
Args []string
// Stdin is a pointer to a reader which provides the standard input stream.
// Stdout is a pointer to a writer which receives the standard output stream.
// Stderr is a pointer to a writer which receives the standard error stream.
//
// If a reader or writer is nil, the input stream is assumed to be empty and the output is
// discarded.
//
// Stdout and Stderr may refer to the same writer in which case the output is interspersed.
Stdin io.Reader
Stdout io.Writer
Stderr io.Writer
}