package build
import "github.com/docker/docker/api/server/router/build"
Index ¶
Functions ¶
func NewRouter ¶
NewRouter initializes a new build router
Types ¶
type Backend ¶
type Backend interface { // Build builds a Docker image referenced by an imageID string. // // Note: Tagging an image should not be done by a Builder, it should instead be done // by the caller. // // TODO: make this return a reference instead of string Build(clientCtx context.Context, config *types.ImageBuildOptions, context builder.Context, stdout io.Writer, stderr io.Writer, out io.Writer, clientGone <-chan bool) (string, error) }
Backend abstracts an image builder whose only purpose is to build an image referenced by an imageID.
Source Files ¶
backend.go build.go build_routes.go
- Version
- v1.11.1
- Published
- Apr 26, 2016
- Platform
- js/wasm
- Imports
- 20 packages
- Last checked
- 3 minutes ago –
Tools for package owners.