apps

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2015 License: BSD-4-Clause, MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(appName string) error

func Destroy

func Destroy(appName string) error

func List

func List() error

func Logs

func Logs(appName string, stream bool, n int) error

func Ps added in v1.1.0

func Ps(app string) error

func ReadJson

func ReadJson(body io.ReadCloser, out interface{}) error

func Restart added in v1.1.0

func Restart(app string, sync bool, args []string) error

func Run

func Run(app string, command []string, cmdEnv []string, files []string) error

func Scale added in v1.1.0

func Scale(app string, sync bool, types []string) error

Types

type LogsRes added in v1.1.0

type LogsRes struct {
	LogsURL string   `json:"logs_url"`
	App     *api.App `json:"app"`
}

type ScaleRes added in v1.1.0

type ScaleRes struct {
	Containers []api.Container `json:"containers"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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