package exporter
import "github.com/dotcloud/docker/builder/builder-next/exporter"
Index ¶
- Constants
- func NewWrapper(exp exporter.Exporter, callbacks BuildkitCallbacks) (exporter.Exporter, error)
- type BuildkitCallbacks
Constants ¶
const Moby = "moby"
Functions ¶
func NewWrapper ¶
NewWrapper returns an exporter wrapper that applies moby specific attributes and hooks the export process.
Types ¶
type BuildkitCallbacks ¶
type BuildkitCallbacks struct { // Exported is a Called when an image is exported by buildkit. Exported func(ctx context.Context, id string, desc ocispec.Descriptor) // Named is a callback that is called when an image is created in the // containerd image store by buildkit. Named func(ctx context.Context, ref reference.NamedTagged, desc ocispec.Descriptor) }
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
builder/builder-next/exporter/mobyexporter | |
builder/builder-next/exporter/overrides |
- Version
- v28.0.1+incompatible
- Published
- Feb 26, 2025
- Platform
- js/wasm
- Imports
- 8 packages
- Last checked
- 1 hour ago –
Tools for package owners.