Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_filters_http_decompressor_v3_decompressor_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Decompressor

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 `` /* 129-byte string literal not displayed */
	// Configuration for response decompression. Decompression is enabled by default if left empty.
	ResponseDirectionConfig *Decompressor_ResponseDirectionConfig `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Decompressor) Descriptor

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

    Deprecated: Use Decompressor.ProtoReflect.Descriptor instead.

    func (*Decompressor) GetDecompressorLibrary

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

    func (*Decompressor) GetRequestDirectionConfig

    func (x *Decompressor) GetRequestDirectionConfig() *Decompressor_RequestDirectionConfig

    func (*Decompressor) GetResponseDirectionConfig

    func (x *Decompressor) GetResponseDirectionConfig() *Decompressor_ResponseDirectionConfig

    func (*Decompressor) ProtoMessage

    func (*Decompressor) ProtoMessage()

    func (*Decompressor) ProtoReflect

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

    func (*Decompressor) Reset

    func (x *Decompressor) Reset()

    func (*Decompressor) String

    func (x *Decompressor) String() string

    func (*Decompressor) Validate

    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

      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

          Cause function returns cause value.

          func (DecompressorValidationError) Error

            Error satisfies the builtin error interface

            func (DecompressorValidationError) ErrorName

            func (e DecompressorValidationError) ErrorName() string

              ErrorName returns error name.

              func (DecompressorValidationError) Field

                Field function returns field value.

                func (DecompressorValidationError) Key

                  Key function returns key value.

                  func (DecompressorValidationError) Reason

                    Reason function returns reason value.

                    type Decompressor_CommonDirectionConfig

                    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

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

                        Deprecated: Use Decompressor_CommonDirectionConfig.ProtoReflect.Descriptor instead.

                        func (*Decompressor_CommonDirectionConfig) GetEnabled

                        func (*Decompressor_CommonDirectionConfig) ProtoMessage

                        func (*Decompressor_CommonDirectionConfig) ProtoMessage()

                        func (*Decompressor_CommonDirectionConfig) ProtoReflect

                        func (*Decompressor_CommonDirectionConfig) Reset

                        func (*Decompressor_CommonDirectionConfig) String

                        func (*Decompressor_CommonDirectionConfig) Validate

                          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

                          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

                              Cause function returns cause value.

                              func (Decompressor_CommonDirectionConfigValidationError) Error

                                Error satisfies the builtin error interface

                                func (Decompressor_CommonDirectionConfigValidationError) ErrorName

                                  ErrorName returns error name.

                                  func (Decompressor_CommonDirectionConfigValidationError) Field

                                    Field function returns field value.

                                    func (Decompressor_CommonDirectionConfigValidationError) Key

                                      Key function returns key value.

                                      func (Decompressor_CommonDirectionConfigValidationError) Reason

                                        Reason function returns reason value.

                                        type Decompressor_RequestDirectionConfig

                                        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 `` /* 132-byte string literal not displayed */
                                        	// contains filtered or unexported fields
                                        }

                                          Configuration for filter behavior on the request direction.

                                          func (*Decompressor_RequestDirectionConfig) Descriptor

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

                                            Deprecated: Use Decompressor_RequestDirectionConfig.ProtoReflect.Descriptor instead.

                                            func (*Decompressor_RequestDirectionConfig) GetAdvertiseAcceptEncoding

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

                                            func (*Decompressor_RequestDirectionConfig) GetCommonConfig

                                            func (*Decompressor_RequestDirectionConfig) ProtoMessage

                                            func (*Decompressor_RequestDirectionConfig) ProtoMessage()

                                            func (*Decompressor_RequestDirectionConfig) ProtoReflect

                                            func (*Decompressor_RequestDirectionConfig) Reset

                                            func (*Decompressor_RequestDirectionConfig) String

                                            func (*Decompressor_RequestDirectionConfig) Validate

                                              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

                                              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

                                                  Cause function returns cause value.

                                                  func (Decompressor_RequestDirectionConfigValidationError) Error

                                                    Error satisfies the builtin error interface

                                                    func (Decompressor_RequestDirectionConfigValidationError) ErrorName

                                                      ErrorName returns error name.

                                                      func (Decompressor_RequestDirectionConfigValidationError) Field

                                                        Field function returns field value.

                                                        func (Decompressor_RequestDirectionConfigValidationError) Key

                                                          Key function returns key value.

                                                          func (Decompressor_RequestDirectionConfigValidationError) Reason

                                                            Reason function returns reason value.

                                                            type Decompressor_ResponseDirectionConfig

                                                            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

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

                                                                Deprecated: Use Decompressor_ResponseDirectionConfig.ProtoReflect.Descriptor instead.

                                                                func (*Decompressor_ResponseDirectionConfig) GetCommonConfig

                                                                func (*Decompressor_ResponseDirectionConfig) ProtoMessage

                                                                func (*Decompressor_ResponseDirectionConfig) ProtoMessage()

                                                                func (*Decompressor_ResponseDirectionConfig) ProtoReflect

                                                                func (*Decompressor_ResponseDirectionConfig) Reset

                                                                func (*Decompressor_ResponseDirectionConfig) String

                                                                func (*Decompressor_ResponseDirectionConfig) Validate

                                                                  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

                                                                  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

                                                                      Cause function returns cause value.

                                                                      func (Decompressor_ResponseDirectionConfigValidationError) Error

                                                                        Error satisfies the builtin error interface

                                                                        func (Decompressor_ResponseDirectionConfigValidationError) ErrorName

                                                                          ErrorName returns error name.

                                                                          func (Decompressor_ResponseDirectionConfigValidationError) Field

                                                                            Field function returns field value.

                                                                            func (Decompressor_ResponseDirectionConfigValidationError) Key

                                                                              Key function returns key value.

                                                                              func (Decompressor_ResponseDirectionConfigValidationError) Reason

                                                                                Reason function returns reason value.