Documentation ¶
Index ¶
- func GetDockerfileFromConfig(path string) string
- func NewDockerClient() (client *docker.Client, err error)
- func ParseDockerfileTemplate(template string) string
- func WriteBytesToPackage(name string, payload []byte, tw *tar.Writer) error
- func WriteFileToPackage(localpath string, packagepath string, tw *tar.Writer) error
- func WriteFolderToTarPackage(tw *tar.Writer, srcPath string, excludeDir string, ...) error
- func WriteJavaProjectToPackage(tw *tar.Writer, srcPath 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 GetDockerfileFromConfig ¶
func NewDockerClient ¶
NewDockerClient creates a docker client
func ParseDockerfileTemplate ¶
func WriteBytesToPackage ¶
func WriteFileToPackage ¶
WriteFileToPackage writes a file to the tarball
func WriteFolderToTarPackage ¶
func WriteJavaProjectToPackage ¶
Package Java project to tar file from the source path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.