kubernetes/vendor/github.com/peterbourgon/diskv/compression.go

type Compression

// NewGzipCompression returns a Gzip-based Compression.
func NewGzipCompression() Compression {}

// NewGzipCompressionLevel returns a Gzip-based Compression with the given level.
func NewGzipCompressionLevel(level int) Compression {}

// NewZlibCompression returns a Zlib-based Compression.
func NewZlibCompression() Compression {}

// NewZlibCompressionLevel returns a Zlib-based Compression with the given level.
func NewZlibCompressionLevel(level int) Compression {}

// NewZlibCompressionLevelDict returns a Zlib-based Compression with the given
// level, based on the given dictionary.
func NewZlibCompressionLevelDict(level int, dict []byte) Compression {}

type genericCompression

func (g *genericCompression) Writer(dst io.Writer) (io.WriteCloser, error) {}

func (g *genericCompression) Reader(src io.Reader) (io.ReadCloser, error) {}