mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-04 05:37:08 +00:00
Updating cAdvisor dependency.
Includes manager and its dependencies.
This commit is contained in:
27
Godeps/_workspace/src/github.com/docker/libcontainer/process.go
generated
vendored
Normal file
27
Godeps/_workspace/src/github.com/docker/libcontainer/process.go
generated
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
package libcontainer
|
||||
|
||||
import "io"
|
||||
|
||||
// Configuration for a process to be run inside a container.
|
||||
type ProcessConfig struct {
|
||||
// The command to be run followed by any arguments.
|
||||
Args []string
|
||||
|
||||
// Map of environment variables to their values.
|
||||
Env []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.
|
||||
//
|
||||
// The readers and writers, if supplied, are closed when the process terminates. Their Close
|
||||
// methods should be idempotent.
|
||||
//
|
||||
// Stdout and Stderr may refer to the same writer in which case the output is interspersed.
|
||||
Stdin io.ReadCloser
|
||||
Stdout io.WriteCloser
|
||||
Stderr io.WriteCloser
|
||||
}
|
||||
Reference in New Issue
Block a user