summaryrefslogtreecommitdiff
path: root/vendor/github.com/Microsoft/hcsshim/internal/cow/cow.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/Microsoft/hcsshim/internal/cow/cow.go')
-rw-r--r--vendor/github.com/Microsoft/hcsshim/internal/cow/cow.go10
1 files changed, 8 insertions, 2 deletions
diff --git a/vendor/github.com/Microsoft/hcsshim/internal/cow/cow.go b/vendor/github.com/Microsoft/hcsshim/internal/cow/cow.go
index b8e2d4f30..27a62a723 100644
--- a/vendor/github.com/Microsoft/hcsshim/internal/cow/cow.go
+++ b/vendor/github.com/Microsoft/hcsshim/internal/cow/cow.go
@@ -4,8 +4,8 @@ import (
"context"
"io"
- "github.com/Microsoft/hcsshim/internal/schema1"
- hcsschema "github.com/Microsoft/hcsshim/internal/schema2"
+ "github.com/Microsoft/hcsshim/internal/hcs/schema1"
+ hcsschema "github.com/Microsoft/hcsshim/internal/hcs/schema2"
)
// Process is the interface for an OS process running in a container or utility VM.
@@ -17,6 +17,12 @@ type Process interface {
// CloseStdin causes the process's stdin handle to receive EOF/EPIPE/whatever
// is appropriate to indicate that no more data is available.
CloseStdin(ctx context.Context) error
+ // CloseStdout closes the stdout connection to the process. It is used to indicate
+ // that we are done receiving output on the shim side.
+ CloseStdout(ctx context.Context) error
+ // CloseStderr closes the stderr connection to the process. It is used to indicate
+ // that we are done receiving output on the shim side.
+ CloseStderr(ctx context.Context) error
// Pid returns the process ID.
Pid() int
// Stdio returns the stdio streams for a process. These may be nil if a stream