Documentation ¶
Index ¶
Constants ¶
View Source
const RunnerScript = `` /* 731-byte string literal not displayed */
View Source
const StagerScript = `` /* 144-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { Name string `yaml:"name"` Command string `yaml:"command,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 service.Services `yaml:"services,omitempty"` }
type BuildpackList ¶ added in v0.10.0
type BuildpackList []Buildpack
var Buildpacks BuildpackList = []Buildpack{
{
Name: "staticfile_buildpack",
URL: "https://github.com/cloudfoundry/staticfile-buildpack/releases/download/v{{.}}/staticfile-buildpack-v{{.}}.zip",
VersionURL: "https://raw.githubusercontent.com/sclevine/cflocal-data/master/versions/staticfile-buildpack",
},
{
Name: "java_buildpack",
URL: "https://github.com/cloudfoundry/java-buildpack/releases/download/v{{.}}/java-buildpack-v{{.}}.zip",
VersionURL: "https://raw.githubusercontent.com/sclevine/cflocal-data/master/versions/java-buildpack",
},
{
Name: "ruby_buildpack",
URL: "https://github.com/cloudfoundry/ruby-buildpack/releases/download/v{{.}}/ruby-buildpack-v{{.}}.zip",
VersionURL: "https://raw.githubusercontent.com/sclevine/cflocal-data/master/versions/ruby-buildpack",
},
{
Name: "nodejs_buildpack",
URL: "https://github.com/cloudfoundry/nodejs-buildpack/releases/download/v{{.}}/nodejs-buildpack-v{{.}}.zip",
VersionURL: "https://raw.githubusercontent.com/sclevine/cflocal-data/master/versions/nodejs-buildpack",
},
{
Name: "go_buildpack",
URL: "https://github.com/cloudfoundry/go-buildpack/releases/download/v{{.}}/go-buildpack-v{{.}}.zip",
VersionURL: "https://raw.githubusercontent.com/sclevine/cflocal-data/master/versions/go-buildpack",
},
{
Name: "python_buildpack",
URL: "https://github.com/cloudfoundry/python-buildpack/releases/download/v{{.}}/python-buildpack-v{{.}}.zip",
VersionURL: "https://raw.githubusercontent.com/sclevine/cflocal-data/master/versions/python-buildpack",
},
{
Name: "php_buildpack",
URL: "https://github.com/cloudfoundry/php-buildpack/releases/download/v{{.}}/php-buildpack-v{{.}}.zip",
VersionURL: "https://raw.githubusercontent.com/sclevine/cflocal-data/master/versions/php-buildpack",
},
{
Name: "dotnet_core_buildpack",
URL: "https://github.com/cloudfoundry/dotnet-core-buildpack/releases/download/v{{.}}/dotnet-core-buildpack-v{{.}}.zip",
VersionURL: "https://raw.githubusercontent.com/sclevine/cflocal-data/master/versions/dotnet-core-buildpack",
},
{
Name: "binary_buildpack",
URL: "https://github.com/cloudfoundry/binary-buildpack/releases/download/v{{.}}/binary-buildpack-v{{.}}.zip",
VersionURL: "https://raw.githubusercontent.com/sclevine/cflocal-data/master/versions/binary-buildpack",
},
}
type Container ¶ added in v0.10.0
type Container interface { io.Closer CloseAfterStream(stream *engine.Stream) error Start(logPrefix string, logs io.Writer) (status int64, err error) 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 DockerEngine ¶ added in v0.10.0
func (*DockerEngine) NewContainer ¶ added in v0.10.0
func (d *DockerEngine) NewContainer(config *container.Config, hostConfig *container.HostConfig) (Container, error)
type ExportConfig ¶
type ReadResetWriter ¶ added in v0.10.0
type ReadResetWriter interface { io.ReadWriter Reset() error }
type StageConfig ¶
type Stager ¶
Click to show internal directories.
Click to hide internal directories.