Documentation ¶
Index ¶
- Constants
- func IsErrorFromCli(err error) bool
- func IsNotFoundData(err error) bool
- func IsNotValidData(err error) bool
- type Generator
- type Session
- type Step
- type StepAppname
- type StepBuildpack
- type StepCommand
- type StepDiskQuota
- type StepDomain
- type StepEnv
- type StepInherit
- type StepInstance
- type StepInterface
- type StepMemory
- type StepNoHostname
- type StepNoRoute
- type StepPath
- type StepRandomroute
- type StepService
- type StepStack
- type StepTimeout
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 IsNotFoundData ¶
func IsNotValidData ¶
Types ¶
type Generator ¶
type Generator struct { Session *Session // contains filtered or unexported fields }
func NewGenerator ¶
func NewGenerator(manifestPath string, cliConnection plugin.CliConnection) *Generator
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
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
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
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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.