mg

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2015 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

View Source
const DEFAULT_DISKQUOTA = "1G"
View Source
const DEFAULT_INHERIT = "manifest.yml"
View Source
const DEFAULT_INSTANCE = "1"
View Source
const DEFAULT_MANIFEST = "manifest.yml"
View Source
const DEFAULT_MEMORY = "512M"
View Source
const DEFAULT_PATH = "./"
View Source
const DEFAULT_SERVICE = "0"
View Source
const DEFAULT_STACK = "0"
View Source
const DEFAULT_TIMEOUT = "80"

Variables

This section is empty.

Functions

func IsErrorFromCli

func IsErrorFromCli(err error) bool

func IsNotFoundData

func IsNotFoundData(err error) bool

func IsNotValidData

func IsNotValidData(err error) bool

Types

type Generator

type Generator struct {
	Session *Session
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(manifestPath string, cliConnection plugin.CliConnection) *Generator

func (*Generator) Generate

func (g *Generator) Generate() error

type Session

type Session struct {
	AppName      string
	ManifestPath string
}

type Step

type Step struct {
	StepInterface
	// contains filtered or unexported fields
}

type StepAppname

type StepAppname struct {
	Step
}

func NewStepAppname

func NewStepAppname(cliConnection plugin.CliConnection, appManifest *manifest.Manifest) *StepAppname

func (*StepAppname) Run

func (s *StepAppname) Run() error

type StepBuildpack

type StepBuildpack struct {
	Step
	// contains filtered or unexported fields
}

func NewStepBuildpack

func NewStepBuildpack(cliConnection plugin.CliConnection, appManifest *manifest.Manifest) *StepBuildpack

func (*StepBuildpack) Run

func (s *StepBuildpack) Run() error

type StepCommand

type StepCommand struct {
	Step
}

func NewStepCommand

func NewStepCommand(cliConnection plugin.CliConnection, appManifest *manifest.Manifest) *StepCommand

func (*StepCommand) Run

func (s *StepCommand) Run() error

type StepDiskQuota

type StepDiskQuota struct {
	Step
}

func NewStepDiskQuota

func NewStepDiskQuota(cliConnection plugin.CliConnection, appManifest *manifest.Manifest) *StepDiskQuota

func (*StepDiskQuota) Run

func (s *StepDiskQuota) Run() error

type StepDomain

type StepDomain struct {
	Step
	// contains filtered or unexported fields
}

func NewStepDomain

func NewStepDomain(cliConnection plugin.CliConnection, appManifest *manifest.Manifest) *StepDomain

func (*StepDomain) Run

func (s *StepDomain) Run() error

type StepEnv

type StepEnv struct {
	Step
}

func NewStepEnv

func NewStepEnv(cliConnection plugin.CliConnection, appManifest *manifest.Manifest) *StepEnv

func (*StepEnv) Run

func (s *StepEnv) Run() error

type StepInherit

type StepInherit struct {
	Step
}

func NewStepInherit

func NewStepInherit(cliConnection plugin.CliConnection, appManifest *manifest.Manifest) *StepInherit

func (*StepInherit) Run

func (s *StepInherit) Run() error

type StepInstance

type StepInstance struct {
	Step
}

func NewStepInstance

func NewStepInstance(cliConnection plugin.CliConnection, appManifest *manifest.Manifest) *StepInstance

func (*StepInstance) Run

func (s *StepInstance) Run() error

type StepInterface

type StepInterface interface {
	Run() error
}

type StepMemory

type StepMemory struct {
	Step
}

func NewStepMemory

func NewStepMemory(cliConnection plugin.CliConnection, appManifest *manifest.Manifest) *StepMemory

func (*StepMemory) Run

func (s *StepMemory) Run() error

type StepNoHostname

type StepNoHostname struct {
	Step
}

func NewStepNoHostname

func NewStepNoHostname(cliConnection plugin.CliConnection, appManifest *manifest.Manifest) *StepNoHostname

func (*StepNoHostname) Run

func (s *StepNoHostname) Run() error

type StepNoRoute

type StepNoRoute struct {
	Step
}

func NewStepNoRoute

func NewStepNoRoute(cliConnection plugin.CliConnection, appManifest *manifest.Manifest) *StepNoRoute

func (*StepNoRoute) Run

func (s *StepNoRoute) Run() error

type StepPath

type StepPath struct {
	Step
}

func NewStepPath

func NewStepPath(cliConnection plugin.CliConnection, appManifest *manifest.Manifest) *StepPath

func (*StepPath) Run

func (s *StepPath) Run() error

type StepRandomroute

type StepRandomroute struct {
	Step
}

func NewStepRandomroute

func NewStepRandomroute(cliConnection plugin.CliConnection, appManifest *manifest.Manifest) *StepRandomroute

func (*StepRandomroute) Run

func (s *StepRandomroute) Run() error

type StepService

type StepService struct {
	Step
	// contains filtered or unexported fields
}

func NewStepService

func NewStepService(cliConnection plugin.CliConnection, appManifest *manifest.Manifest) *StepService

func (*StepService) Run

func (s *StepService) Run() error

type StepStack

type StepStack struct {
	Step
	// contains filtered or unexported fields
}

func NewStepStack

func NewStepStack(cliConnection plugin.CliConnection, appManifest *manifest.Manifest) *StepStack

func (*StepStack) Run

func (s *StepStack) Run() error

type StepTimeout

type StepTimeout struct {
	Step
}

func NewStepTimeout

func NewStepTimeout(cliConnection plugin.CliConnection, appManifest *manifest.Manifest) *StepTimeout

func (*StepTimeout) Run

func (s *StepTimeout) Run() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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