Documentation ¶
Index ¶
- Constants
- Variables
- func Compose(moduleDir, stack string) error
- func ComposeCmd(moduleDir, stack string) magelib.Cmd
- func ComposeURL(version string) string
- func ComposeWith(env magelib.ArgsMap, moduleDir, stack string) error
- func ComposeWithCmd(env magelib.ArgsMap, moduleDir, stack string) magelib.Cmd
- func ContainerNameByLabel(host, label string) (string, error)
- func EnsureCompose() error
- func EnsureComposeCmd() magelib.Cmd
- func EnsureRancher() error
- func EnsureRancherCmd() magelib.Cmd
- func InstallCompose(version string) error
- func InstallComposeCmd(version string) magelib.Cmd
- func InstallRancher(version string) error
- func InstallRancherCmd(version string) magelib.Cmd
- func Rancher(moduleDir, stack string) error
- func RancherCmd(moduleDir, stack string) magelib.Cmd
- func RancherURL(version string) string
- func RancherWith(env magelib.ArgsMap, moduleDir, stack string) error
- func RancherWithCmd(env magelib.ArgsMap, moduleDir, stack string) magelib.Cmd
Constants ¶
View Source
const ( //TODO: make tis customizable VersionRancherCLI = "v0.6.10" VersionRancherCompose = "v0.12.5" )
Variables ¶
View Source
var ( Out = sh.OutCmd("rancher") ComposeOut = sh.OutCmd("rancher-compose") )
Functions ¶
func ComposeURL ¶
func ComposeWithCmd ¶
ComposeWith as magelib.Cmd
func ContainerNameByLabel ¶
func EnsureCompose ¶
func EnsureCompose() error
func EnsureRancher ¶
func EnsureRancher() error
func InstallCompose ¶
func InstallComposeCmd ¶
InstallCompose as magelib.Cmd
func InstallRancher ¶
func InstallRancherCmd ¶
InstallRancher as magelib.Cmd
func RancherURL ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.