decompressorv3

package
v1.33.0-20240426201503... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: unknown License: Apache-2.0 Imports: 8 Imported by: 0

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_v3_api_msg_extensions.compression.gzip.decompressor.v3.Gzip>`
	// is included in Envoy.
	// [#extension-category: envoy.compression.decompressor]
	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 deprecated

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

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"`
	// If set to true, will decompress response even if a “no-transform“ cache control header is set.
	IgnoreNoTransformHeader bool `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

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

func (*Decompressor_CommonDirectionConfig) Descriptor deprecated

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

Deprecated: Use Decompressor_CommonDirectionConfig.ProtoReflect.Descriptor instead.

func (*Decompressor_CommonDirectionConfig) GetEnabled

func (*Decompressor_CommonDirectionConfig) GetIgnoreNoTransformHeader

func (x *Decompressor_CommonDirectionConfig) GetIgnoreNoTransformHeader() bool

func (*Decompressor_CommonDirectionConfig) ProtoMessage

func (*Decompressor_CommonDirectionConfig) ProtoMessage()

func (*Decompressor_CommonDirectionConfig) ProtoReflect

func (*Decompressor_CommonDirectionConfig) Reset

func (*Decompressor_CommonDirectionConfig) String

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

Configuration for filter behavior on the request direction.

func (*Decompressor_RequestDirectionConfig) Descriptor deprecated

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

Deprecated: Use Decompressor_RequestDirectionConfig.ProtoReflect.Descriptor instead.

func (*Decompressor_RequestDirectionConfig) GetAdvertiseAcceptEncoding

func (x *Decompressor_RequestDirectionConfig) GetAdvertiseAcceptEncoding() *wrapperspb.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

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 deprecated

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL