git

package
v0.0.0-...-117299a Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Curl

func Curl(app model.App, banner string)

Curl polls an app over HTTP until it returns the expected "Powered by" banner.

func Push

func Push(user model.User, keyPath string, app model.App, banner string)

Push executes a `git push deis master` from the current directory using the provided key.

func PushUntilResult

func PushUntilResult(user model.User, keyPath string, expectedCmdResult model.CmdResult)

PushUntilResult executes a `git push deis master` from the current directory using the provided key, until the command result satisfies expectedCmdResult of type model.CmdResult, failing if settings.DefaultEventuallyTimeout is reached first.

func PushWithInterrupt

func PushWithInterrupt(user model.User, keyPath string)

PushWithInterrupt executes a `git push deis master` from the current directory using the provided key, but then halts the progress via SIGINT.

func StartPush

func StartPush(user model.User, keyPath string) *Session

StartPush starts a `git push deis master` command and returns the command session.

Types

This section is empty.

Jump to

Keyboard shortcuts

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