go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/filter/http/gzip/v2 Index | Files

package envoy_config_filter_http_gzip_v2

import "github.com/envoyproxy/go-control-plane/envoy/config/filter/http/gzip/v2"

Index

Package Files

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

Variables

var (
    Gzip_CompressionStrategy_name = map[int32]string{
        0:  "DEFAULT",
        1:  "FILTERED",
        2:  "HUFFMAN",
        3:  "RLE",
    }
    Gzip_CompressionStrategy_value = map[string]int32{
        "DEFAULT":  0,
        "FILTERED": 1,
        "HUFFMAN":  2,
        "RLE":      3,
    }
)

Enum value maps for Gzip_CompressionStrategy.

var (
    Gzip_CompressionLevel_Enum_name = map[int32]string{
        0:  "DEFAULT",
        1:  "BEST",
        2:  "SPEED",
    }
    Gzip_CompressionLevel_Enum_value = map[string]int32{
        "DEFAULT": 0,
        "BEST":    1,
        "SPEED":   2,
    }
)

Enum value maps for Gzip_CompressionLevel_Enum.

var File_envoy_config_filter_http_gzip_v2_gzip_proto protoreflect.FileDescriptor

type Gzip Uses

type Gzip struct {
    MemoryLevel *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=memory_level,json=memoryLevel,proto3" json:"memory_level,omitempty"`
    // Deprecated: Do not use.
    ContentLength       *wrappers.UInt32Value      `protobuf:"bytes,2,opt,name=content_length,json=contentLength,proto3" json:"content_length,omitempty"`
    CompressionLevel    Gzip_CompressionLevel_Enum `protobuf:"varint,3,opt,name=compression_level,json=compressionLevel,proto3,enum=envoy.config.filter.http.gzip.v2.Gzip_CompressionLevel_Enum" json:"compression_level,omitempty"`
    CompressionStrategy Gzip_CompressionStrategy   `protobuf:"varint,4,opt,name=compression_strategy,json=compressionStrategy,proto3,enum=envoy.config.filter.http.gzip.v2.Gzip_CompressionStrategy" json:"compression_strategy,omitempty"`
    // Deprecated: Do not use.
    ContentType []string `protobuf:"bytes,6,rep,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
    // Deprecated: Do not use.
    DisableOnEtagHeader bool `protobuf:"varint,7,opt,name=disable_on_etag_header,json=disableOnEtagHeader,proto3" json:"disable_on_etag_header,omitempty"`
    // Deprecated: Do not use.
    RemoveAcceptEncodingHeader bool                  `protobuf:"varint,8,opt,name=remove_accept_encoding_header,json=removeAcceptEncodingHeader,proto3" json:"remove_accept_encoding_header,omitempty"`
    WindowBits                 *wrappers.UInt32Value `protobuf:"bytes,9,opt,name=window_bits,json=windowBits,proto3" json:"window_bits,omitempty"`
    Compressor                 *v2.Compressor        `protobuf:"bytes,10,opt,name=compressor,proto3" json:"compressor,omitempty"`
    // contains filtered or unexported fields
}

func (*Gzip) Descriptor Uses

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

Deprecated: Use Gzip.ProtoReflect.Descriptor instead.

func (*Gzip) GetCompressionLevel Uses

func (x *Gzip) GetCompressionLevel() Gzip_CompressionLevel_Enum

func (*Gzip) GetCompressionStrategy Uses

func (x *Gzip) GetCompressionStrategy() Gzip_CompressionStrategy

func (*Gzip) GetCompressor Uses

func (x *Gzip) GetCompressor() *v2.Compressor

func (*Gzip) GetContentLength Uses

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

Deprecated: Do not use.

func (*Gzip) GetContentType Uses

func (x *Gzip) GetContentType() []string

Deprecated: Do not use.

func (*Gzip) GetDisableOnEtagHeader Uses

func (x *Gzip) GetDisableOnEtagHeader() bool

Deprecated: Do not use.

func (*Gzip) GetMemoryLevel Uses

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

func (*Gzip) GetRemoveAcceptEncodingHeader Uses

func (x *Gzip) GetRemoveAcceptEncodingHeader() bool

Deprecated: Do not use.

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.

type Gzip_CompressionLevel Uses

type Gzip_CompressionLevel struct {
    // contains filtered or unexported fields
}

func (*Gzip_CompressionLevel) Descriptor Uses

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

Deprecated: Use Gzip_CompressionLevel.ProtoReflect.Descriptor instead.

func (*Gzip_CompressionLevel) ProtoMessage Uses

func (*Gzip_CompressionLevel) ProtoMessage()

func (*Gzip_CompressionLevel) ProtoReflect Uses

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

func (*Gzip_CompressionLevel) Reset Uses

func (x *Gzip_CompressionLevel) Reset()

func (*Gzip_CompressionLevel) String Uses

func (x *Gzip_CompressionLevel) String() string

func (*Gzip_CompressionLevel) Validate Uses

func (m *Gzip_CompressionLevel) Validate() error

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

type Gzip_CompressionLevelValidationError Uses

type Gzip_CompressionLevelValidationError struct {
    // contains filtered or unexported fields
}

Gzip_CompressionLevelValidationError is the validation error returned by Gzip_CompressionLevel.Validate if the designated constraints aren't met.

func (Gzip_CompressionLevelValidationError) Cause Uses

func (e Gzip_CompressionLevelValidationError) Cause() error

Cause function returns cause value.

func (Gzip_CompressionLevelValidationError) Error Uses

func (e Gzip_CompressionLevelValidationError) Error() string

Error satisfies the builtin error interface

func (Gzip_CompressionLevelValidationError) ErrorName Uses

func (e Gzip_CompressionLevelValidationError) ErrorName() string

ErrorName returns error name.

func (Gzip_CompressionLevelValidationError) Field Uses

func (e Gzip_CompressionLevelValidationError) Field() string

Field function returns field value.

func (Gzip_CompressionLevelValidationError) Key Uses

func (e Gzip_CompressionLevelValidationError) Key() bool

Key function returns key value.

func (Gzip_CompressionLevelValidationError) Reason Uses

func (e Gzip_CompressionLevelValidationError) Reason() string

Reason function returns reason value.

type Gzip_CompressionLevel_Enum Uses

type Gzip_CompressionLevel_Enum int32
const (
    Gzip_CompressionLevel_DEFAULT Gzip_CompressionLevel_Enum = 0
    Gzip_CompressionLevel_BEST    Gzip_CompressionLevel_Enum = 1
    Gzip_CompressionLevel_SPEED   Gzip_CompressionLevel_Enum = 2
)

func (Gzip_CompressionLevel_Enum) Descriptor Uses

func (Gzip_CompressionLevel_Enum) Descriptor() protoreflect.EnumDescriptor

func (Gzip_CompressionLevel_Enum) Enum Uses

func (x Gzip_CompressionLevel_Enum) Enum() *Gzip_CompressionLevel_Enum

func (Gzip_CompressionLevel_Enum) EnumDescriptor Uses

func (Gzip_CompressionLevel_Enum) EnumDescriptor() ([]byte, []int)

Deprecated: Use Gzip_CompressionLevel_Enum.Descriptor instead.

func (Gzip_CompressionLevel_Enum) Number Uses

func (x Gzip_CompressionLevel_Enum) Number() protoreflect.EnumNumber

func (Gzip_CompressionLevel_Enum) String Uses

func (x Gzip_CompressionLevel_Enum) String() string

func (Gzip_CompressionLevel_Enum) Type Uses

func (Gzip_CompressionLevel_Enum) Type() protoreflect.EnumType

type Gzip_CompressionStrategy Uses

type Gzip_CompressionStrategy int32
const (
    Gzip_DEFAULT  Gzip_CompressionStrategy = 0
    Gzip_FILTERED Gzip_CompressionStrategy = 1
    Gzip_HUFFMAN  Gzip_CompressionStrategy = 2
    Gzip_RLE      Gzip_CompressionStrategy = 3
)

func (Gzip_CompressionStrategy) Descriptor Uses

func (Gzip_CompressionStrategy) Descriptor() protoreflect.EnumDescriptor

func (Gzip_CompressionStrategy) Enum Uses

func (x Gzip_CompressionStrategy) Enum() *Gzip_CompressionStrategy

func (Gzip_CompressionStrategy) EnumDescriptor Uses

func (Gzip_CompressionStrategy) EnumDescriptor() ([]byte, []int)

Deprecated: Use Gzip_CompressionStrategy.Descriptor instead.

func (Gzip_CompressionStrategy) Number Uses

func (x Gzip_CompressionStrategy) Number() protoreflect.EnumNumber

func (Gzip_CompressionStrategy) String Uses

func (x Gzip_CompressionStrategy) String() string

func (Gzip_CompressionStrategy) Type Uses

func (Gzip_CompressionStrategy) Type() protoreflect.EnumType

Package envoy_config_filter_http_gzip_v2 imports 20 packages (graph) and is imported by 3 packages. Updated 2020-07-20. Refresh now. Tools for package owners.