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.11.0-ce+incompatible
- Published
- Nov 20, 2017
- Platform
- linux/amd64
- Imports
- 25 packages
- Last checked
- 2 hours ago –
Tools for package owners.