Documentation ¶
Index ¶
- Variables
- func CheckForCmd(cmd string) (result bool, err error)
- func CheckForCopy(composeFile string)
- func CheckForFile(file string) (result bool, err error)
- func CheckForPath(path string) (result bool, err error)
- func CleanEnv(composeFile string)
- func DestroyCompose(composeFile string, projectName string)
- func GenUUID() (uuid string, err error)
- func MakeCopy(composeFile string)
- func MapVolumeToCompose(volume string, path string, composeFile string)
- func ParseCompose(composeFile string)
- func ParseManifest(yamlFile []byte) *types.Manifest
- func RunCompose(composeFile string, projectName string)
- func StopCompose(composeFile string, projectName string)
Constants ¶
This section is empty.
Variables ¶
View Source
var DockerHelpMessage = `` /* 268-byte string literal not displayed */
View Source
var FliBinaryCmd = "fli "
View Source
var FliDockerCmd = "docker run --rm --privileged -v /chq/:/chq/:shared -v /root:/root -v /lib/modules:/lib/modules clusterhq/fli "
View Source
var FliDockerHelp = `` /* 534-byte string literal not displayed */
View Source
var FliDockerVersion = `Version: 0.1.0`
View Source
var FliHelpMessage = `` /* 277-byte string literal not displayed */
Functions ¶
func CheckForCmd ¶
func CheckForCopy ¶
func CheckForCopy(composeFile string)
func CheckForFile ¶
func CheckForPath ¶
func DestroyCompose ¶
Run the compose file with options
func MakeCopy ¶
func MakeCopy(composeFile string)
A function to copy a file and label it as fli did it.
func MapVolumeToCompose ¶
Replace volume names with associated volume paths
func ParseCompose ¶
func ParseCompose(composeFile string)
Parse the compose file. This will validate the compose file and print it.
func RunCompose ¶
Run the compose file with options
func StopCompose ¶
Run the compose file with options
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.