herogate

package
v0.0.0-...-b748cd6 Latest Latest
Warning

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

Go to latest
Published: May 13, 2018 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apps

func Apps(ctx *cli.Context)

Apps returns your apps.

func AppsCreate

func AppsCreate(ctx *cli.Context) error

AppsCreate creates a new app with application name provided from CLI. If application name is not provided, This action creates Heroku-like random application name.

func AppsDestroy

func AppsDestroy(ctx *cli.Context) error

AppsDestroy destroys the application. After that, it removes herogate remote from local git repository.

func AppsInfo

func AppsInfo(ctx *cli.Context) error

AppsInfo displays the application details. It includes platform version, container definiations, endpoint and repository URL.

func AppsOpen

func AppsOpen(ctx *cli.Context) error

AppsOpen opens the application endpoint on default browser. If you pass a path, opens the endpoint with the path.

func Config

func Config(ctx *cli.Context) error

Config displays environment variables of the application container.

func ConfigGet

func ConfigGet(ctx *cli.Context) error

ConfigGet displays an environment variable of the application container.

func ConfigSet

func ConfigSet(ctx *cli.Context) error

ConfigSet injects environment variables to application containers.

func ConfigUnset

func ConfigUnset(ctx *cli.Context) error

ConfigUnset deletes environment variables from application containers.

func InternalGenerateTemplate

func InternalGenerateTemplate(ctx *cli.Context) error

InternalGenerateTemplate generates new stack template from image name. It gets template from the current stack and replace image by specified new image name. Finally, it puts generated template to stdout.

func Logs

func Logs(ctx *cli.Context) error

Logs retrieves logs from builder, deployer, and app containers.

func Ps

func Ps(ctx *cli.Context) error

Ps returns containers in an app.

Types

This section is empty.

Jump to

Keyboard shortcuts

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