package envoy_extensions_http_header_formatters_preserve_case_v3

import "github.com/envoyproxy/go-control-plane/envoy/extensions/http/header_formatters/preserve_case/v3"

Index

Variables

var File_envoy_extensions_http_header_formatters_preserve_case_v3_preserve_case_proto protoreflect.FileDescriptor

Types

type PreserveCaseFormatterConfig

type PreserveCaseFormatterConfig struct {
	// 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

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

Deprecated: Use PreserveCaseFormatterConfig.ProtoReflect.Descriptor instead.

func (*PreserveCaseFormatterConfig) ProtoMessage

func (*PreserveCaseFormatterConfig) ProtoMessage()

func (*PreserveCaseFormatterConfig) ProtoReflect

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

AllErrors returns a list of validation violation errors.

func (PreserveCaseFormatterConfigMultiError) Error

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

Cause function returns cause value.

func (PreserveCaseFormatterConfigValidationError) Error

Error satisfies the builtin error interface

func (PreserveCaseFormatterConfigValidationError) ErrorName

ErrorName returns error name.

func (PreserveCaseFormatterConfigValidationError) Field

Field function returns field value.

func (PreserveCaseFormatterConfigValidationError) Key

Key function returns key value.

func (PreserveCaseFormatterConfigValidationError) Reason

Reason function returns reason value.

Source Files

preserve_case.pb.go preserve_case.pb.validate.go

Version
v0.10.0
Published
Oct 28, 2021
Platform
linux/amd64
Imports
18 packages
Last checked
1 hour ago

Tools for package owners.