Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReadCloserWrapper ¶
func NewReadCloserWrapper(r io.Reader, closeFn func() error) io.ReadCloser
NewReadCloserWrapper returns an io.ReadCloser that reads from r and runs closeFn on Close. It replaces github.com/docker/docker/pkg/ioutils.NewReadCloserWrapper, which is not part of the moby/moby split modules.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.