apps

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2014 License: BSD-4-Clause, MIT Imports: 29 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(appName string)

func Destroy

func Destroy(id string)

func List

func List() error

func Logs

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

func ReadJson

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

func Run

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

Types

type App

type App struct {
	Id    string `json:"_id"`
	Name  string `json:"name"`
	Owner struct {
		Email string `json:"email"`
		Id    string `json:"_id"`
	} `json: "owner"`
	GitUrl    string    `json:"git_url"`
	CreatedAt time.Time `json:"created_at"`
	UpdatedAt time.Time `json:"update_at"`
	LogsURL   string    `json:"logs_url"`
}

func (App) String

func (app App) String() string

type UpdateTtyParams

type UpdateTtyParams struct {
	Width  string `json: "width"`
	Height string `json: "height"`
}

Jump to

Keyboard shortcuts

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