envoy_extensions_filters_http_compressor_v3

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_filters_http_compressor_v3_compressor_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Compressor

type Compressor struct {
	ContentLength              *wrappers.UInt32Value    `protobuf:"bytes,1,opt,name=content_length,json=contentLength,proto3" json:"content_length,omitempty"`
	ContentType                []string                 `protobuf:"bytes,2,rep,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	DisableOnEtagHeader        bool                     `protobuf:"varint,3,opt,name=disable_on_etag_header,json=disableOnEtagHeader,proto3" json:"disable_on_etag_header,omitempty"`
	RemoveAcceptEncodingHeader bool                     `` /* 144-byte string literal not displayed */
	RuntimeEnabled             *v3.RuntimeFeatureFlag   `protobuf:"bytes,5,opt,name=runtime_enabled,json=runtimeEnabled,proto3" json:"runtime_enabled,omitempty"`
	CompressorLibrary          *v3.TypedExtensionConfig `protobuf:"bytes,6,opt,name=compressor_library,json=compressorLibrary,proto3" json:"compressor_library,omitempty"`
	// contains filtered or unexported fields
}

func (*Compressor) Descriptor deprecated

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

Deprecated: Use Compressor.ProtoReflect.Descriptor instead.

func (*Compressor) GetCompressorLibrary

func (x *Compressor) GetCompressorLibrary() *v3.TypedExtensionConfig

func (*Compressor) GetContentLength

func (x *Compressor) GetContentLength() *wrappers.UInt32Value

func (*Compressor) GetContentType

func (x *Compressor) GetContentType() []string

func (*Compressor) GetDisableOnEtagHeader

func (x *Compressor) GetDisableOnEtagHeader() bool

func (*Compressor) GetRemoveAcceptEncodingHeader

func (x *Compressor) GetRemoveAcceptEncodingHeader() bool

func (*Compressor) GetRuntimeEnabled

func (x *Compressor) GetRuntimeEnabled() *v3.RuntimeFeatureFlag

func (*Compressor) ProtoMessage

func (*Compressor) ProtoMessage()

func (*Compressor) ProtoReflect

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

func (*Compressor) Reset

func (x *Compressor) Reset()

func (*Compressor) String

func (x *Compressor) String() string

func (*Compressor) Validate

func (m *Compressor) Validate() error

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

type CompressorValidationError

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

CompressorValidationError is the validation error returned by Compressor.Validate if the designated constraints aren't met.

func (CompressorValidationError) Cause

func (e CompressorValidationError) Cause() error

Cause function returns cause value.

func (CompressorValidationError) Error

Error satisfies the builtin error interface

func (CompressorValidationError) ErrorName

func (e CompressorValidationError) ErrorName() string

ErrorName returns error name.

func (CompressorValidationError) Field

Field function returns field value.

func (CompressorValidationError) Key

Key function returns key value.

func (CompressorValidationError) Reason

func (e CompressorValidationError) Reason() string

Reason function returns reason value.

Jump to

Keyboard shortcuts

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