util

package
v0.0.0-...-667e438 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDockerfileFromConfig

func GetDockerfileFromConfig(path string) string

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 (use dereference mode)

func WriteFolderToTarPackage

func WriteFolderToTarPackage(tw *tar.Writer, srcPath string, excludeDir string, includeFileTypeMap map[string]bool, excludeFileTypeMap map[string]bool) error

func WriteGopathSrc

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

WriteGopathSrc tars up files under gopath src

func WriteJavaProjectToPackage

func WriteJavaProjectToPackage(tw *tar.Writer, srcPath string) error

Package Java project to tar file from the source path

Types

This section is empty.

Jump to

Keyboard shortcuts

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