Documentation ¶
Index ¶
- Variables
- type PreserveCaseFormatterConfig
- func (*PreserveCaseFormatterConfig) Descriptor() ([]byte, []int)deprecated
- func (x *PreserveCaseFormatterConfig) GetFormatterTypeOnEnvoyHeaders() PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders
- func (x *PreserveCaseFormatterConfig) GetForwardReasonPhrase() bool
- func (*PreserveCaseFormatterConfig) ProtoMessage()
- func (x *PreserveCaseFormatterConfig) ProtoReflect() protoreflect.Message
- func (x *PreserveCaseFormatterConfig) Reset()
- func (x *PreserveCaseFormatterConfig) String() string
- func (m *PreserveCaseFormatterConfig) Validate() error
- func (m *PreserveCaseFormatterConfig) ValidateAll() error
- type PreserveCaseFormatterConfigMultiError
- type PreserveCaseFormatterConfigValidationError
- func (e PreserveCaseFormatterConfigValidationError) Cause() error
- func (e PreserveCaseFormatterConfigValidationError) Error() string
- func (e PreserveCaseFormatterConfigValidationError) ErrorName() string
- func (e PreserveCaseFormatterConfigValidationError) Field() string
- func (e PreserveCaseFormatterConfigValidationError) Key() bool
- func (e PreserveCaseFormatterConfigValidationError) Reason() string
- type PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders
- func (PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders) Descriptor() protoreflect.EnumDescriptor
- func (x PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders) Enum() *PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders
- func (PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders) EnumDescriptor() ([]byte, []int)deprecated
- func (x PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders) Number() protoreflect.EnumNumber
- func (x PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders) String() string
- func (PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders_name = map[int32]string{ 0: "DEFAULT", 1: "PROPER_CASE", } PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders_value = map[string]int32{ "DEFAULT": 0, "PROPER_CASE": 1, } )
Enum value maps for PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders.
var File_envoy_extensions_http_header_formatters_preserve_case_v3_preserve_case_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PreserveCaseFormatterConfig ¶
type PreserveCaseFormatterConfig struct { // Allows forwarding reason phrase text. // This is off by default, and a standard reason phrase is used for a corresponding HTTP response code. ForwardReasonPhrase bool `protobuf:"varint,1,opt,name=forward_reason_phrase,json=forwardReasonPhrase,proto3" json:"forward_reason_phrase,omitempty"` // Type of formatter to use on headers which are added by Envoy (which are lower case by default). // The default type is DEFAULT, use LowerCase on Envoy headers. FormatterTypeOnEnvoyHeaders PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders `` /* 267-byte string literal not displayed */ // contains filtered or unexported fields }
Configuration for the preserve case header formatter. See the :ref:`header casing <config_http_conn_man_header_casing>` configuration guide for more information.
func (*PreserveCaseFormatterConfig) Descriptor
deprecated
func (*PreserveCaseFormatterConfig) Descriptor() ([]byte, []int)
Deprecated: Use PreserveCaseFormatterConfig.ProtoReflect.Descriptor instead.
func (*PreserveCaseFormatterConfig) GetFormatterTypeOnEnvoyHeaders ¶
func (x *PreserveCaseFormatterConfig) GetFormatterTypeOnEnvoyHeaders() PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders
func (*PreserveCaseFormatterConfig) GetForwardReasonPhrase ¶
func (x *PreserveCaseFormatterConfig) GetForwardReasonPhrase() bool
func (*PreserveCaseFormatterConfig) ProtoMessage ¶
func (*PreserveCaseFormatterConfig) ProtoMessage()
func (*PreserveCaseFormatterConfig) ProtoReflect ¶
func (x *PreserveCaseFormatterConfig) ProtoReflect() protoreflect.Message
func (*PreserveCaseFormatterConfig) Reset ¶
func (x *PreserveCaseFormatterConfig) Reset()
func (*PreserveCaseFormatterConfig) String ¶
func (x *PreserveCaseFormatterConfig) String() string
func (*PreserveCaseFormatterConfig) Validate ¶
func (m *PreserveCaseFormatterConfig) Validate() error
Validate checks the field values on PreserveCaseFormatterConfig 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 (*PreserveCaseFormatterConfig) ValidateAll ¶
func (m *PreserveCaseFormatterConfig) ValidateAll() error
ValidateAll checks the field values on PreserveCaseFormatterConfig 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 PreserveCaseFormatterConfigMultiError, or nil if none found.
type PreserveCaseFormatterConfigMultiError ¶
type PreserveCaseFormatterConfigMultiError []error
PreserveCaseFormatterConfigMultiError is an error wrapping multiple validation errors returned by PreserveCaseFormatterConfig.ValidateAll() if the designated constraints aren't met.
func (PreserveCaseFormatterConfigMultiError) AllErrors ¶
func (m PreserveCaseFormatterConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PreserveCaseFormatterConfigMultiError) Error ¶
func (m PreserveCaseFormatterConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PreserveCaseFormatterConfigValidationError ¶
type PreserveCaseFormatterConfigValidationError struct {
// contains filtered or unexported fields
}
PreserveCaseFormatterConfigValidationError is the validation error returned by PreserveCaseFormatterConfig.Validate if the designated constraints aren't met.
func (PreserveCaseFormatterConfigValidationError) Cause ¶
func (e PreserveCaseFormatterConfigValidationError) Cause() error
Cause function returns cause value.
func (PreserveCaseFormatterConfigValidationError) Error ¶
func (e PreserveCaseFormatterConfigValidationError) Error() string
Error satisfies the builtin error interface
func (PreserveCaseFormatterConfigValidationError) ErrorName ¶
func (e PreserveCaseFormatterConfigValidationError) ErrorName() string
ErrorName returns error name.
func (PreserveCaseFormatterConfigValidationError) Field ¶
func (e PreserveCaseFormatterConfigValidationError) Field() string
Field function returns field value.
func (PreserveCaseFormatterConfigValidationError) Key ¶
func (e PreserveCaseFormatterConfigValidationError) Key() bool
Key function returns key value.
func (PreserveCaseFormatterConfigValidationError) Reason ¶
func (e PreserveCaseFormatterConfigValidationError) Reason() string
Reason function returns reason value.
type PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders ¶
type PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders int32
const ( // Use LowerCase on Envoy added headers. PreserveCaseFormatterConfig_DEFAULT PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders = 0 // Use ProperCaseHeaderKeyFormatter on Envoy added headers that upper cases the first character // in each word. The first character as well as any alpha character following a special // character is upper cased. PreserveCaseFormatterConfig_PROPER_CASE PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders = 1 )
func (PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders) Descriptor ¶
func (PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders) Descriptor() protoreflect.EnumDescriptor
func (PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders) EnumDescriptor
deprecated
func (PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders) EnumDescriptor() ([]byte, []int)
Deprecated: Use PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders.Descriptor instead.
func (PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders) Number ¶
func (x PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders) Number() protoreflect.EnumNumber
func (PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders) String ¶
func (x PreserveCaseFormatterConfig_FormatterTypeOnEnvoyHeaders) String() string