diff options
Diffstat (limited to 'execdriver/pipes.go')
-rw-r--r-- | execdriver/pipes.go | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/execdriver/pipes.go b/execdriver/pipes.go deleted file mode 100644 index 158219f0c5..0000000000 --- a/execdriver/pipes.go +++ /dev/null @@ -1,23 +0,0 @@ -package execdriver - -import ( - "io" -) - -// Pipes is a wrapper around a containers output for -// stdin, stdout, stderr -type Pipes struct { - Stdin io.ReadCloser - Stdout, Stderr io.Writer -} - -func NewPipes(stdin io.ReadCloser, stdout, stderr io.Writer, useStdin bool) *Pipes { - p := &Pipes{ - Stdout: stdout, - Stderr: stderr, - } - if useStdin { - p.Stdin = stdin - } - return p -} |