envoy_config_filter_http_buffer_v2

package
Version: v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 20 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_config_filter_http_buffer_v2_buffer_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Buffer

type Buffer struct {

	// The maximum request size that the filter will buffer before the connection
	// manager will stop buffering and return a 413 response.
	MaxRequestBytes *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=max_request_bytes,json=maxRequestBytes,proto3" json:"max_request_bytes,omitempty"`
	// contains filtered or unexported fields
}

func (*Buffer) Descriptor deprecated

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

Deprecated: Use Buffer.ProtoReflect.Descriptor instead.

func (*Buffer) GetMaxRequestBytes

func (x *Buffer) GetMaxRequestBytes() *wrappers.UInt32Value

func (*Buffer) ProtoMessage

func (*Buffer) ProtoMessage()

func (*Buffer) ProtoReflect added in v0.9.6

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

func (*Buffer) Reset

func (x *Buffer) Reset()

func (*Buffer) String

func (x *Buffer) String() string

func (*Buffer) Validate

func (m *Buffer) Validate() error

Validate checks the field values on Buffer with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Buffer) ValidateAll added in v0.10.0

func (m *Buffer) ValidateAll() error

ValidateAll checks the field values on Buffer with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BufferMultiError, or nil if none found.

type BufferMultiError added in v0.10.0

type BufferMultiError []error

BufferMultiError is an error wrapping multiple validation errors returned by Buffer.ValidateAll() if the designated constraints aren't met.

func (BufferMultiError) AllErrors added in v0.10.0

func (m BufferMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BufferMultiError) Error added in v0.10.0

func (m BufferMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type BufferPerRoute

type BufferPerRoute struct {

	// Types that are assignable to Override:
	//	*BufferPerRoute_Disabled
	//	*BufferPerRoute_Buffer
	Override isBufferPerRoute_Override `protobuf_oneof:"override"`
	// contains filtered or unexported fields
}

func (*BufferPerRoute) Descriptor deprecated

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

Deprecated: Use BufferPerRoute.ProtoReflect.Descriptor instead.

func (*BufferPerRoute) GetBuffer

func (x *BufferPerRoute) GetBuffer() *Buffer

func (*BufferPerRoute) GetDisabled

func (x *BufferPerRoute) GetDisabled() bool

func (*BufferPerRoute) GetOverride

func (m *BufferPerRoute) GetOverride() isBufferPerRoute_Override

func (*BufferPerRoute) ProtoMessage

func (*BufferPerRoute) ProtoMessage()

func (*BufferPerRoute) ProtoReflect added in v0.9.6

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

func (*BufferPerRoute) Reset

func (x *BufferPerRoute) Reset()

func (*BufferPerRoute) String

func (x *BufferPerRoute) String() string

func (*BufferPerRoute) Validate

func (m *BufferPerRoute) Validate() error

Validate checks the field values on BufferPerRoute with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*BufferPerRoute) ValidateAll added in v0.10.0

func (m *BufferPerRoute) ValidateAll() error

ValidateAll checks the field values on BufferPerRoute with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BufferPerRouteMultiError, or nil if none found.

type BufferPerRouteMultiError added in v0.10.0

type BufferPerRouteMultiError []error

BufferPerRouteMultiError is an error wrapping multiple validation errors returned by BufferPerRoute.ValidateAll() if the designated constraints aren't met.

func (BufferPerRouteMultiError) AllErrors added in v0.10.0

func (m BufferPerRouteMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (BufferPerRouteMultiError) Error added in v0.10.0

func (m BufferPerRouteMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type BufferPerRouteValidationError

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

BufferPerRouteValidationError is the validation error returned by BufferPerRoute.Validate if the designated constraints aren't met.

func (BufferPerRouteValidationError) Cause

Cause function returns cause value.

func (BufferPerRouteValidationError) Error

Error satisfies the builtin error interface

func (BufferPerRouteValidationError) ErrorName added in v0.7.0

func (e BufferPerRouteValidationError) ErrorName() string

ErrorName returns error name.

func (BufferPerRouteValidationError) Field

Field function returns field value.

func (BufferPerRouteValidationError) Key

Key function returns key value.

func (BufferPerRouteValidationError) Reason

Reason function returns reason value.

type BufferPerRoute_Buffer

type BufferPerRoute_Buffer struct {
	// Override the global configuration of the filter with this new config.
	Buffer *Buffer `protobuf:"bytes,2,opt,name=buffer,proto3,oneof"`
}

type BufferPerRoute_Disabled

type BufferPerRoute_Disabled struct {
	// Disable the buffer filter for this particular vhost or route.
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3,oneof"`
}

type BufferValidationError

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

BufferValidationError is the validation error returned by Buffer.Validate if the designated constraints aren't met.

func (BufferValidationError) Cause

func (e BufferValidationError) Cause() error

Cause function returns cause value.

func (BufferValidationError) Error

func (e BufferValidationError) Error() string

Error satisfies the builtin error interface

func (BufferValidationError) ErrorName added in v0.7.0

func (e BufferValidationError) ErrorName() string

ErrorName returns error name.

func (BufferValidationError) Field

func (e BufferValidationError) Field() string

Field function returns field value.

func (BufferValidationError) Key

func (e BufferValidationError) Key() bool

Key function returns key value.

func (BufferValidationError) Reason

func (e BufferValidationError) 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