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

Struct IndexSource

src/cmd/linuxkit/cache/indexsource.go:19–24  ·  view source on GitHub ↗

IndexSource a source for an image in the OCI distribution cache. Implements a spec.ImageSource.

Source from the content-addressed store, hash-verified

17// IndexSource a source for an image in the OCI distribution cache.
18// Implements a spec.ImageSource.
19type IndexSource struct {
20 ref *reference.Spec
21 provider *Provider
22 descriptor *v1.Descriptor
23 platforms []imagespec.Platform
24}
25
26// NewIndexSource return an IndexSource for a specific ref in the given
27// cache directory.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected