Documentation ¶
Index ¶
Constants ¶
View Source
const ( DropletStack = "cflinuxfs2" DropletRootFS = "preloaded:" + DropletStack )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobStore ¶
type BlobStore interface { List() ([]blob.Blob, error) Delete(path string) error Upload(path string, contents io.ReadSeeker) error Download(path string) (io.ReadCloser, error) blob_store.DropletStore }
type DropletRunner ¶
type DropletRunner interface { UploadBits(dropletName, uploadPath string) error BuildDroplet(taskName, dropletName, buildpackUrl string, environment map[string]string, memoryMB, cpuWeight, diskMB int) error LaunchDroplet(appName, dropletName, startCommand string, startArgs []string, appEnvironmentParams app_runner.AppEnvironmentParams) error ListDroplets() ([]Droplet, error) RemoveDroplet(dropletName string) error ExportDroplet(dropletName string) (io.ReadCloser, error) ImportDroplet(dropletName, dropletPath string) error }
func New ¶
func New(appRunner app_runner.AppRunner, taskRunner task_runner.TaskRunner, config *config.Config, blobStore BlobStore, appExaminer app_examiner.AppExaminer, proxyConfReader ProxyConfReader) DropletRunner
type HTTPProxyConfReader ¶
type HTTPProxyConfReader struct {
URL string
}
func (*HTTPProxyConfReader) ProxyConf ¶
func (p *HTTPProxyConfReader) ProxyConf() (ProxyConf, error)
type ProxyConfReader ¶
Directories ¶
Path | Synopsis |
---|---|
cf_ignore/fake_cf_ignore
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
fake_blob_store_verifier
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
zipper/fake_zipper
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.