Documentation ¶
Index ¶
- func NewDockerClient() (client *docker.Client, err error)
- func WriteFileToPackage(localpath string, packagepath string, tw *tar.Writer) error
- func WriteGopathSrc(tw *tar.Writer, excludeDir string) error
- func WriteStreamToPackage(is io.Reader, localpath string, packagepath string, tw *tar.Writer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDockerClient ¶
func NewDockerClient() (client *docker.Client, err error)
NewDockerClient creates a docker client
func WriteFileToPackage ¶
WriteFileToPackage writes a file to the tarball
func WriteGopathSrc ¶
WriteGopathSrc tars up files under gopath src
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.