app

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	UUID       string                `json:"uuid" yaml:"uuid"`
	Name       string                `json:"name" yaml:"name"`
	Tag        string                `json:"tag" yaml:"tag"`
	Scale      int                   `json:"scale" yaml:"scale"`
	Layer      Layer                 `json:"layer" yaml:"layer"`
	Containers map[string]*Container `json:"container" yaml:"container"`
}

func (*App) Build

func (a *App) Build(e *env.Env, writer io.Writer) error

func (*App) Create

func (a *App) Create(e *env.Env, name, tag string) error

func (*App) Destroy

func (a *App) Destroy(e *env.Env) error

func (*App) Get

func (a *App) Get(e *env.Env, uuid string) error

func (*App) Remove

func (a *App) Remove(e *env.Env) error

func (*App) Restart

func (a *App) Restart(e *env.Env) error

func (*App) Start

func (a *App) Start(e *env.Env) error

func (*App) Stop

func (a *App) Stop(e *env.Env) error

func (*App) Update

func (a *App) Update(e *env.Env) error

type Container

type Container struct {
	ID string `json:"id" yaml:"id"`
}

type Layer

type Layer struct {
	ID      string    `json:"id" yaml:"id"`
	Created time.Time `json:"created" yaml:"created"`
	Updated time.Time `json:"updated" yaml:"updated"`
}

func (*Layer) CreateFromTarGz

func (l *Layer) CreateFromTarGz(path string, excludes []string) error

func (*Layer) CreateFromUrl

func (l *Layer) CreateFromUrl(url string) error

Jump to

Keyboard shortcuts

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