util

package
v0.0.0-...-1d5e6b2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2016 License: Apache-2.0 Imports: 11 Imported by: 4

Documentation

Index

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

func WriteFileToPackage(localpath string, packagepath string, tw *tar.Writer) error

WriteFileToPackage writes a file to the tarball

func WriteGopathSrc

func WriteGopathSrc(tw *tar.Writer, excludeDir string) error

WriteGopathSrc tars up files under gopath src

func WriteStreamToPackage

func WriteStreamToPackage(is io.Reader, localpath string, packagepath string, tw *tar.Writer) error

WriteStreamToPackage writes bytes (from a file reader) to the tarball

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL