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

package envoy_extensions_filters_http_decompressor_v3

import "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/http/decompressor/v3"

Index

Package Files

decompressor.pb.go decompressor.pb.validate.go

Variables

var File_envoy_extensions_filters_http_decompressor_v3_decompressor_proto protoreflect.FileDescriptor

type Decompressor Uses

type Decompressor struct {

    // A decompressor library to use for both request and response decompression. Currently only
    // :ref:`envoy.compression.gzip.compressor<envoy_api_msg_extensions.compression.gzip.decompressor.v3.Gzip>`
    // is included in Envoy.
    DecompressorLibrary *v3.TypedExtensionConfig `protobuf:"bytes,1,opt,name=decompressor_library,json=decompressorLibrary,proto3" json:"decompressor_library,omitempty"`
    // Configuration for request decompression. Decompression is enabled by default if left empty.
    RequestDirectionConfig *Decompressor_RequestDirectionConfig `protobuf:"bytes,2,opt,name=request_direction_config,json=requestDirectionConfig,proto3" json:"request_direction_config,omitempty"`
    // Configuration for response decompression. Decompression is enabled by default if left empty.
    ResponseDirectionConfig *Decompressor_ResponseDirectionConfig `protobuf:"bytes,3,opt,name=response_direction_config,json=responseDirectionConfig,proto3" json:"response_direction_config,omitempty"`
    // contains filtered or unexported fields
}

func (*Decompressor) Descriptor Uses

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

Deprecated: Use Decompressor.ProtoReflect.Descriptor instead.

func (*Decompressor) GetDecompressorLibrary Uses

func (x *Decompressor) GetDecompressorLibrary() *v3.TypedExtensionConfig

func (*Decompressor) GetRequestDirectionConfig Uses

func (x *Decompressor) GetRequestDirectionConfig() *Decompressor_RequestDirectionConfig

func (*Decompressor) GetResponseDirectionConfig Uses

func (x *Decompressor) GetResponseDirectionConfig() *Decompressor_ResponseDirectionConfig

func (*Decompressor) ProtoMessage Uses

func (*Decompressor) ProtoMessage()

func (*Decompressor) ProtoReflect Uses

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

func (*Decompressor) Reset Uses

func (x *Decompressor) Reset()

func (*Decompressor) String Uses

func (x *Decompressor) String() string

func (*Decompressor) Validate Uses

func (m *Decompressor) Validate() error

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

type DecompressorValidationError Uses

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

DecompressorValidationError is the validation error returned by Decompressor.Validate if the designated constraints aren't met.

func (DecompressorValidationError) Cause Uses

func (e DecompressorValidationError) Cause() error

Cause function returns cause value.

func (DecompressorValidationError) Error Uses

func (e DecompressorValidationError) Error() string

Error satisfies the builtin error interface

func (DecompressorValidationError) ErrorName Uses

func (e DecompressorValidationError) ErrorName() string

ErrorName returns error name.

func (DecompressorValidationError) Field Uses

func (e DecompressorValidationError) Field() string

Field function returns field value.

func (DecompressorValidationError) Key Uses

func (e DecompressorValidationError) Key() bool

Key function returns key value.

func (DecompressorValidationError) Reason Uses

func (e DecompressorValidationError) Reason() string

Reason function returns reason value.

type Decompressor_CommonDirectionConfig Uses

type Decompressor_CommonDirectionConfig struct {

    // Runtime flag that controls whether the filter is enabled for decompression or not. If set to false, the
    // filter will operate as a pass-through filter. If the message is unspecified, the filter will be enabled.
    Enabled *v3.RuntimeFeatureFlag `protobuf:"bytes,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
    // contains filtered or unexported fields
}

Common configuration for filter behavior on both the request and response direction.

func (*Decompressor_CommonDirectionConfig) Descriptor Uses

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

Deprecated: Use Decompressor_CommonDirectionConfig.ProtoReflect.Descriptor instead.

func (*Decompressor_CommonDirectionConfig) GetEnabled Uses

func (x *Decompressor_CommonDirectionConfig) GetEnabled() *v3.RuntimeFeatureFlag

func (*Decompressor_CommonDirectionConfig) ProtoMessage Uses

func (*Decompressor_CommonDirectionConfig) ProtoMessage()

func (*Decompressor_CommonDirectionConfig) ProtoReflect Uses

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

func (*Decompressor_CommonDirectionConfig) Reset Uses

func (x *Decompressor_CommonDirectionConfig) Reset()

func (*Decompressor_CommonDirectionConfig) String Uses

func (x *Decompressor_CommonDirectionConfig) String() string

func (*Decompressor_CommonDirectionConfig) Validate Uses

func (m *Decompressor_CommonDirectionConfig) Validate() error

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

type Decompressor_CommonDirectionConfigValidationError Uses

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

Decompressor_CommonDirectionConfigValidationError is the validation error returned by Decompressor_CommonDirectionConfig.Validate if the designated constraints aren't met.

func (Decompressor_CommonDirectionConfigValidationError) Cause Uses

func (e Decompressor_CommonDirectionConfigValidationError) Cause() error

Cause function returns cause value.

func (Decompressor_CommonDirectionConfigValidationError) Error Uses

func (e Decompressor_CommonDirectionConfigValidationError) Error() string

Error satisfies the builtin error interface

func (Decompressor_CommonDirectionConfigValidationError) ErrorName Uses

func (e Decompressor_CommonDirectionConfigValidationError) ErrorName() string

ErrorName returns error name.

func (Decompressor_CommonDirectionConfigValidationError) Field Uses

func (e Decompressor_CommonDirectionConfigValidationError) Field() string

Field function returns field value.

func (Decompressor_CommonDirectionConfigValidationError) Key Uses

func (e Decompressor_CommonDirectionConfigValidationError) Key() bool

Key function returns key value.

func (Decompressor_CommonDirectionConfigValidationError) Reason Uses

func (e Decompressor_CommonDirectionConfigValidationError) Reason() string

Reason function returns reason value.

type Decompressor_RequestDirectionConfig Uses

type Decompressor_RequestDirectionConfig struct {
    CommonConfig *Decompressor_CommonDirectionConfig `protobuf:"bytes,1,opt,name=common_config,json=commonConfig,proto3" json:"common_config,omitempty"`
    // If set to true, and response decompression is enabled, the filter modifies the Accept-Encoding
    // request header by appending the decompressor_library's encoding. Defaults to true.
    AdvertiseAcceptEncoding *wrappers.BoolValue `protobuf:"bytes,2,opt,name=advertise_accept_encoding,json=advertiseAcceptEncoding,proto3" json:"advertise_accept_encoding,omitempty"`
    // contains filtered or unexported fields
}

Configuration for filter behavior on the request direction.

func (*Decompressor_RequestDirectionConfig) Descriptor Uses

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

Deprecated: Use Decompressor_RequestDirectionConfig.ProtoReflect.Descriptor instead.

func (*Decompressor_RequestDirectionConfig) GetAdvertiseAcceptEncoding Uses

func (x *Decompressor_RequestDirectionConfig) GetAdvertiseAcceptEncoding() *wrappers.BoolValue

func (*Decompressor_RequestDirectionConfig) GetCommonConfig Uses

func (x *Decompressor_RequestDirectionConfig) GetCommonConfig() *Decompressor_CommonDirectionConfig

func (*Decompressor_RequestDirectionConfig) ProtoMessage Uses

func (*Decompressor_RequestDirectionConfig) ProtoMessage()

func (*Decompressor_RequestDirectionConfig) ProtoReflect Uses

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

func (*Decompressor_RequestDirectionConfig) Reset Uses

func (x *Decompressor_RequestDirectionConfig) Reset()

func (*Decompressor_RequestDirectionConfig) String Uses

func (x *Decompressor_RequestDirectionConfig) String() string

func (*Decompressor_RequestDirectionConfig) Validate Uses

func (m *Decompressor_RequestDirectionConfig) Validate() error

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

type Decompressor_RequestDirectionConfigValidationError Uses

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

Decompressor_RequestDirectionConfigValidationError is the validation error returned by Decompressor_RequestDirectionConfig.Validate if the designated constraints aren't met.

func (Decompressor_RequestDirectionConfigValidationError) Cause Uses

func (e Decompressor_RequestDirectionConfigValidationError) Cause() error

Cause function returns cause value.

func (Decompressor_RequestDirectionConfigValidationError) Error Uses

func (e Decompressor_RequestDirectionConfigValidationError) Error() string

Error satisfies the builtin error interface

func (Decompressor_RequestDirectionConfigValidationError) ErrorName Uses

func (e Decompressor_RequestDirectionConfigValidationError) ErrorName() string

ErrorName returns error name.

func (Decompressor_RequestDirectionConfigValidationError) Field Uses

func (e Decompressor_RequestDirectionConfigValidationError) Field() string

Field function returns field value.

func (Decompressor_RequestDirectionConfigValidationError) Key Uses

func (e Decompressor_RequestDirectionConfigValidationError) Key() bool

Key function returns key value.

func (Decompressor_RequestDirectionConfigValidationError) Reason Uses

func (e Decompressor_RequestDirectionConfigValidationError) Reason() string

Reason function returns reason value.

type Decompressor_ResponseDirectionConfig Uses

type Decompressor_ResponseDirectionConfig struct {
    CommonConfig *Decompressor_CommonDirectionConfig `protobuf:"bytes,1,opt,name=common_config,json=commonConfig,proto3" json:"common_config,omitempty"`
    // contains filtered or unexported fields
}

Configuration for filter behavior on the response direction.

func (*Decompressor_ResponseDirectionConfig) Descriptor Uses

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

Deprecated: Use Decompressor_ResponseDirectionConfig.ProtoReflect.Descriptor instead.

func (*Decompressor_ResponseDirectionConfig) GetCommonConfig Uses

func (x *Decompressor_ResponseDirectionConfig) GetCommonConfig() *Decompressor_CommonDirectionConfig

func (*Decompressor_ResponseDirectionConfig) ProtoMessage Uses

func (*Decompressor_ResponseDirectionConfig) ProtoMessage()

func (*Decompressor_ResponseDirectionConfig) ProtoReflect Uses

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

func (*Decompressor_ResponseDirectionConfig) Reset Uses

func (x *Decompressor_ResponseDirectionConfig) Reset()

func (*Decompressor_ResponseDirectionConfig) String Uses

func (x *Decompressor_ResponseDirectionConfig) String() string

func (*Decompressor_ResponseDirectionConfig) Validate Uses

func (m *Decompressor_ResponseDirectionConfig) Validate() error

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

type Decompressor_ResponseDirectionConfigValidationError Uses

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

Decompressor_ResponseDirectionConfigValidationError is the validation error returned by Decompressor_ResponseDirectionConfig.Validate if the designated constraints aren't met.

func (Decompressor_ResponseDirectionConfigValidationError) Cause Uses

func (e Decompressor_ResponseDirectionConfigValidationError) Cause() error

Cause function returns cause value.

func (Decompressor_ResponseDirectionConfigValidationError) Error Uses

func (e Decompressor_ResponseDirectionConfigValidationError) Error() string

Error satisfies the builtin error interface

func (Decompressor_ResponseDirectionConfigValidationError) ErrorName Uses

func (e Decompressor_ResponseDirectionConfigValidationError) ErrorName() string

ErrorName returns error name.

func (Decompressor_ResponseDirectionConfigValidationError) Field Uses

func (e Decompressor_ResponseDirectionConfigValidationError) Field() string

Field function returns field value.

func (Decompressor_ResponseDirectionConfigValidationError) Key Uses

func (e Decompressor_ResponseDirectionConfigValidationError) Key() bool

Key function returns key value.

func (Decompressor_ResponseDirectionConfigValidationError) Reason Uses

func (e Decompressor_ResponseDirectionConfigValidationError) Reason() string

Reason function returns reason value.

Package envoy_extensions_filters_http_decompressor_v3 imports 21 packages (graph) and is imported by 6 packages. Updated 2021-01-08. Refresh now. Tools for package owners.