Documentation ¶
Index ¶
- func CopyStream(dst io.Writer, src io.Reader, prefix string)
- func FileFromTar(name string, archive io.Reader) (io.Reader, error)
- func TarFile(name string, contents io.Reader, size, mode int64) (io.Reader, error)
- type Container
- type FS
- func (f *FS) Abs(path string) (string, error)
- func (f *FS) IsDirEmpty(path string) (bool, error)
- func (f *FS) MakeDirAll(path string) error
- func (f *FS) ReadFile(path string) (io.ReadCloser, int64, error)
- func (f *FS) Tar(path string) (io.ReadCloser, error)
- func (f *FS) WriteFile(path string) (io.WriteCloser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Container ¶
type Container struct { Name string Config *container.Config HostConfig *container.HostConfig Docker *docker.Client Err *error // contains filtered or unexported fields }
func (*Container) RemoveAfterCopy ¶
func (c *Container) RemoveAfterCopy(file *io.ReadCloser)
Click to show internal directories.
Click to hide internal directories.