deploy

package
v1.0.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2016 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pack

func Pack(dest, cpath string) error

Pack packages a POD to a .pod package

Types

type Deploy

type Deploy struct {
	Project       *projects.Project
	Container     *containers.Container
	ContainerPath string
	PackageSize   uint64
	// contains filtered or unexported fields
}

Deploy holds the information of a POD to be packed or deployed

func New

func New(cpath string) (*Deploy, error)

New Deploy instance

func (*Deploy) Deploy

func (d *Deploy) Deploy(src string) error

Deploy POD to WeDeploy

func (*Deploy) HooksAndOnly

func (d *Deploy) HooksAndOnly(df *Flags) error

HooksAndOnly run the hooks and Only method

func (*Deploy) Only

func (d *Deploy) Only() error

Only PODify a container and deploys it to WeDeploy

func (*Deploy) Pack

func (d *Deploy) Pack(dest string) (err error)

Pack packages a POD to a .pod package

type Flags

type Flags struct {
	Quiet bool
	Hooks bool
}

Flags modifiers

Jump to

Keyboard shortcuts

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