package build
import "github.com/docker/cli/components/engine/api/server/router/build"
Index ¶
Functions ¶
func NewRouter ¶
NewRouter initializes a new build router
Types ¶
type Backend ¶
type Backend interface { // Build a Docker image returning the id of the image // TODO: make this return a reference instead of string Build(context.Context, backend.BuildConfig) (string, error) // Prune build cache PruneCache(context.Context) (*types.BuildCachePruneReport, 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
- v17.10.0-ce-rc2+incompatible
- Published
- Oct 12, 2017
- Platform
- linux/amd64
- Imports
- 23 packages
- Last checked
- 6 seconds ago –
Tools for package owners.