v1util

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

View Source
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

View Source
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

View Source
var IsGzipped = gzip.Is

IsGzipped detects whether the input stream is compressed. TODO(#873): Remove this package. Deprecated: please move off of this API

View Source
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

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL