MCPcopy Create free account
hub / github.com/linuxkit/linuxkit / V1TarReader

Method V1TarReader

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

V1TarReader get the image as v1 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

18 TarReader() (io.ReadCloser, error)
19 // V1TarReader get the image as v1 tarball, also compatible with `docker load`. If name arg is not "", override name of image in tarfile from default of image.
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

Callers 2

cacheExportCmdFunction · 0.65
BuildMethod · 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