MCPcopy Index your code
hub / github.com/linuxkit/linuxkit / ImageSource

Struct ImageSource

src/cmd/linuxkit/docker/source.go:27–29  ·  view source on GitHub ↗

ImageSource a source for an image in the docker engine. Implements a moby.ImageSource.

Source from the content-addressed store, hash-verified

25// ImageSource a source for an image in the docker engine.
26// Implements a moby.ImageSource.
27type ImageSource struct {
28 ref *reference.Spec
29}
30
31// NewSource return an ImageSource for a specific ref from docker.
32func NewSource(ref *reference.Spec) ImageSource {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected