Package builder defines interfaces for any Docker builder to implement.
Historically, only server-side Dockerfile interpreters existed. This package allows for other implementations of Docker builders.
const ( DefaultDockerfileName = "Dockerfile" )
This section is empty.
This section is empty.
Backend abstracts calls to a Docker Daemon.
type ExecBackend interface { ContainerAttachRaw(cID string, stdin io.ReadCloser, stdout, stderr io.Writer, stream bool, attached chan struct{}) error ContainerCreateIgnoreImagesArgsEscaped(ctx context.Context, config backend.ContainerCreateConfig) (container.CreateResponse, error) ContainerRm(name string, config *backend.ContainerRmConfig) error ContainerStart(ctx context.Context, containerID string, checkpoint string, checkpointDir string) error ContainerWait(ctx context.Context, name string, condition container.WaitCondition) (<-chan containerpkg.StateStatus, error) }
ExecBackend contains the interface methods required for executing containers
Image represents a Docker image used by the builder.
ImageBackend are the interface methods required from an image component
ImageCache abstracts an image cache. (parent image, child runconfig) -> child image
ImageCacheBuilder represents a generator for stateful image cache.
ROLayer is a reference to image rootfs layer
RWLayer is active layer that can be read/modified
Result is the output produced by a Builder
Source defines a location that can be used as a source for the ADD/COPY instructions in the builder.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4