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

Method OCITarReader

src/cmd/linuxkit/spec/image.go:22–22  ·  view source on GitHub ↗

OCITarReader get the image as an OCI tarball, also compatible with `docker load`. If name arg is not "", override name of image in tarfile from default of image.

(overrideName string)

Source from the content-addressed store, hash-verified

20 V1TarReader(overrideName string) (io.ReadCloser, error)
21 // OCITarReader get the image as an OCI tarball, also compatible with `docker load`. If name arg is not "", override name of image in tarfile from default of image.
22 OCITarReader(overrideName string) (io.ReadCloser, error)
23 // SBoM get the sbom for the image, if any is available
24 SBoMs() ([]io.ReadCloser, error)
25}

Callers 1

cacheExportCmdFunction · 0.65

Implementers 3

ImageSourcesrc/cmd/linuxkit/cache/imagesource.go
cacheMockerSourcesrc/cmd/linuxkit/pkglib/build_test.go
ImageSourcesrc/cmd/linuxkit/docker/source.go

Calls

no outgoing calls

Tested by

no test coverage detected