package v1util
import "github.com/google/go-containerregistry/pkg/v1/v1util"
Index ¶
Variables ¶
var GunzipReadCloser = gzip.UnzipReadCloser
GunzipReadCloser reads compressed input data from the io.ReadCloser and returns an io.ReadCloser from which uncompessed data may be read. TODO(#873): Remove this package. Deprecated: please move off of this API
var GzipReadCloser = gzip.ReadCloser
GzipReadCloser reads uncompressed input data from the io.ReadCloser and returns an io.ReadCloser from which compressed data may be read. This uses gzip.BestSpeed for the compression level. TODO(#873): Remove this package. Deprecated: please move off of this API
var GzipReadCloserLevel = gzip.ReadCloserLevel
GzipReadCloserLevel reads uncompressed input data from the io.ReadCloser and returns an io.ReadCloser from which compressed data may be read. Refer to compress/gzip for the level: https://golang.org/pkg/compress/gzip/#pkg-constants TODO(#873): Remove this package. Deprecated: please move off of this API
IsGzipped detects whether the input stream is compressed. TODO(#873): Remove this package. Deprecated: please move off of this API
var VerifyReadCloser = verify.ReadCloser
VerifyReadCloser wraps the given io.ReadCloser to verify that its contents match the provided v1.Hash before io.EOF is returned. TODO(#873): Remove this package. Deprecated: please use v1.VerifyReadCloser
Source Files ¶
- Version
- v0.3.0
- Published
- Dec 22, 2020
- Platform
- windows/amd64
- Imports
- 2 packages
- Last checked
- 3 hours ago –
Tools for package owners.