Documentation
¶
Index ¶
- Variables
- func DeployOverview(app appPkg.App, deployedVersion string, toDeployVersion string, ...) error
- func EnsureCommand(abraSh, recipeName, execCmd string) error
- func GetBumpType() string
- func GetEnsureContext() recipe.EnsureContext
- func GetMainAppImage(recipe recipe.Recipe) (string, error)
- func MoveOverview(app appPkg.App, newServer string, secrets []string, volumes []string)
- func PostCmds(cl *dockerClient.Client, app appPkg.App, commands string) error
- func PromptBumpType(tagString, latestRelease, changeOverview string) error
- func PromptProcced() error
- func RetrieveBackupBotContainer(cl *dockerClient.Client) (types.Container, error)
- func RunBackupCmdRemote(cl *dockerClient.Client, backupCmd string, containerID string, ...) (io.Writer, error)
- func RunCmd(cmd *exec.Cmd) error
- func RunCmdRemote(cl *dockerClient.Client, app appPkg.App, disableTTY bool, ...) error
- func SetBumpType(bumpType string)
- func SortVersionsDesc(versions []string) []string
- func ValidateApp(args []string) app.App
- func ValidateDomain(args []string) string
- func ValidateRecipe(args []string, cmdName string) recipe.Recipe
- func ValidateServer(args []string) string
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func DeployOverview ¶
func DeployOverview( app appPkg.App, deployedVersion string, toDeployVersion string, releaseNotes string, warnMessages []string, secrets []string, configs []string, images []string, ) error
DeployOverview shows a deployment overview
func EnsureCommand ¶
func GetEnsureContext ¶
func GetEnsureContext() recipe.EnsureContext
func GetMainAppImage ¶
GetMainAppImage retrieves the main 'app' image name
func MoveOverview ¶
MoveOverview shows a overview before moving an app to a different server
func PostCmds ¶
PostCmds parses a string of commands and executes them inside of the respective services the commands string must have the following format: "<service> <command> <arguments>|<service> <command> <arguments>|... "
func PromptBumpType ¶
PromptBumpType prompts for version bump type
func PromptProcced ¶
func PromptProcced() error
func RetrieveBackupBotContainer ¶
func RetrieveBackupBotContainer(cl *dockerClient.Client) (types.Container, error)
RetrieveBackupBotContainer gets the deployed backupbot container.
func RunBackupCmdRemote ¶
func RunBackupCmdRemote( cl *dockerClient.Client, backupCmd string, containerID string, execEnv []string) (io.Writer, error)
RunBackupCmdRemote runs a backup related command on a remote backupbot container.
func RunCmdRemote ¶
func RunCmdRemote( cl *dockerClient.Client, app appPkg.App, disableTTY bool, abraSh, serviceName, cmdName, cmdArgs, remoteUser string) error
RunCmdRemote executes an abra.sh command in the target service
func SetBumpType ¶
func SetBumpType(bumpType string)
SetBumpType figures out which bump type is specified
func SortVersionsDesc ¶
SortVersionsDesc sorts versions in descending order.
func ValidateApp ¶
ValidateApp ensures the app name arg is valid.
func ValidateDomain ¶
ValidateDomain ensures the domain name arg is valid.
func ValidateRecipe ¶
ValidateRecipe ensures the recipe arg is valid.
func ValidateServer ¶
ValidateServer ensures the server name arg is valid.
Types ¶
This section is empty.