handlers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2016 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Debug bool
View Source
var Force bool
View Source
var Host string
View Source
var Log bool
View Source
var Port int
View Source
var SSL bool

Functions

func AppCreate

func AppCreate(env *env.Env, name, tag string) (string, error)

func AppRemove

func AppRemove(c *cli.Context) error

func AppRestart

func AppRestart(c *cli.Context) error

func AppStart

func AppStart(c *cli.Context) error

func AppStop

func AppStop(c *cli.Context) error

func It

func It(c *cli.Context) error

func NewEnv

func NewEnv() *env.Env

func PackFiles

func PackFiles(env *env.Env, tw *tar.Writer, filesPath string, storedFiles map[string]string, excludePatterns []string) (map[string]string, error)

Types

type AppInfo

type AppInfo struct {
	UUID string `yaml:"uuid"`
	Name string `yaml:"name"`
	Tag  string `yaml:"tag"`
	URL  string `yaml:"url"`
}

func (*AppInfo) Read

func (a *AppInfo) Read(log interfaces.ILog, path, host string) error

func (AppInfo) Write

func (a AppInfo) Write(log interfaces.ILog, path, host, uuid, name, tag, url string) error

Jump to

Keyboard shortcuts

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