Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateFetchProgress ¶
func UpdateFetchProgress(done <-chan struct{}, client *containerd.Client, progress *progress.ImageFetch)
UpdateFetchProgress start goroutine to update the fetch status until done channel closes
Types ¶
type DirectIO ¶
type DirectIO struct { Stdin io.WriteCloser Stdout io.ReadCloser Stderr io.ReadCloser // contains filtered or unexported fields }
DirectIO allows task IO to be handled externally by the caller
func NewDirectIO ¶
func NewDirectIO(ctx context.Context, stdin, stdout, stderr string, terminal bool) (f *DirectIO, err error)
NewDirectIO returns an IO implementation that exposes the pipes directly
func (*DirectIO) Cancel ¶
func (f *DirectIO) Cancel()
Cancel stops any IO copy operations
Not applicable for DirectIO
Click to show internal directories.
Click to hide internal directories.