Documentation ¶
Index ¶
- Variables
- type BufferBehavior
- func (*BufferBehavior) Descriptor() ([]byte, []int)deprecated
- func (m *BufferBehavior) GetBehavior() isBufferBehavior_Behavior
- func (x *BufferBehavior) GetBypass() *BufferBehavior_Bypass
- func (x *BufferBehavior) GetFullyBuffer() *BufferBehavior_FullyBuffer
- func (x *BufferBehavior) GetFullyBufferAndAlwaysInjectContentLength() *BufferBehavior_FullyBufferAndAlwaysInjectContentLength
- func (x *BufferBehavior) GetInjectContentLengthIfNecessary() *BufferBehavior_InjectContentLengthIfNecessary
- func (x *BufferBehavior) GetStreamWhenPossible() *BufferBehavior_StreamWhenPossible
- func (*BufferBehavior) ProtoMessage()
- func (x *BufferBehavior) ProtoReflect() protoreflect.Message
- func (x *BufferBehavior) Reset()
- func (x *BufferBehavior) String() string
- func (m *BufferBehavior) Validate() error
- func (m *BufferBehavior) ValidateAll() error
- type BufferBehaviorMultiError
- type BufferBehaviorValidationError
- func (e BufferBehaviorValidationError) Cause() error
- func (e BufferBehaviorValidationError) Error() string
- func (e BufferBehaviorValidationError) ErrorName() string
- func (e BufferBehaviorValidationError) Field() string
- func (e BufferBehaviorValidationError) Key() bool
- func (e BufferBehaviorValidationError) Reason() string
- type BufferBehavior_Bypass
- func (*BufferBehavior_Bypass) Descriptor() ([]byte, []int)deprecated
- func (*BufferBehavior_Bypass) ProtoMessage()
- func (x *BufferBehavior_Bypass) ProtoReflect() protoreflect.Message
- func (x *BufferBehavior_Bypass) Reset()
- func (x *BufferBehavior_Bypass) String() string
- func (m *BufferBehavior_Bypass) Validate() error
- func (m *BufferBehavior_Bypass) ValidateAll() error
- type BufferBehavior_BypassMultiError
- type BufferBehavior_BypassValidationError
- func (e BufferBehavior_BypassValidationError) Cause() error
- func (e BufferBehavior_BypassValidationError) Error() string
- func (e BufferBehavior_BypassValidationError) ErrorName() string
- func (e BufferBehavior_BypassValidationError) Field() string
- func (e BufferBehavior_BypassValidationError) Key() bool
- func (e BufferBehavior_BypassValidationError) Reason() string
- type BufferBehavior_Bypass_
- type BufferBehavior_FullyBuffer
- func (*BufferBehavior_FullyBuffer) Descriptor() ([]byte, []int)deprecated
- func (*BufferBehavior_FullyBuffer) ProtoMessage()
- func (x *BufferBehavior_FullyBuffer) ProtoReflect() protoreflect.Message
- func (x *BufferBehavior_FullyBuffer) Reset()
- func (x *BufferBehavior_FullyBuffer) String() string
- func (m *BufferBehavior_FullyBuffer) Validate() error
- func (m *BufferBehavior_FullyBuffer) ValidateAll() error
- type BufferBehavior_FullyBufferAndAlwaysInjectContentLength
- func (*BufferBehavior_FullyBufferAndAlwaysInjectContentLength) Descriptor() ([]byte, []int)deprecated
- func (*BufferBehavior_FullyBufferAndAlwaysInjectContentLength) ProtoMessage()
- func (x *BufferBehavior_FullyBufferAndAlwaysInjectContentLength) ProtoReflect() protoreflect.Message
- func (x *BufferBehavior_FullyBufferAndAlwaysInjectContentLength) Reset()
- func (x *BufferBehavior_FullyBufferAndAlwaysInjectContentLength) String() string
- func (m *BufferBehavior_FullyBufferAndAlwaysInjectContentLength) Validate() error
- func (m *BufferBehavior_FullyBufferAndAlwaysInjectContentLength) ValidateAll() error
- type BufferBehavior_FullyBufferAndAlwaysInjectContentLengthMultiError
- type BufferBehavior_FullyBufferAndAlwaysInjectContentLengthValidationError
- func (e BufferBehavior_FullyBufferAndAlwaysInjectContentLengthValidationError) Cause() error
- func (e BufferBehavior_FullyBufferAndAlwaysInjectContentLengthValidationError) Error() string
- func (e BufferBehavior_FullyBufferAndAlwaysInjectContentLengthValidationError) ErrorName() string
- func (e BufferBehavior_FullyBufferAndAlwaysInjectContentLengthValidationError) Field() string
- func (e BufferBehavior_FullyBufferAndAlwaysInjectContentLengthValidationError) Key() bool
- func (e BufferBehavior_FullyBufferAndAlwaysInjectContentLengthValidationError) Reason() string
- type BufferBehavior_FullyBufferAndAlwaysInjectContentLength_
- type BufferBehavior_FullyBufferMultiError
- type BufferBehavior_FullyBufferValidationError
- func (e BufferBehavior_FullyBufferValidationError) Cause() error
- func (e BufferBehavior_FullyBufferValidationError) Error() string
- func (e BufferBehavior_FullyBufferValidationError) ErrorName() string
- func (e BufferBehavior_FullyBufferValidationError) Field() string
- func (e BufferBehavior_FullyBufferValidationError) Key() bool
- func (e BufferBehavior_FullyBufferValidationError) Reason() string
- type BufferBehavior_FullyBuffer_
- type BufferBehavior_InjectContentLengthIfNecessary
- func (*BufferBehavior_InjectContentLengthIfNecessary) Descriptor() ([]byte, []int)deprecated
- func (*BufferBehavior_InjectContentLengthIfNecessary) ProtoMessage()
- func (x *BufferBehavior_InjectContentLengthIfNecessary) ProtoReflect() protoreflect.Message
- func (x *BufferBehavior_InjectContentLengthIfNecessary) Reset()
- func (x *BufferBehavior_InjectContentLengthIfNecessary) String() string
- func (m *BufferBehavior_InjectContentLengthIfNecessary) Validate() error
- func (m *BufferBehavior_InjectContentLengthIfNecessary) ValidateAll() error
- type BufferBehavior_InjectContentLengthIfNecessaryMultiError
- type BufferBehavior_InjectContentLengthIfNecessaryValidationError
- func (e BufferBehavior_InjectContentLengthIfNecessaryValidationError) Cause() error
- func (e BufferBehavior_InjectContentLengthIfNecessaryValidationError) Error() string
- func (e BufferBehavior_InjectContentLengthIfNecessaryValidationError) ErrorName() string
- func (e BufferBehavior_InjectContentLengthIfNecessaryValidationError) Field() string
- func (e BufferBehavior_InjectContentLengthIfNecessaryValidationError) Key() bool
- func (e BufferBehavior_InjectContentLengthIfNecessaryValidationError) Reason() string
- type BufferBehavior_InjectContentLengthIfNecessary_
- type BufferBehavior_StreamWhenPossible
- func (*BufferBehavior_StreamWhenPossible) Descriptor() ([]byte, []int)deprecated
- func (*BufferBehavior_StreamWhenPossible) ProtoMessage()
- func (x *BufferBehavior_StreamWhenPossible) ProtoReflect() protoreflect.Message
- func (x *BufferBehavior_StreamWhenPossible) Reset()
- func (x *BufferBehavior_StreamWhenPossible) String() string
- func (m *BufferBehavior_StreamWhenPossible) Validate() error
- func (m *BufferBehavior_StreamWhenPossible) ValidateAll() error
- type BufferBehavior_StreamWhenPossibleMultiError
- type BufferBehavior_StreamWhenPossibleValidationError
- func (e BufferBehavior_StreamWhenPossibleValidationError) Cause() error
- func (e BufferBehavior_StreamWhenPossibleValidationError) Error() string
- func (e BufferBehavior_StreamWhenPossibleValidationError) ErrorName() string
- func (e BufferBehavior_StreamWhenPossibleValidationError) Field() string
- func (e BufferBehavior_StreamWhenPossibleValidationError) Key() bool
- func (e BufferBehavior_StreamWhenPossibleValidationError) Reason() string
- type BufferBehavior_StreamWhenPossible_
- type FileSystemBufferFilterConfig
- func (*FileSystemBufferFilterConfig) Descriptor() ([]byte, []int)deprecated
- func (x *FileSystemBufferFilterConfig) GetManagerConfig() *v3.AsyncFileManagerConfig
- func (x *FileSystemBufferFilterConfig) GetRequest() *StreamConfig
- func (x *FileSystemBufferFilterConfig) GetResponse() *StreamConfig
- func (x *FileSystemBufferFilterConfig) GetStorageBufferPath() *wrappers.StringValue
- func (*FileSystemBufferFilterConfig) ProtoMessage()
- func (x *FileSystemBufferFilterConfig) ProtoReflect() protoreflect.Message
- func (x *FileSystemBufferFilterConfig) Reset()
- func (x *FileSystemBufferFilterConfig) String() string
- func (m *FileSystemBufferFilterConfig) Validate() error
- func (m *FileSystemBufferFilterConfig) ValidateAll() error
- type FileSystemBufferFilterConfigMultiError
- type FileSystemBufferFilterConfigValidationError
- func (e FileSystemBufferFilterConfigValidationError) Cause() error
- func (e FileSystemBufferFilterConfigValidationError) Error() string
- func (e FileSystemBufferFilterConfigValidationError) ErrorName() string
- func (e FileSystemBufferFilterConfigValidationError) Field() string
- func (e FileSystemBufferFilterConfigValidationError) Key() bool
- func (e FileSystemBufferFilterConfigValidationError) Reason() string
- type StreamConfig
- func (*StreamConfig) Descriptor() ([]byte, []int)deprecated
- func (x *StreamConfig) GetBehavior() *BufferBehavior
- func (x *StreamConfig) GetMemoryBufferBytesLimit() *wrappers.UInt64Value
- func (x *StreamConfig) GetStorageBufferBytesLimit() *wrappers.UInt64Value
- func (x *StreamConfig) GetStorageBufferQueueHighWatermarkBytes() *wrappers.UInt64Value
- func (*StreamConfig) ProtoMessage()
- func (x *StreamConfig) ProtoReflect() protoreflect.Message
- func (x *StreamConfig) Reset()
- func (x *StreamConfig) String() string
- func (m *StreamConfig) Validate() error
- func (m *StreamConfig) ValidateAll() error
- type StreamConfigMultiError
- type StreamConfigValidationError
- func (e StreamConfigValidationError) Cause() error
- func (e StreamConfigValidationError) Error() string
- func (e StreamConfigValidationError) ErrorName() string
- func (e StreamConfigValidationError) Field() string
- func (e StreamConfigValidationError) Key() bool
- func (e StreamConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_filters_http_file_system_buffer_v3_file_system_buffer_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BufferBehavior ¶
type BufferBehavior struct { // Types that are assignable to Behavior: // *BufferBehavior_StreamWhenPossible_ // *BufferBehavior_Bypass_ // *BufferBehavior_InjectContentLengthIfNecessary_ // *BufferBehavior_FullyBufferAndAlwaysInjectContentLength_ // *BufferBehavior_FullyBuffer_ Behavior isBufferBehavior_Behavior `protobuf_oneof:"behavior"` // contains filtered or unexported fields }
The behavior of the filter for a stream. [#next-free-field: 6]
func (*BufferBehavior) Descriptor
deprecated
func (*BufferBehavior) Descriptor() ([]byte, []int)
Deprecated: Use BufferBehavior.ProtoReflect.Descriptor instead.
func (*BufferBehavior) GetBehavior ¶
func (m *BufferBehavior) GetBehavior() isBufferBehavior_Behavior
func (*BufferBehavior) GetBypass ¶
func (x *BufferBehavior) GetBypass() *BufferBehavior_Bypass
func (*BufferBehavior) GetFullyBuffer ¶
func (x *BufferBehavior) GetFullyBuffer() *BufferBehavior_FullyBuffer
func (*BufferBehavior) GetFullyBufferAndAlwaysInjectContentLength ¶
func (x *BufferBehavior) GetFullyBufferAndAlwaysInjectContentLength() *BufferBehavior_FullyBufferAndAlwaysInjectContentLength
func (*BufferBehavior) GetInjectContentLengthIfNecessary ¶
func (x *BufferBehavior) GetInjectContentLengthIfNecessary() *BufferBehavior_InjectContentLengthIfNecessary
func (*BufferBehavior) GetStreamWhenPossible ¶
func (x *BufferBehavior) GetStreamWhenPossible() *BufferBehavior_StreamWhenPossible
func (*BufferBehavior) ProtoMessage ¶
func (*BufferBehavior) ProtoMessage()
func (*BufferBehavior) ProtoReflect ¶
func (x *BufferBehavior) ProtoReflect() protoreflect.Message
func (*BufferBehavior) Reset ¶
func (x *BufferBehavior) Reset()
func (*BufferBehavior) String ¶
func (x *BufferBehavior) String() string
func (*BufferBehavior) Validate ¶
func (m *BufferBehavior) Validate() error
Validate checks the field values on BufferBehavior 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 (*BufferBehavior) ValidateAll ¶
func (m *BufferBehavior) ValidateAll() error
ValidateAll checks the field values on BufferBehavior 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 BufferBehaviorMultiError, or nil if none found.
type BufferBehaviorMultiError ¶
type BufferBehaviorMultiError []error
BufferBehaviorMultiError is an error wrapping multiple validation errors returned by BufferBehavior.ValidateAll() if the designated constraints aren't met.
func (BufferBehaviorMultiError) AllErrors ¶
func (m BufferBehaviorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BufferBehaviorMultiError) Error ¶
func (m BufferBehaviorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BufferBehaviorValidationError ¶
type BufferBehaviorValidationError struct {
// contains filtered or unexported fields
}
BufferBehaviorValidationError is the validation error returned by BufferBehavior.Validate if the designated constraints aren't met.
func (BufferBehaviorValidationError) Cause ¶
func (e BufferBehaviorValidationError) Cause() error
Cause function returns cause value.
func (BufferBehaviorValidationError) Error ¶
func (e BufferBehaviorValidationError) Error() string
Error satisfies the builtin error interface
func (BufferBehaviorValidationError) ErrorName ¶
func (e BufferBehaviorValidationError) ErrorName() string
ErrorName returns error name.
func (BufferBehaviorValidationError) Field ¶
func (e BufferBehaviorValidationError) Field() string
Field function returns field value.
func (BufferBehaviorValidationError) Key ¶
func (e BufferBehaviorValidationError) Key() bool
Key function returns key value.
func (BufferBehaviorValidationError) Reason ¶
func (e BufferBehaviorValidationError) Reason() string
Reason function returns reason value.
type BufferBehavior_Bypass ¶
type BufferBehavior_Bypass struct {
// contains filtered or unexported fields
}
func (*BufferBehavior_Bypass) Descriptor
deprecated
func (*BufferBehavior_Bypass) Descriptor() ([]byte, []int)
Deprecated: Use BufferBehavior_Bypass.ProtoReflect.Descriptor instead.
func (*BufferBehavior_Bypass) ProtoMessage ¶
func (*BufferBehavior_Bypass) ProtoMessage()
func (*BufferBehavior_Bypass) ProtoReflect ¶
func (x *BufferBehavior_Bypass) ProtoReflect() protoreflect.Message
func (*BufferBehavior_Bypass) Reset ¶
func (x *BufferBehavior_Bypass) Reset()
func (*BufferBehavior_Bypass) String ¶
func (x *BufferBehavior_Bypass) String() string
func (*BufferBehavior_Bypass) Validate ¶
func (m *BufferBehavior_Bypass) Validate() error
Validate checks the field values on BufferBehavior_Bypass 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 (*BufferBehavior_Bypass) ValidateAll ¶
func (m *BufferBehavior_Bypass) ValidateAll() error
ValidateAll checks the field values on BufferBehavior_Bypass 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 BufferBehavior_BypassMultiError, or nil if none found.
type BufferBehavior_BypassMultiError ¶
type BufferBehavior_BypassMultiError []error
BufferBehavior_BypassMultiError is an error wrapping multiple validation errors returned by BufferBehavior_Bypass.ValidateAll() if the designated constraints aren't met.
func (BufferBehavior_BypassMultiError) AllErrors ¶
func (m BufferBehavior_BypassMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BufferBehavior_BypassMultiError) Error ¶
func (m BufferBehavior_BypassMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BufferBehavior_BypassValidationError ¶
type BufferBehavior_BypassValidationError struct {
// contains filtered or unexported fields
}
BufferBehavior_BypassValidationError is the validation error returned by BufferBehavior_Bypass.Validate if the designated constraints aren't met.
func (BufferBehavior_BypassValidationError) Cause ¶
func (e BufferBehavior_BypassValidationError) Cause() error
Cause function returns cause value.
func (BufferBehavior_BypassValidationError) Error ¶
func (e BufferBehavior_BypassValidationError) Error() string
Error satisfies the builtin error interface
func (BufferBehavior_BypassValidationError) ErrorName ¶
func (e BufferBehavior_BypassValidationError) ErrorName() string
ErrorName returns error name.
func (BufferBehavior_BypassValidationError) Field ¶
func (e BufferBehavior_BypassValidationError) Field() string
Field function returns field value.
func (BufferBehavior_BypassValidationError) Key ¶
func (e BufferBehavior_BypassValidationError) Key() bool
Key function returns key value.
func (BufferBehavior_BypassValidationError) Reason ¶
func (e BufferBehavior_BypassValidationError) Reason() string
Reason function returns reason value.
type BufferBehavior_Bypass_ ¶
type BufferBehavior_Bypass_ struct { // Never buffer, do nothing. Bypass *BufferBehavior_Bypass `protobuf:"bytes,2,opt,name=bypass,proto3,oneof"` }
type BufferBehavior_FullyBuffer ¶
type BufferBehavior_FullyBuffer struct {
// contains filtered or unexported fields
}
func (*BufferBehavior_FullyBuffer) Descriptor
deprecated
func (*BufferBehavior_FullyBuffer) Descriptor() ([]byte, []int)
Deprecated: Use BufferBehavior_FullyBuffer.ProtoReflect.Descriptor instead.
func (*BufferBehavior_FullyBuffer) ProtoMessage ¶
func (*BufferBehavior_FullyBuffer) ProtoMessage()
func (*BufferBehavior_FullyBuffer) ProtoReflect ¶
func (x *BufferBehavior_FullyBuffer) ProtoReflect() protoreflect.Message
func (*BufferBehavior_FullyBuffer) Reset ¶
func (x *BufferBehavior_FullyBuffer) Reset()
func (*BufferBehavior_FullyBuffer) String ¶
func (x *BufferBehavior_FullyBuffer) String() string
func (*BufferBehavior_FullyBuffer) Validate ¶
func (m *BufferBehavior_FullyBuffer) Validate() error
Validate checks the field values on BufferBehavior_FullyBuffer 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 (*BufferBehavior_FullyBuffer) ValidateAll ¶
func (m *BufferBehavior_FullyBuffer) ValidateAll() error
ValidateAll checks the field values on BufferBehavior_FullyBuffer 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 BufferBehavior_FullyBufferMultiError, or nil if none found.
type BufferBehavior_FullyBufferAndAlwaysInjectContentLength ¶
type BufferBehavior_FullyBufferAndAlwaysInjectContentLength struct {
// contains filtered or unexported fields
}
func (*BufferBehavior_FullyBufferAndAlwaysInjectContentLength) Descriptor
deprecated
func (*BufferBehavior_FullyBufferAndAlwaysInjectContentLength) Descriptor() ([]byte, []int)
Deprecated: Use BufferBehavior_FullyBufferAndAlwaysInjectContentLength.ProtoReflect.Descriptor instead.
func (*BufferBehavior_FullyBufferAndAlwaysInjectContentLength) ProtoMessage ¶
func (*BufferBehavior_FullyBufferAndAlwaysInjectContentLength) ProtoMessage()
func (*BufferBehavior_FullyBufferAndAlwaysInjectContentLength) ProtoReflect ¶
func (x *BufferBehavior_FullyBufferAndAlwaysInjectContentLength) ProtoReflect() protoreflect.Message
func (*BufferBehavior_FullyBufferAndAlwaysInjectContentLength) Reset ¶
func (x *BufferBehavior_FullyBufferAndAlwaysInjectContentLength) Reset()
func (*BufferBehavior_FullyBufferAndAlwaysInjectContentLength) String ¶
func (x *BufferBehavior_FullyBufferAndAlwaysInjectContentLength) String() string
func (*BufferBehavior_FullyBufferAndAlwaysInjectContentLength) Validate ¶
func (m *BufferBehavior_FullyBufferAndAlwaysInjectContentLength) Validate() error
Validate checks the field values on BufferBehavior_FullyBufferAndAlwaysInjectContentLength 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 (*BufferBehavior_FullyBufferAndAlwaysInjectContentLength) ValidateAll ¶
func (m *BufferBehavior_FullyBufferAndAlwaysInjectContentLength) ValidateAll() error
ValidateAll checks the field values on BufferBehavior_FullyBufferAndAlwaysInjectContentLength 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 BufferBehavior_FullyBufferAndAlwaysInjectContentLengthMultiError, or nil if none found.
type BufferBehavior_FullyBufferAndAlwaysInjectContentLengthMultiError ¶
type BufferBehavior_FullyBufferAndAlwaysInjectContentLengthMultiError []error
BufferBehavior_FullyBufferAndAlwaysInjectContentLengthMultiError is an error wrapping multiple validation errors returned by BufferBehavior_FullyBufferAndAlwaysInjectContentLength.ValidateAll() if the designated constraints aren't met.
func (BufferBehavior_FullyBufferAndAlwaysInjectContentLengthMultiError) AllErrors ¶
func (m BufferBehavior_FullyBufferAndAlwaysInjectContentLengthMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BufferBehavior_FullyBufferAndAlwaysInjectContentLengthMultiError) Error ¶
func (m BufferBehavior_FullyBufferAndAlwaysInjectContentLengthMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BufferBehavior_FullyBufferAndAlwaysInjectContentLengthValidationError ¶
type BufferBehavior_FullyBufferAndAlwaysInjectContentLengthValidationError struct {
// contains filtered or unexported fields
}
BufferBehavior_FullyBufferAndAlwaysInjectContentLengthValidationError is the validation error returned by BufferBehavior_FullyBufferAndAlwaysInjectContentLength.Validate if the designated constraints aren't met.
func (BufferBehavior_FullyBufferAndAlwaysInjectContentLengthValidationError) Cause ¶
Cause function returns cause value.
func (BufferBehavior_FullyBufferAndAlwaysInjectContentLengthValidationError) Error ¶
Error satisfies the builtin error interface
func (BufferBehavior_FullyBufferAndAlwaysInjectContentLengthValidationError) ErrorName ¶
func (e BufferBehavior_FullyBufferAndAlwaysInjectContentLengthValidationError) ErrorName() string
ErrorName returns error name.
func (BufferBehavior_FullyBufferAndAlwaysInjectContentLengthValidationError) Field ¶
Field function returns field value.
func (BufferBehavior_FullyBufferAndAlwaysInjectContentLengthValidationError) Key ¶
Key function returns key value.
func (BufferBehavior_FullyBufferAndAlwaysInjectContentLengthValidationError) Reason ¶
func (e BufferBehavior_FullyBufferAndAlwaysInjectContentLengthValidationError) Reason() string
Reason function returns reason value.
type BufferBehavior_FullyBufferAndAlwaysInjectContentLength_ ¶
type BufferBehavior_FullyBufferAndAlwaysInjectContentLength_ struct { // Always buffer the entire input, and inject “content-length“, // overwriting any provided content-length header. FullyBufferAndAlwaysInjectContentLength *BufferBehavior_FullyBufferAndAlwaysInjectContentLength `` /* 131-byte string literal not displayed */ }
type BufferBehavior_FullyBufferMultiError ¶
type BufferBehavior_FullyBufferMultiError []error
BufferBehavior_FullyBufferMultiError is an error wrapping multiple validation errors returned by BufferBehavior_FullyBuffer.ValidateAll() if the designated constraints aren't met.
func (BufferBehavior_FullyBufferMultiError) AllErrors ¶
func (m BufferBehavior_FullyBufferMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BufferBehavior_FullyBufferMultiError) Error ¶
func (m BufferBehavior_FullyBufferMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BufferBehavior_FullyBufferValidationError ¶
type BufferBehavior_FullyBufferValidationError struct {
// contains filtered or unexported fields
}
BufferBehavior_FullyBufferValidationError is the validation error returned by BufferBehavior_FullyBuffer.Validate if the designated constraints aren't met.
func (BufferBehavior_FullyBufferValidationError) Cause ¶
func (e BufferBehavior_FullyBufferValidationError) Cause() error
Cause function returns cause value.
func (BufferBehavior_FullyBufferValidationError) Error ¶
func (e BufferBehavior_FullyBufferValidationError) Error() string
Error satisfies the builtin error interface
func (BufferBehavior_FullyBufferValidationError) ErrorName ¶
func (e BufferBehavior_FullyBufferValidationError) ErrorName() string
ErrorName returns error name.
func (BufferBehavior_FullyBufferValidationError) Field ¶
func (e BufferBehavior_FullyBufferValidationError) Field() string
Field function returns field value.
func (BufferBehavior_FullyBufferValidationError) Key ¶
func (e BufferBehavior_FullyBufferValidationError) Key() bool
Key function returns key value.
func (BufferBehavior_FullyBufferValidationError) Reason ¶
func (e BufferBehavior_FullyBufferValidationError) Reason() string
Reason function returns reason value.
type BufferBehavior_FullyBuffer_ ¶
type BufferBehavior_FullyBuffer_ struct { // Always buffer the entire input, do not modify “content-length“. FullyBuffer *BufferBehavior_FullyBuffer `protobuf:"bytes,5,opt,name=fully_buffer,json=fullyBuffer,proto3,oneof"` }
type BufferBehavior_InjectContentLengthIfNecessary ¶
type BufferBehavior_InjectContentLengthIfNecessary struct {
// contains filtered or unexported fields
}
func (*BufferBehavior_InjectContentLengthIfNecessary) Descriptor
deprecated
func (*BufferBehavior_InjectContentLengthIfNecessary) Descriptor() ([]byte, []int)
Deprecated: Use BufferBehavior_InjectContentLengthIfNecessary.ProtoReflect.Descriptor instead.
func (*BufferBehavior_InjectContentLengthIfNecessary) ProtoMessage ¶
func (*BufferBehavior_InjectContentLengthIfNecessary) ProtoMessage()
func (*BufferBehavior_InjectContentLengthIfNecessary) ProtoReflect ¶
func (x *BufferBehavior_InjectContentLengthIfNecessary) ProtoReflect() protoreflect.Message
func (*BufferBehavior_InjectContentLengthIfNecessary) Reset ¶
func (x *BufferBehavior_InjectContentLengthIfNecessary) Reset()
func (*BufferBehavior_InjectContentLengthIfNecessary) String ¶
func (x *BufferBehavior_InjectContentLengthIfNecessary) String() string
func (*BufferBehavior_InjectContentLengthIfNecessary) Validate ¶
func (m *BufferBehavior_InjectContentLengthIfNecessary) Validate() error
Validate checks the field values on BufferBehavior_InjectContentLengthIfNecessary 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 (*BufferBehavior_InjectContentLengthIfNecessary) ValidateAll ¶
func (m *BufferBehavior_InjectContentLengthIfNecessary) ValidateAll() error
ValidateAll checks the field values on BufferBehavior_InjectContentLengthIfNecessary 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 BufferBehavior_InjectContentLengthIfNecessaryMultiError, or nil if none found.
type BufferBehavior_InjectContentLengthIfNecessaryMultiError ¶
type BufferBehavior_InjectContentLengthIfNecessaryMultiError []error
BufferBehavior_InjectContentLengthIfNecessaryMultiError is an error wrapping multiple validation errors returned by BufferBehavior_InjectContentLengthIfNecessary.ValidateAll() if the designated constraints aren't met.
func (BufferBehavior_InjectContentLengthIfNecessaryMultiError) AllErrors ¶
func (m BufferBehavior_InjectContentLengthIfNecessaryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BufferBehavior_InjectContentLengthIfNecessaryMultiError) Error ¶
func (m BufferBehavior_InjectContentLengthIfNecessaryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BufferBehavior_InjectContentLengthIfNecessaryValidationError ¶
type BufferBehavior_InjectContentLengthIfNecessaryValidationError struct {
// contains filtered or unexported fields
}
BufferBehavior_InjectContentLengthIfNecessaryValidationError is the validation error returned by BufferBehavior_InjectContentLengthIfNecessary.Validate if the designated constraints aren't met.
func (BufferBehavior_InjectContentLengthIfNecessaryValidationError) Cause ¶
func (e BufferBehavior_InjectContentLengthIfNecessaryValidationError) Cause() error
Cause function returns cause value.
func (BufferBehavior_InjectContentLengthIfNecessaryValidationError) Error ¶
func (e BufferBehavior_InjectContentLengthIfNecessaryValidationError) Error() string
Error satisfies the builtin error interface
func (BufferBehavior_InjectContentLengthIfNecessaryValidationError) ErrorName ¶
func (e BufferBehavior_InjectContentLengthIfNecessaryValidationError) ErrorName() string
ErrorName returns error name.
func (BufferBehavior_InjectContentLengthIfNecessaryValidationError) Field ¶
func (e BufferBehavior_InjectContentLengthIfNecessaryValidationError) Field() string
Field function returns field value.
func (BufferBehavior_InjectContentLengthIfNecessaryValidationError) Key ¶
func (e BufferBehavior_InjectContentLengthIfNecessaryValidationError) Key() bool
Key function returns key value.
func (BufferBehavior_InjectContentLengthIfNecessaryValidationError) Reason ¶
func (e BufferBehavior_InjectContentLengthIfNecessaryValidationError) Reason() string
Reason function returns reason value.
type BufferBehavior_InjectContentLengthIfNecessary_ ¶
type BufferBehavior_InjectContentLengthIfNecessary_ struct { // If “content-length“ is not present, buffer the entire input, // inject “content-length“ header, then output. // If “content-length“ is already present, act like “stream_when_possible“. InjectContentLengthIfNecessary *BufferBehavior_InjectContentLengthIfNecessary `protobuf:"bytes,3,opt,name=inject_content_length_if_necessary,json=injectContentLengthIfNecessary,proto3,oneof"` }
type BufferBehavior_StreamWhenPossible ¶
type BufferBehavior_StreamWhenPossible struct {
// contains filtered or unexported fields
}
func (*BufferBehavior_StreamWhenPossible) Descriptor
deprecated
func (*BufferBehavior_StreamWhenPossible) Descriptor() ([]byte, []int)
Deprecated: Use BufferBehavior_StreamWhenPossible.ProtoReflect.Descriptor instead.
func (*BufferBehavior_StreamWhenPossible) ProtoMessage ¶
func (*BufferBehavior_StreamWhenPossible) ProtoMessage()
func (*BufferBehavior_StreamWhenPossible) ProtoReflect ¶
func (x *BufferBehavior_StreamWhenPossible) ProtoReflect() protoreflect.Message
func (*BufferBehavior_StreamWhenPossible) Reset ¶
func (x *BufferBehavior_StreamWhenPossible) Reset()
func (*BufferBehavior_StreamWhenPossible) String ¶
func (x *BufferBehavior_StreamWhenPossible) String() string
func (*BufferBehavior_StreamWhenPossible) Validate ¶
func (m *BufferBehavior_StreamWhenPossible) Validate() error
Validate checks the field values on BufferBehavior_StreamWhenPossible 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 (*BufferBehavior_StreamWhenPossible) ValidateAll ¶
func (m *BufferBehavior_StreamWhenPossible) ValidateAll() error
ValidateAll checks the field values on BufferBehavior_StreamWhenPossible 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 BufferBehavior_StreamWhenPossibleMultiError, or nil if none found.
type BufferBehavior_StreamWhenPossibleMultiError ¶
type BufferBehavior_StreamWhenPossibleMultiError []error
BufferBehavior_StreamWhenPossibleMultiError is an error wrapping multiple validation errors returned by BufferBehavior_StreamWhenPossible.ValidateAll() if the designated constraints aren't met.
func (BufferBehavior_StreamWhenPossibleMultiError) AllErrors ¶
func (m BufferBehavior_StreamWhenPossibleMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BufferBehavior_StreamWhenPossibleMultiError) Error ¶
func (m BufferBehavior_StreamWhenPossibleMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BufferBehavior_StreamWhenPossibleValidationError ¶
type BufferBehavior_StreamWhenPossibleValidationError struct {
// contains filtered or unexported fields
}
BufferBehavior_StreamWhenPossibleValidationError is the validation error returned by BufferBehavior_StreamWhenPossible.Validate if the designated constraints aren't met.
func (BufferBehavior_StreamWhenPossibleValidationError) Cause ¶
func (e BufferBehavior_StreamWhenPossibleValidationError) Cause() error
Cause function returns cause value.
func (BufferBehavior_StreamWhenPossibleValidationError) Error ¶
func (e BufferBehavior_StreamWhenPossibleValidationError) Error() string
Error satisfies the builtin error interface
func (BufferBehavior_StreamWhenPossibleValidationError) ErrorName ¶
func (e BufferBehavior_StreamWhenPossibleValidationError) ErrorName() string
ErrorName returns error name.
func (BufferBehavior_StreamWhenPossibleValidationError) Field ¶
func (e BufferBehavior_StreamWhenPossibleValidationError) Field() string
Field function returns field value.
func (BufferBehavior_StreamWhenPossibleValidationError) Key ¶
func (e BufferBehavior_StreamWhenPossibleValidationError) Key() bool
Key function returns key value.
func (BufferBehavior_StreamWhenPossibleValidationError) Reason ¶
func (e BufferBehavior_StreamWhenPossibleValidationError) Reason() string
Reason function returns reason value.
type BufferBehavior_StreamWhenPossible_ ¶
type BufferBehavior_StreamWhenPossible_ struct { // Don't inject “content-length“ header. // Output immediately, buffer only if output is slower than input. StreamWhenPossible *BufferBehavior_StreamWhenPossible `protobuf:"bytes,1,opt,name=stream_when_possible,json=streamWhenPossible,proto3,oneof"` }
type FileSystemBufferFilterConfig ¶
type FileSystemBufferFilterConfig struct { // A configuration for an AsyncFileManager. // // If unset in route, vhost and listener, and the behavior is not “bypass“ // in both directions, an Internal Server Error response will be sent. ManagerConfig *v3.AsyncFileManagerConfig `protobuf:"bytes,1,opt,name=manager_config,json=managerConfig,proto3" json:"manager_config,omitempty"` // An optional path to which the unlinked files should be written - this may // determine which physical storage device will be used. // // If unset in route, vhost and listener, will use the environment variable // “TMPDIR“, or, if that's also unset, will use “/tmp“. StorageBufferPath *wrappers.StringValue `protobuf:"bytes,2,opt,name=storage_buffer_path,json=storageBufferPath,proto3" json:"storage_buffer_path,omitempty"` // Optional configuration for how to buffer (or not) requests. // If unset in route, vhost and listener, “StreamConfig“ default values will be used // (with behavior “stream_when_possible“) Request *StreamConfig `protobuf:"bytes,3,opt,name=request,proto3" json:"request,omitempty"` // Optional configuration for how to buffer (or not) responses. // If unset in route, vhost and listener, “StreamConfig“ default values will be used // (with behavior “stream_when_possible“) Response *StreamConfig `protobuf:"bytes,4,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
A :ref:`file system buffer <config_http_filters_file_system_buffer>` filter configuration.
Route-specific configs override only the fields they explicitly include; unset fields inherit from the vhost or listener-level config, or, if never set, and not required, use a default value.
func (*FileSystemBufferFilterConfig) Descriptor
deprecated
func (*FileSystemBufferFilterConfig) Descriptor() ([]byte, []int)
Deprecated: Use FileSystemBufferFilterConfig.ProtoReflect.Descriptor instead.
func (*FileSystemBufferFilterConfig) GetManagerConfig ¶
func (x *FileSystemBufferFilterConfig) GetManagerConfig() *v3.AsyncFileManagerConfig
func (*FileSystemBufferFilterConfig) GetRequest ¶
func (x *FileSystemBufferFilterConfig) GetRequest() *StreamConfig
func (*FileSystemBufferFilterConfig) GetResponse ¶
func (x *FileSystemBufferFilterConfig) GetResponse() *StreamConfig
func (*FileSystemBufferFilterConfig) GetStorageBufferPath ¶
func (x *FileSystemBufferFilterConfig) GetStorageBufferPath() *wrappers.StringValue
func (*FileSystemBufferFilterConfig) ProtoMessage ¶
func (*FileSystemBufferFilterConfig) ProtoMessage()
func (*FileSystemBufferFilterConfig) ProtoReflect ¶
func (x *FileSystemBufferFilterConfig) ProtoReflect() protoreflect.Message
func (*FileSystemBufferFilterConfig) Reset ¶
func (x *FileSystemBufferFilterConfig) Reset()
func (*FileSystemBufferFilterConfig) String ¶
func (x *FileSystemBufferFilterConfig) String() string
func (*FileSystemBufferFilterConfig) Validate ¶
func (m *FileSystemBufferFilterConfig) Validate() error
Validate checks the field values on FileSystemBufferFilterConfig 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 (*FileSystemBufferFilterConfig) ValidateAll ¶
func (m *FileSystemBufferFilterConfig) ValidateAll() error
ValidateAll checks the field values on FileSystemBufferFilterConfig 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 FileSystemBufferFilterConfigMultiError, or nil if none found.
type FileSystemBufferFilterConfigMultiError ¶
type FileSystemBufferFilterConfigMultiError []error
FileSystemBufferFilterConfigMultiError is an error wrapping multiple validation errors returned by FileSystemBufferFilterConfig.ValidateAll() if the designated constraints aren't met.
func (FileSystemBufferFilterConfigMultiError) AllErrors ¶
func (m FileSystemBufferFilterConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (FileSystemBufferFilterConfigMultiError) Error ¶
func (m FileSystemBufferFilterConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type FileSystemBufferFilterConfigValidationError ¶
type FileSystemBufferFilterConfigValidationError struct {
// contains filtered or unexported fields
}
FileSystemBufferFilterConfigValidationError is the validation error returned by FileSystemBufferFilterConfig.Validate if the designated constraints aren't met.
func (FileSystemBufferFilterConfigValidationError) Cause ¶
func (e FileSystemBufferFilterConfigValidationError) Cause() error
Cause function returns cause value.
func (FileSystemBufferFilterConfigValidationError) Error ¶
func (e FileSystemBufferFilterConfigValidationError) Error() string
Error satisfies the builtin error interface
func (FileSystemBufferFilterConfigValidationError) ErrorName ¶
func (e FileSystemBufferFilterConfigValidationError) ErrorName() string
ErrorName returns error name.
func (FileSystemBufferFilterConfigValidationError) Field ¶
func (e FileSystemBufferFilterConfigValidationError) Field() string
Field function returns field value.
func (FileSystemBufferFilterConfigValidationError) Key ¶
func (e FileSystemBufferFilterConfigValidationError) Key() bool
Key function returns key value.
func (FileSystemBufferFilterConfigValidationError) Reason ¶
func (e FileSystemBufferFilterConfigValidationError) Reason() string
Reason function returns reason value.
type StreamConfig ¶
type StreamConfig struct { // Whether to bypass / stream / fully buffer / etc. // If unset in route, vhost and listener config, the default is “stream_when_possible“. Behavior *BufferBehavior `protobuf:"bytes,1,opt,name=behavior,proto3" json:"behavior,omitempty"` // The amount stored in the memory buffer before buffering to disk. // If unset in route, vhost and listener config, defaults to a hardcoded value of 1MiB MemoryBufferBytesLimit *wrappers.UInt64Value `` /* 131-byte string literal not displayed */ // The maximum storage (excluding memory) to be buffered in this filter. // If unset in route, vhost and listener config, defaults to a hardcoded value of 32MiB StorageBufferBytesLimit *wrappers.UInt64Value `` /* 134-byte string literal not displayed */ // The maximum amount that can be queued for writing to storage, above which the // source is requested to pause. If unset, defaults to the same value as // “memory_buffer_bytes_limit“. // // For example, assuming the recipient is not consuming data at all, if // “memory_buffer_bytes_limit“ was 32MiB, and “storage_buffer_queue_high_watermark_bytes“ // was 64MiB, and the filesystem is backed up so writes are not occurring promptly, // then: // // * Any request less than 32MiB will eventually pass through without ever attempting // to write to disk. // * Any request with over 32MiB buffered will start trying to write to disk. // If it reaches (32+64)MiB buffered in memory (write to disk isn't keeping up), a high // watermark signal is sent to the source. // * Any stream whose total size exceeds // “memory_buffer_bytes_limit + storage_buffer_bytes_limit“ will provoke an error. // (Note, if the recipient *is* consuming data then it is possible for such an // oversized request to pass through the buffer filter, provided the recipient // isn't consuming data too slowly.) // // The low watermark signal is sent when the memory buffer is at size // “memory_buffer_bytes_limit + (storage_buffer_queue_high_watermark_bytes / 2)“. StorageBufferQueueHighWatermarkBytes *wrappers.UInt64Value `` /* 177-byte string literal not displayed */ // contains filtered or unexported fields }
The configuration for one direction of the filter behavior.
func (*StreamConfig) Descriptor
deprecated
func (*StreamConfig) Descriptor() ([]byte, []int)
Deprecated: Use StreamConfig.ProtoReflect.Descriptor instead.
func (*StreamConfig) GetBehavior ¶
func (x *StreamConfig) GetBehavior() *BufferBehavior
func (*StreamConfig) GetMemoryBufferBytesLimit ¶
func (x *StreamConfig) GetMemoryBufferBytesLimit() *wrappers.UInt64Value
func (*StreamConfig) GetStorageBufferBytesLimit ¶
func (x *StreamConfig) GetStorageBufferBytesLimit() *wrappers.UInt64Value
func (*StreamConfig) GetStorageBufferQueueHighWatermarkBytes ¶
func (x *StreamConfig) GetStorageBufferQueueHighWatermarkBytes() *wrappers.UInt64Value
func (*StreamConfig) ProtoMessage ¶
func (*StreamConfig) ProtoMessage()
func (*StreamConfig) ProtoReflect ¶
func (x *StreamConfig) ProtoReflect() protoreflect.Message
func (*StreamConfig) Reset ¶
func (x *StreamConfig) Reset()
func (*StreamConfig) String ¶
func (x *StreamConfig) String() string
func (*StreamConfig) Validate ¶
func (m *StreamConfig) Validate() error
Validate checks the field values on StreamConfig 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 (*StreamConfig) ValidateAll ¶
func (m *StreamConfig) ValidateAll() error
ValidateAll checks the field values on StreamConfig 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 StreamConfigMultiError, or nil if none found.
type StreamConfigMultiError ¶
type StreamConfigMultiError []error
StreamConfigMultiError is an error wrapping multiple validation errors returned by StreamConfig.ValidateAll() if the designated constraints aren't met.
func (StreamConfigMultiError) AllErrors ¶
func (m StreamConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StreamConfigMultiError) Error ¶
func (m StreamConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type StreamConfigValidationError ¶
type StreamConfigValidationError struct {
// contains filtered or unexported fields
}
StreamConfigValidationError is the validation error returned by StreamConfig.Validate if the designated constraints aren't met.
func (StreamConfigValidationError) Cause ¶
func (e StreamConfigValidationError) Cause() error
Cause function returns cause value.
func (StreamConfigValidationError) Error ¶
func (e StreamConfigValidationError) Error() string
Error satisfies the builtin error interface
func (StreamConfigValidationError) ErrorName ¶
func (e StreamConfigValidationError) ErrorName() string
ErrorName returns error name.
func (StreamConfigValidationError) Field ¶
func (e StreamConfigValidationError) Field() string
Field function returns field value.
func (StreamConfigValidationError) Key ¶
func (e StreamConfigValidationError) Key() bool
Key function returns key value.
func (StreamConfigValidationError) Reason ¶
func (e StreamConfigValidationError) Reason() string
Reason function returns reason value.