2014-07-09 01:17:05 +08:00
|
|
|
package libcontainer
|
|
|
|
|
|
|
|
import "io"
|
|
|
|
|
2015-02-04 09:44:58 +08:00
|
|
|
// Process specifies the configuration and IO for a process inside
|
|
|
|
// a container.
|
2015-02-01 12:51:12 +08:00
|
|
|
type Process struct {
|
2014-07-09 01:17:05 +08:00
|
|
|
// The command to be run followed by any arguments.
|
|
|
|
Args []string
|
2015-02-04 09:44:58 +08:00
|
|
|
|
2014-07-09 01:17:05 +08:00
|
|
|
// Stdin is a pointer to a reader which provides the standard input stream.
|
2015-02-04 09:44:58 +08:00
|
|
|
Stdin io.Reader
|
|
|
|
|
2014-07-09 01:17:05 +08:00
|
|
|
// Stdout is a pointer to a writer which receives the standard output stream.
|
2014-12-18 05:14:49 +08:00
|
|
|
Stdout io.Writer
|
2015-02-04 09:44:58 +08:00
|
|
|
|
|
|
|
// Stderr is a pointer to a writer which receives the standard error stream.
|
2014-12-18 05:14:49 +08:00
|
|
|
Stderr io.Writer
|
2014-07-09 01:17:05 +08:00
|
|
|
}
|