Documentation ΒΆ
Overview ΒΆ
Package build provides Golang bindings for Docker, docker-compose, and Herokuish builds and deployments. It relies on Docker and some Docker images.
Index ΒΆ
Constants ΒΆ
This section is empty.
Variables ΒΆ
This section is empty.
Functions ΒΆ
func NewDockerClient ΒΆ
NewDockerClient creates a new Docker Client from ENV values and negotiates the correct API version
Types ΒΆ
type Builder ΒΆ
type Builder struct {
// contains filtered or unexported fields
}
Builder manages build tools and executes builds
func NewBuilder ΒΆ
func NewBuilder(conf BuilderConfig) *Builder
NewBuilder creates a builder with given configuration
func (*Builder) Build ΒΆ
func (b *Builder) Build(buildType string, d Config, cli *docker.Client, out io.Writer) (func() error, error)
Build executes build and deploy
func (*Builder) GetBuildStageName ΒΆ
GetBuildStageName returns the name of the intermediary container used to build projects
type BuilderConfig ΒΆ
BuilderConfig defines settings for Builder
type LogOptions ΒΆ
LogOptions is used to configure retrieved container logs
Source Files ΒΆ
Click to show internal directories.
Click to hide internal directories.