Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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.
Click to show internal directories.
Click to hide internal directories.