rancher

package
v0.0.0-...-380f8d5 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

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 Compose

func Compose(moduleDir, stack string) error

func ComposeCmd

func ComposeCmd(moduleDir, stack string) magelib.Cmd

Compose as magelib.Cmd

func ComposeURL

func ComposeURL(version string) string

func ComposeWith

func ComposeWith(env magelib.ArgsMap, moduleDir, stack string) error

func ComposeWithCmd

func ComposeWithCmd(env magelib.ArgsMap, moduleDir, stack string) magelib.Cmd

ComposeWith as magelib.Cmd

func ContainerNameByLabel

func ContainerNameByLabel(host, label string) (string, error)

func EnsureCompose

func EnsureCompose() error

func EnsureComposeCmd

func EnsureComposeCmd() magelib.Cmd

EnsureRancherCompose as magelib.Cmd

func EnsureRancher

func EnsureRancher() error

func EnsureRancherCmd

func EnsureRancherCmd() magelib.Cmd

EnsureRancher as magelib.Cmd

func InstallCompose

func InstallCompose(version string) error

func InstallComposeCmd

func InstallComposeCmd(version string) magelib.Cmd

InstallCompose as magelib.Cmd

func InstallRancher

func InstallRancher(version string) error

func InstallRancherCmd

func InstallRancherCmd(version string) magelib.Cmd

InstallRancher as magelib.Cmd

func Rancher

func Rancher(moduleDir, stack string) error

func RancherCmd

func RancherCmd(moduleDir, stack string) magelib.Cmd

Rancher as magelib.Cmd

func RancherURL

func RancherURL(version string) string

func RancherWith

func RancherWith(env magelib.ArgsMap, moduleDir, stack string) error

func RancherWithCmd

func RancherWithCmd(env magelib.ArgsMap, moduleDir, stack string) magelib.Cmd

RancherWith as magelib.Cmd

Types

This section is empty.

Jump to

Keyboard shortcuts

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