Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct {
Name string `yaml:"name"`
Buildpack string `yaml:"buildpack,omitempty"`
Buildpacks []string `yaml:"buildpacks,omitempty"`
Command string `yaml:"command,omitempty"`
DiskQuota string `yaml:"disk_quota,omitempty"`
Memory string `yaml:"memory,omitempty"`
StagingEnv map[string]string `yaml:"staging_env,omitempty"`
RunningEnv map[string]string `yaml:"running_env,omitempty"`
Env map[string]string `yaml:"env,omitempty"`
Services Services `yaml:"services,omitempty"`
}
type Buildpacks ¶
type Buildpacks []Buildpack
type Container ¶
type Container interface {
io.Closer
ID() string
CloseAfterStream(stream *engine.Stream) error
Background() error
Start(logPrefix string, logs io.Writer, restart <-chan time.Time) (status int64, err error)
HealthCheck() <-chan string
Commit(ref string) (imageID string, err error)
ExtractTo(tar io.Reader, path string) error
CopyTo(stream engine.Stream, path string) error
CopyFrom(path string) (engine.Stream, error)
}
type ExportConfig ¶
type ForwardConfig ¶
type ForwardDetails ¶
type Forwarder ¶
func NewForwarder ¶
type NetworkConfig ¶
type ReadResetWriter ¶
type ReadResetWriter interface {
io.ReadWriter
Reset() error
}
type Service ¶
type Service struct {
Name string `json:"name" yaml:"name"`
Label string `json:"label" yaml:"label"`
Tags []string `json:"tags" yaml:"tags"`
Plan string `json:"plan" yaml:"plan"`
Credentials map[string]interface{} `json:"credentials" yaml:"credentials"`
SyslogDrainURL *string `json:"syslog_drain_url" yaml:"syslog_drain_url,omitempty"`
Provider *string `json:"provider" yaml:"provider,omitempty"`
VolumeMounts []string `json:"volume_mounts" yaml:"volume_mounts,omitempty"`
}
type StageConfig ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.