pkg

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFile

func CreateFile(filePath string, fileTemplate string, values interface{})

CreateFile is a function to create a file from a given template

func Execute added in v0.3.2

func Execute(command string, args []string) error

Execute runs a command

func FatalF

func FatalF(format string, a ...interface{})

FatalF is a convinience function to print erros and exit

func GetDeploymentPath

func GetDeploymentPath(deploymentName string) string

GetDeploymentPath returns the path to the given deployment

func GetDockerComposePath

func GetDockerComposePath() string

GetDockerComposePath returns the docker-compose path else prints an error and exits

func GetPekkaTraefikPath

func GetPekkaTraefikPath() string

GetPekkaTraefikPath returns the path to the pekka traefik folder

func RandString

func RandString(n int) string

RandString generates a random streing of the given length

Types

This section is empty.

Jump to

Keyboard shortcuts

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