parent
49f65edb89
commit
301da72ce3
|
@ -26,7 +26,7 @@ type Builder interface {
|
|||
|
||||
// Solver provides a shared graph of all the vertexes currently being
|
||||
// processed. Every vertex that is being solved needs to be loaded into job
|
||||
// first. Vertex operations are invoked and progress tracking happends through
|
||||
// first. Vertex operations are invoked and progress tracking happens through
|
||||
// jobs.
|
||||
type Solver struct {
|
||||
mu sync.RWMutex
|
||||
|
|
|
@ -18,7 +18,7 @@ import (
|
|||
// DockerExporter implements containerd/images.Exporter to
|
||||
// Docker Combined Image JSON + Filesystem Changeset Format v1.1
|
||||
// https://github.com/moby/moby/blob/master/image/spec/v1.1.md#combined-image-json--filesystem-changeset-format
|
||||
// The outputed tarball is also compatible wih OCI Image Format Specification
|
||||
// The output tarball is also compatible with OCI Image Format Specification
|
||||
type DockerExporter struct {
|
||||
Name string
|
||||
}
|
||||
|
|
|
@ -124,7 +124,7 @@ func (p *Puller) Pull(ctx context.Context) (*Pulled, error) {
|
|||
childrenHandler := images.ChildrenHandler(p.ContentStore)
|
||||
// Set any children labels for that content
|
||||
childrenHandler = images.SetChildrenLabels(p.ContentStore, childrenHandler)
|
||||
// Filter the childen by the platform
|
||||
// Filter the children by the platform
|
||||
childrenHandler = images.FilterPlatforms(childrenHandler, platform)
|
||||
// Limit manifests pulled to the best match in an index
|
||||
childrenHandler = images.LimitManifests(childrenHandler, platform, 1)
|
||||
|
|
Loading…
Reference in New Issue