go-control-plane: github.com/envoyproxy/go-control-plane/envoy/extensions/compression/gzip/decompressor/v3 Index | Files

package envoy_extensions_compression_gzip_decompressor_v3

import "github.com/envoyproxy/go-control-plane/envoy/extensions/compression/gzip/decompressor/v3"


Package Files

gzip.pb.go gzip.pb.validate.go


var File_envoy_extensions_compression_gzip_decompressor_v3_gzip_proto protoreflect.FileDescriptor

type Gzip Uses

type Gzip struct {

    // Value from 9 to 15 that represents the base two logarithmic of the decompressor's window size.
    // The decompression window size needs to be equal or larger than the compression window size.
    // The default window size is 15.
    // This is so that the decompressor can decompress a response compressed by a compressor with any compression window size.
    // For more details about this parameter, please refer to `zlib manual <https://www.zlib.net/manual.html>`_ > inflateInit2.
    WindowBits *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=window_bits,json=windowBits,proto3" json:"window_bits,omitempty"`
    // Value for zlib's decompressor output buffer. If not set, defaults to 4096.
    // See https://www.zlib.net/manual.html for more details.
    ChunkSize *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=chunk_size,json=chunkSize,proto3" json:"chunk_size,omitempty"`
    // contains filtered or unexported fields

func (*Gzip) Descriptor Uses

func (*Gzip) Descriptor() ([]byte, []int)

Deprecated: Use Gzip.ProtoReflect.Descriptor instead.

func (*Gzip) GetChunkSize Uses

func (x *Gzip) GetChunkSize() *wrappers.UInt32Value

func (*Gzip) GetWindowBits Uses

func (x *Gzip) GetWindowBits() *wrappers.UInt32Value

func (*Gzip) ProtoMessage Uses

func (*Gzip) ProtoMessage()

func (*Gzip) ProtoReflect Uses

func (x *Gzip) ProtoReflect() protoreflect.Message

func (*Gzip) Reset Uses

func (x *Gzip) Reset()

func (*Gzip) String Uses

func (x *Gzip) String() string

func (*Gzip) Validate Uses

func (m *Gzip) Validate() error

Validate checks the field values on Gzip with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GzipValidationError Uses

type GzipValidationError struct {
    // contains filtered or unexported fields

GzipValidationError is the validation error returned by Gzip.Validate if the designated constraints aren't met.

func (GzipValidationError) Cause Uses

func (e GzipValidationError) Cause() error

Cause function returns cause value.

func (GzipValidationError) Error Uses

func (e GzipValidationError) Error() string

Error satisfies the builtin error interface

func (GzipValidationError) ErrorName Uses

func (e GzipValidationError) ErrorName() string

ErrorName returns error name.

func (GzipValidationError) Field Uses

func (e GzipValidationError) Field() string

Field function returns field value.

func (GzipValidationError) Key Uses

func (e GzipValidationError) Key() bool

Key function returns key value.

func (GzipValidationError) Reason Uses

func (e GzipValidationError) Reason() string

Reason function returns reason value.

Package envoy_extensions_compression_gzip_decompressor_v3 imports 19 packages (graph) and is imported by 6 packages. Updated 2021-01-07. Refresh now. Tools for package owners.