envoy_extensions_filters_http_gzip_v3

package
v1.13.8 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
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.

View Source
var File_envoy_extensions_filters_http_gzip_v3_gzip_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Gzip

type Gzip struct {
	MemoryLevel         *wrappers.UInt32Value      `protobuf:"bytes,1,opt,name=memory_level,json=memoryLevel,proto3" json:"memory_level,omitempty"`
	CompressionLevel    Gzip_CompressionLevel_Enum `` /* 180-byte string literal not displayed */
	CompressionStrategy Gzip_CompressionStrategy   `` /* 187-byte string literal not displayed */
	WindowBits          *wrappers.UInt32Value      `protobuf:"bytes,9,opt,name=window_bits,json=windowBits,proto3" json:"window_bits,omitempty"`
	Compressor          *v3.Compressor             `protobuf:"bytes,10,opt,name=compressor,proto3" json:"compressor,omitempty"`
	ChunkSize           *wrappers.UInt32Value      `protobuf:"bytes,11,opt,name=chunk_size,json=chunkSize,proto3" json:"chunk_size,omitempty"`
	// Deprecated: Do not use.
	HiddenEnvoyDeprecatedContentLength *wrappers.UInt32Value `` /* 169-byte string literal not displayed */
	// Deprecated: Do not use.
	HiddenEnvoyDeprecatedContentType []string `` /* 163-byte string literal not displayed */
	// Deprecated: Do not use.
	HiddenEnvoyDeprecatedDisableOnEtagHeader bool `` /* 192-byte string literal not displayed */
	// Deprecated: Do not use.
	HiddenEnvoyDeprecatedRemoveAcceptEncodingHeader bool `` /* 213-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Gzip) Descriptor deprecated

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

Deprecated: Use Gzip.ProtoReflect.Descriptor instead.

func (*Gzip) GetChunkSize added in v1.7.0

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

func (*Gzip) GetCompressionLevel

func (x *Gzip) GetCompressionLevel() Gzip_CompressionLevel_Enum

func (*Gzip) GetCompressionStrategy

func (x *Gzip) GetCompressionStrategy() Gzip_CompressionStrategy

func (*Gzip) GetCompressor

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

func (*Gzip) GetHiddenEnvoyDeprecatedContentLength deprecated added in v1.7.0

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

Deprecated: Do not use.

func (*Gzip) GetHiddenEnvoyDeprecatedContentType deprecated added in v1.7.0

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

Deprecated: Do not use.

func (*Gzip) GetHiddenEnvoyDeprecatedDisableOnEtagHeader deprecated added in v1.7.0

func (x *Gzip) GetHiddenEnvoyDeprecatedDisableOnEtagHeader() bool

Deprecated: Do not use.

func (*Gzip) GetHiddenEnvoyDeprecatedRemoveAcceptEncodingHeader deprecated added in v1.7.0

func (x *Gzip) GetHiddenEnvoyDeprecatedRemoveAcceptEncodingHeader() bool

Deprecated: Do not use.

func (*Gzip) GetMemoryLevel

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

func (*Gzip) GetWindowBits

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

func (*Gzip) ProtoMessage

func (*Gzip) ProtoMessage()

func (*Gzip) ProtoReflect added in v1.7.0

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

func (*Gzip) Reset

func (x *Gzip) Reset()

func (*Gzip) String

func (x *Gzip) String() string

func (*Gzip) Validate

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

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

func (e GzipValidationError) Cause() error

Cause function returns cause value.

func (GzipValidationError) Error

func (e GzipValidationError) Error() string

Error satisfies the builtin error interface

func (GzipValidationError) ErrorName

func (e GzipValidationError) ErrorName() string

ErrorName returns error name.

func (GzipValidationError) Field

func (e GzipValidationError) Field() string

Field function returns field value.

func (GzipValidationError) Key

func (e GzipValidationError) Key() bool

Key function returns key value.

func (GzipValidationError) Reason

func (e GzipValidationError) Reason() string

Reason function returns reason value.

type Gzip_CompressionLevel

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

func (*Gzip_CompressionLevel) Descriptor deprecated

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

Deprecated: Use Gzip_CompressionLevel.ProtoReflect.Descriptor instead.

func (*Gzip_CompressionLevel) ProtoMessage

func (*Gzip_CompressionLevel) ProtoMessage()

func (*Gzip_CompressionLevel) ProtoReflect added in v1.7.0

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

func (*Gzip_CompressionLevel) Reset

func (x *Gzip_CompressionLevel) Reset()

func (*Gzip_CompressionLevel) String

func (x *Gzip_CompressionLevel) String() string

func (*Gzip_CompressionLevel) Validate

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

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

Cause function returns cause value.

func (Gzip_CompressionLevelValidationError) Error

Error satisfies the builtin error interface

func (Gzip_CompressionLevelValidationError) ErrorName

ErrorName returns error name.

func (Gzip_CompressionLevelValidationError) Field

Field function returns field value.

func (Gzip_CompressionLevelValidationError) Key

Key function returns key value.

func (Gzip_CompressionLevelValidationError) Reason

Reason function returns reason value.

type Gzip_CompressionLevel_Enum

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 added in v1.7.0

func (Gzip_CompressionLevel_Enum) Enum added in v1.7.0

func (Gzip_CompressionLevel_Enum) EnumDescriptor deprecated

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

Deprecated: Use Gzip_CompressionLevel_Enum.Descriptor instead.

func (Gzip_CompressionLevel_Enum) Number added in v1.7.0

func (Gzip_CompressionLevel_Enum) String

func (Gzip_CompressionLevel_Enum) Type added in v1.7.0

type Gzip_CompressionStrategy

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 added in v1.7.0

func (Gzip_CompressionStrategy) Enum added in v1.7.0

func (Gzip_CompressionStrategy) EnumDescriptor deprecated

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

Deprecated: Use Gzip_CompressionStrategy.Descriptor instead.

func (Gzip_CompressionStrategy) Number added in v1.7.0

func (Gzip_CompressionStrategy) String

func (x Gzip_CompressionStrategy) String() string

func (Gzip_CompressionStrategy) Type added in v1.7.0

Jump to

Keyboard shortcuts

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