Documentation ¶
Index ¶
- func CreateFile(filePath string, fileTemplate string, values interface{})
- func Execute(command string, args []string) error
- func FatalF(format string, a ...interface{})
- func GetDeploymentPath(deploymentName string) string
- func GetDockerComposePath() string
- func GetPekkaTraefikPath() string
- func RandString(n int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateFile ¶
CreateFile is a function to create a file from a given template
func FatalF ¶
func FatalF(format string, a ...interface{})
FatalF is a convinience function to print erros and exit
func GetDeploymentPath ¶
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 ¶
RandString generates a random streing of the given length
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.