Documentation ¶
Index ¶
- Variables
- type Gzip
- func (*Gzip) Descriptor() ([]byte, []int)deprecated
- func (x *Gzip) GetChunkSize() *wrappers.UInt32Value
- func (x *Gzip) GetCompressionLevel() Gzip_CompressionLevel
- func (x *Gzip) GetCompressionStrategy() Gzip_CompressionStrategy
- func (x *Gzip) GetMemoryLevel() *wrappers.UInt32Value
- func (x *Gzip) GetWindowBits() *wrappers.UInt32Value
- func (*Gzip) ProtoMessage()
- func (x *Gzip) ProtoReflect() protoreflect.Message
- func (x *Gzip) Reset()
- func (x *Gzip) String() string
- func (m *Gzip) Validate() error
- type GzipValidationError
- type Gzip_CompressionLevel
- func (Gzip_CompressionLevel) Descriptor() protoreflect.EnumDescriptor
- func (x Gzip_CompressionLevel) Enum() *Gzip_CompressionLevel
- func (Gzip_CompressionLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x Gzip_CompressionLevel) Number() protoreflect.EnumNumber
- func (x Gzip_CompressionLevel) String() string
- func (Gzip_CompressionLevel) Type() protoreflect.EnumType
- type Gzip_CompressionStrategy
- func (Gzip_CompressionStrategy) Descriptor() protoreflect.EnumDescriptor
- func (x Gzip_CompressionStrategy) Enum() *Gzip_CompressionStrategy
- func (Gzip_CompressionStrategy) EnumDescriptor() ([]byte, []int)deprecated
- func (x Gzip_CompressionStrategy) Number() protoreflect.EnumNumber
- func (x Gzip_CompressionStrategy) String() string
- func (Gzip_CompressionStrategy) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Gzip_CompressionStrategy_name = map[int32]string{ 0: "DEFAULT_STRATEGY", 1: "FILTERED", 2: "HUFFMAN_ONLY", 3: "RLE", 4: "FIXED", } Gzip_CompressionStrategy_value = map[string]int32{ "DEFAULT_STRATEGY": 0, "FILTERED": 1, "HUFFMAN_ONLY": 2, "RLE": 3, "FIXED": 4, } )
Enum value maps for Gzip_CompressionStrategy.
View Source
var ( Gzip_CompressionLevel_name = map[int32]string{ 0: "DEFAULT_COMPRESSION", 1: "BEST_SPEED", 2: "COMPRESSION_LEVEL_2", 3: "COMPRESSION_LEVEL_3", 4: "COMPRESSION_LEVEL_4", 5: "COMPRESSION_LEVEL_5", 6: "COMPRESSION_LEVEL_6", 7: "COMPRESSION_LEVEL_7", 8: "COMPRESSION_LEVEL_8", 9: "COMPRESSION_LEVEL_9", } Gzip_CompressionLevel_value = map[string]int32{ "DEFAULT_COMPRESSION": 0, "BEST_SPEED": 1, "COMPRESSION_LEVEL_1": 1, "COMPRESSION_LEVEL_2": 2, "COMPRESSION_LEVEL_3": 3, "COMPRESSION_LEVEL_4": 4, "COMPRESSION_LEVEL_5": 5, "COMPRESSION_LEVEL_6": 6, "COMPRESSION_LEVEL_7": 7, "COMPRESSION_LEVEL_8": 8, "COMPRESSION_LEVEL_9": 9, "BEST_COMPRESSION": 9, } )
Enum value maps for Gzip_CompressionLevel.
View Source
var File_envoy_extensions_compression_gzip_compressor_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 `` /* 185-byte string literal not displayed */ CompressionStrategy Gzip_CompressionStrategy `` /* 197-byte string literal not displayed */ WindowBits *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=window_bits,json=windowBits,proto3" json:"window_bits,omitempty"` ChunkSize *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=chunk_size,json=chunkSize,proto3" json:"chunk_size,omitempty"` // contains filtered or unexported fields }
func (*Gzip) Descriptor
deprecated
func (*Gzip) GetChunkSize ¶
func (x *Gzip) GetChunkSize() *wrappers.UInt32Value
func (*Gzip) GetCompressionLevel ¶
func (x *Gzip) GetCompressionLevel() Gzip_CompressionLevel
func (*Gzip) GetCompressionStrategy ¶
func (x *Gzip) GetCompressionStrategy() Gzip_CompressionStrategy
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 v0.9.7
func (x *Gzip) ProtoReflect() protoreflect.Message
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 int32
const ( Gzip_DEFAULT_COMPRESSION Gzip_CompressionLevel = 0 Gzip_BEST_SPEED Gzip_CompressionLevel = 1 Gzip_COMPRESSION_LEVEL_1 Gzip_CompressionLevel = 1 Gzip_COMPRESSION_LEVEL_2 Gzip_CompressionLevel = 2 Gzip_COMPRESSION_LEVEL_3 Gzip_CompressionLevel = 3 Gzip_COMPRESSION_LEVEL_4 Gzip_CompressionLevel = 4 Gzip_COMPRESSION_LEVEL_5 Gzip_CompressionLevel = 5 Gzip_COMPRESSION_LEVEL_6 Gzip_CompressionLevel = 6 Gzip_COMPRESSION_LEVEL_7 Gzip_CompressionLevel = 7 Gzip_COMPRESSION_LEVEL_8 Gzip_CompressionLevel = 8 Gzip_COMPRESSION_LEVEL_9 Gzip_CompressionLevel = 9 Gzip_BEST_COMPRESSION Gzip_CompressionLevel = 9 )
func (Gzip_CompressionLevel) Descriptor ¶ added in v0.9.7
func (Gzip_CompressionLevel) Descriptor() protoreflect.EnumDescriptor
func (Gzip_CompressionLevel) Enum ¶ added in v0.9.7
func (x Gzip_CompressionLevel) Enum() *Gzip_CompressionLevel
func (Gzip_CompressionLevel) EnumDescriptor
deprecated
func (Gzip_CompressionLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use Gzip_CompressionLevel.Descriptor instead.
func (Gzip_CompressionLevel) Number ¶ added in v0.9.7
func (x Gzip_CompressionLevel) Number() protoreflect.EnumNumber
func (Gzip_CompressionLevel) String ¶
func (x Gzip_CompressionLevel) String() string
func (Gzip_CompressionLevel) Type ¶ added in v0.9.7
func (Gzip_CompressionLevel) Type() protoreflect.EnumType
type Gzip_CompressionStrategy ¶
type Gzip_CompressionStrategy int32
const ( Gzip_DEFAULT_STRATEGY Gzip_CompressionStrategy = 0 Gzip_FILTERED Gzip_CompressionStrategy = 1 Gzip_HUFFMAN_ONLY Gzip_CompressionStrategy = 2 Gzip_RLE Gzip_CompressionStrategy = 3 Gzip_FIXED Gzip_CompressionStrategy = 4 )
func (Gzip_CompressionStrategy) Descriptor ¶ added in v0.9.7
func (Gzip_CompressionStrategy) Descriptor() protoreflect.EnumDescriptor
func (Gzip_CompressionStrategy) Enum ¶ added in v0.9.7
func (x Gzip_CompressionStrategy) Enum() *Gzip_CompressionStrategy
func (Gzip_CompressionStrategy) EnumDescriptor
deprecated
func (Gzip_CompressionStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use Gzip_CompressionStrategy.Descriptor instead.
func (Gzip_CompressionStrategy) Number ¶ added in v0.9.7
func (x Gzip_CompressionStrategy) Number() protoreflect.EnumNumber
func (Gzip_CompressionStrategy) String ¶
func (x Gzip_CompressionStrategy) String() string
func (Gzip_CompressionStrategy) Type ¶ added in v0.9.7
func (Gzip_CompressionStrategy) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.