summaryrefslogtreecommitdiff
path: root/vendor/github.com/Microsoft/hcsshim/internal/cow
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2021-05-20 13:15:00 -0400
committerMatthew Heon <mheon@redhat.com>2021-05-20 13:30:25 -0400
commit902507513cdddbf121cc4d2c751c9a429ffbe286 (patch)
tree9e4dac83d19bd79396bfb8a1dd79591eda6fabc4 /vendor/github.com/Microsoft/hcsshim/internal/cow
parentfe0595683a05c0f0307e07f0cce29f6ae0b3d310 (diff)
downloadpodman-902507513cdddbf121cc4d2c751c9a429ffbe286.tar.gz
podman-902507513cdddbf121cc4d2c751c9a429ffbe286.tar.bz2
podman-902507513cdddbf121cc4d2c751c9a429ffbe286.zip
Updated vendors of c/image, c/storage, Buildah
Last PR before 3.2.0-RC2 Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'vendor/github.com/Microsoft/hcsshim/internal/cow')
-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