package exporter
import "github.com/dotcloud/docker/builder/builder-next/exporter"
Index ¶
- Constants
- func NewWrapper(exp exporter.Exporter, opt Opt) (exporter.Exporter, error)
- type BuildkitCallbacks
- type ImageTagger
- type Opt
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) }
type ImageTagger ¶
type ImageTagger interface { TagImage(ctx context.Context, imageID image.ID, newTag distref.Named) error }
type Opt ¶
type Opt struct { // Callbacks contains callbacks used by the image exporter. Callbacks BuildkitCallbacks // ImageTagger is used to tag the image after it is exported. ImageTagger ImageTagger }
Opt are options for the exporter wrapper.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
builder/builder-next/exporter/mobyexporter | |
builder/builder-next/exporter/overrides |
- Version
- v28.2.0-rc.2+incompatible
- Published
- May 22, 2025
- Platform
- linux/amd64
- Imports
- 10 packages
- Last checked
- 6 minutes ago –
Tools for package owners.