Documentation
¶
Index ¶
- func Check(e error)
- func ExecDocker(cName string, arg ...string)
- func ExecSudo(arg ...string) *exec.Cmd
- func Fatalf(format string, args ...interface{})
- func Fatalln(args ...interface{})
- func GetDirectoryFromKey(key, defaultPath string) string
- func GetHome() string
- func PrintError(args ...interface{}) (n int, err error)
- func PullImages()
- func ResolveFilePath(path string) string
- func StartFrr(cName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecDocker ¶
func GetDirectoryFromKey ¶
GetDirectoryFromKey returns the directory name specified by the given key in the configuration file, and creates it if it does not exists
func GetHome ¶
func GetHome() string
GetHome returns the home directory of the user. If sudo is used, it returns the original user home directory.
func PrintError ¶
func PullImages ¶
func PullImages()
PullImages pulls the latest version of docker images used by topomate
func ResolveFilePath ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.