Documentation ¶
Index ¶
- Variables
- type Buffer
- func (*Buffer) Descriptor() ([]byte, []int)deprecated
- func (x *Buffer) GetMaxRequestBytes() *wrappers.UInt32Value
- func (*Buffer) ProtoMessage()
- func (x *Buffer) ProtoReflect() protoreflect.Message
- func (x *Buffer) Reset()
- func (x *Buffer) String() string
- func (m *Buffer) Validate() error
- func (m *Buffer) ValidateAll() error
- type BufferMultiError
- type BufferPerRoute
- func (*BufferPerRoute) Descriptor() ([]byte, []int)deprecated
- func (x *BufferPerRoute) GetBuffer() *Buffer
- func (x *BufferPerRoute) GetDisabled() bool
- func (m *BufferPerRoute) GetOverride() isBufferPerRoute_Override
- func (*BufferPerRoute) ProtoMessage()
- func (x *BufferPerRoute) ProtoReflect() protoreflect.Message
- func (x *BufferPerRoute) Reset()
- func (x *BufferPerRoute) String() string
- func (m *BufferPerRoute) Validate() error
- func (m *BufferPerRoute) ValidateAll() error
- type BufferPerRouteMultiError
- type BufferPerRouteValidationError
- func (e BufferPerRouteValidationError) Cause() error
- func (e BufferPerRouteValidationError) Error() string
- func (e BufferPerRouteValidationError) ErrorName() string
- func (e BufferPerRouteValidationError) Field() string
- func (e BufferPerRouteValidationError) Key() bool
- func (e BufferPerRouteValidationError) Reason() string
- type BufferPerRoute_Buffer
- type BufferPerRoute_Disabled
- type BufferValidationError
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_filters_http_buffer_v3_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) GetMaxRequestBytes ¶
func (x *Buffer) GetMaxRequestBytes() *wrappers.UInt32Value
func (*Buffer) ProtoMessage ¶
func (*Buffer) ProtoMessage()
func (*Buffer) ProtoReflect ¶
func (x *Buffer) ProtoReflect() protoreflect.Message
func (*Buffer) Validate ¶
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 ¶
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 ¶
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 ¶
func (m BufferMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BufferMultiError) Error ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m BufferPerRouteMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BufferPerRouteMultiError) Error ¶
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 ¶
func (e BufferPerRouteValidationError) Cause() error
Cause function returns cause value.
func (BufferPerRouteValidationError) Error ¶
func (e BufferPerRouteValidationError) Error() string
Error satisfies the builtin error interface
func (BufferPerRouteValidationError) ErrorName ¶
func (e BufferPerRouteValidationError) ErrorName() string
ErrorName returns error name.
func (BufferPerRouteValidationError) Field ¶
func (e BufferPerRouteValidationError) Field() string
Field function returns field value.
func (BufferPerRouteValidationError) Key ¶
func (e BufferPerRouteValidationError) Key() bool
Key function returns key value.
func (BufferPerRouteValidationError) Reason ¶
func (e BufferPerRouteValidationError) Reason() string
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 ¶
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.