utils

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: MIT Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateContainerName added in v0.2.0

func CreateContainerName(serviceContainerName string, dockerNetwork string) string

func CreateDirectory added in v0.3.0

func CreateDirectory(dir string) error

func IsDockerInstalled added in v0.8.0

func IsDockerInstalled() bool

IsDockerInstalled checks whether docker is installed/running

func PrintTable

func PrintTable(csvContent string)

PrintTable to print in the table format

func RunCmdAndWait

func RunCmdAndWait(name string, args ...string) (string, error)

func TruncateString

func TruncateString(str string, maxLength int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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