Documentation ¶
Index ¶
- Variables
- type PathTransformation
- func (*PathTransformation) Descriptor() ([]byte, []int)deprecated
- func (x *PathTransformation) GetOperations() []*PathTransformation_Operation
- func (*PathTransformation) ProtoMessage()
- func (x *PathTransformation) ProtoReflect() protoreflect.Message
- func (x *PathTransformation) Reset()
- func (x *PathTransformation) String() string
- func (m *PathTransformation) Validate() error
- type PathTransformationValidationError
- func (e PathTransformationValidationError) Cause() error
- func (e PathTransformationValidationError) Error() string
- func (e PathTransformationValidationError) ErrorName() string
- func (e PathTransformationValidationError) Field() string
- func (e PathTransformationValidationError) Key() bool
- func (e PathTransformationValidationError) Reason() string
- type PathTransformation_Operation
- func (*PathTransformation_Operation) Descriptor() ([]byte, []int)deprecated
- func (x *PathTransformation_Operation) GetMergeSlashes() *PathTransformation_Operation_MergeSlashes
- func (x *PathTransformation_Operation) GetNormalizePathRfc_3986() *PathTransformation_Operation_NormalizePathRFC3986
- func (m *PathTransformation_Operation) GetOperationSpecifier() isPathTransformation_Operation_OperationSpecifier
- func (*PathTransformation_Operation) ProtoMessage()
- func (x *PathTransformation_Operation) ProtoReflect() protoreflect.Message
- func (x *PathTransformation_Operation) Reset()
- func (x *PathTransformation_Operation) String() string
- func (m *PathTransformation_Operation) Validate() error
- type PathTransformation_OperationValidationError
- func (e PathTransformation_OperationValidationError) Cause() error
- func (e PathTransformation_OperationValidationError) Error() string
- func (e PathTransformation_OperationValidationError) ErrorName() string
- func (e PathTransformation_OperationValidationError) Field() string
- func (e PathTransformation_OperationValidationError) Key() bool
- func (e PathTransformation_OperationValidationError) Reason() string
- type PathTransformation_Operation_MergeSlashes
- func (*PathTransformation_Operation_MergeSlashes) Descriptor() ([]byte, []int)deprecated
- func (*PathTransformation_Operation_MergeSlashes) ProtoMessage()
- func (x *PathTransformation_Operation_MergeSlashes) ProtoReflect() protoreflect.Message
- func (x *PathTransformation_Operation_MergeSlashes) Reset()
- func (x *PathTransformation_Operation_MergeSlashes) String() string
- func (m *PathTransformation_Operation_MergeSlashes) Validate() error
- type PathTransformation_Operation_MergeSlashesValidationError
- func (e PathTransformation_Operation_MergeSlashesValidationError) Cause() error
- func (e PathTransformation_Operation_MergeSlashesValidationError) Error() string
- func (e PathTransformation_Operation_MergeSlashesValidationError) ErrorName() string
- func (e PathTransformation_Operation_MergeSlashesValidationError) Field() string
- func (e PathTransformation_Operation_MergeSlashesValidationError) Key() bool
- func (e PathTransformation_Operation_MergeSlashesValidationError) Reason() string
- type PathTransformation_Operation_MergeSlashes_
- type PathTransformation_Operation_NormalizePathRFC3986
- func (*PathTransformation_Operation_NormalizePathRFC3986) Descriptor() ([]byte, []int)deprecated
- func (*PathTransformation_Operation_NormalizePathRFC3986) ProtoMessage()
- func (x *PathTransformation_Operation_NormalizePathRFC3986) ProtoReflect() protoreflect.Message
- func (x *PathTransformation_Operation_NormalizePathRFC3986) Reset()
- func (x *PathTransformation_Operation_NormalizePathRFC3986) String() string
- func (m *PathTransformation_Operation_NormalizePathRFC3986) Validate() error
- type PathTransformation_Operation_NormalizePathRFC3986ValidationError
- func (e PathTransformation_Operation_NormalizePathRFC3986ValidationError) Cause() error
- func (e PathTransformation_Operation_NormalizePathRFC3986ValidationError) Error() string
- func (e PathTransformation_Operation_NormalizePathRFC3986ValidationError) ErrorName() string
- func (e PathTransformation_Operation_NormalizePathRFC3986ValidationError) Field() string
- func (e PathTransformation_Operation_NormalizePathRFC3986ValidationError) Key() bool
- func (e PathTransformation_Operation_NormalizePathRFC3986ValidationError) Reason() string
- type PathTransformation_Operation_NormalizePathRfc_3986
Constants ¶
This section is empty.
Variables ¶
var File_envoy_type_http_v3_path_transformation_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PathTransformation ¶
type PathTransformation struct { // A list of operations to apply. Transformations will be performed in the order that they appear. Operations []*PathTransformation_Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"` // contains filtered or unexported fields }
func (*PathTransformation) Descriptor
deprecated
func (*PathTransformation) Descriptor() ([]byte, []int)
Deprecated: Use PathTransformation.ProtoReflect.Descriptor instead.
func (*PathTransformation) GetOperations ¶
func (x *PathTransformation) GetOperations() []*PathTransformation_Operation
func (*PathTransformation) ProtoMessage ¶
func (*PathTransformation) ProtoMessage()
func (*PathTransformation) ProtoReflect ¶
func (x *PathTransformation) ProtoReflect() protoreflect.Message
func (*PathTransformation) Reset ¶
func (x *PathTransformation) Reset()
func (*PathTransformation) String ¶
func (x *PathTransformation) String() string
func (*PathTransformation) Validate ¶
func (m *PathTransformation) Validate() error
Validate checks the field values on PathTransformation with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PathTransformationValidationError ¶
type PathTransformationValidationError struct {
// contains filtered or unexported fields
}
PathTransformationValidationError is the validation error returned by PathTransformation.Validate if the designated constraints aren't met.
func (PathTransformationValidationError) Cause ¶
func (e PathTransformationValidationError) Cause() error
Cause function returns cause value.
func (PathTransformationValidationError) Error ¶
func (e PathTransformationValidationError) Error() string
Error satisfies the builtin error interface
func (PathTransformationValidationError) ErrorName ¶
func (e PathTransformationValidationError) ErrorName() string
ErrorName returns error name.
func (PathTransformationValidationError) Field ¶
func (e PathTransformationValidationError) Field() string
Field function returns field value.
func (PathTransformationValidationError) Key ¶
func (e PathTransformationValidationError) Key() bool
Key function returns key value.
func (PathTransformationValidationError) Reason ¶
func (e PathTransformationValidationError) Reason() string
Reason function returns reason value.
type PathTransformation_Operation ¶
type PathTransformation_Operation struct { // Types that are assignable to OperationSpecifier: // *PathTransformation_Operation_NormalizePathRfc_3986 // *PathTransformation_Operation_MergeSlashes_ OperationSpecifier isPathTransformation_Operation_OperationSpecifier `protobuf_oneof:"operation_specifier"` // contains filtered or unexported fields }
A type of operation to alter text.
func (*PathTransformation_Operation) Descriptor
deprecated
func (*PathTransformation_Operation) Descriptor() ([]byte, []int)
Deprecated: Use PathTransformation_Operation.ProtoReflect.Descriptor instead.
func (*PathTransformation_Operation) GetMergeSlashes ¶
func (x *PathTransformation_Operation) GetMergeSlashes() *PathTransformation_Operation_MergeSlashes
func (*PathTransformation_Operation) GetNormalizePathRfc_3986 ¶
func (x *PathTransformation_Operation) GetNormalizePathRfc_3986() *PathTransformation_Operation_NormalizePathRFC3986
func (*PathTransformation_Operation) GetOperationSpecifier ¶
func (m *PathTransformation_Operation) GetOperationSpecifier() isPathTransformation_Operation_OperationSpecifier
func (*PathTransformation_Operation) ProtoMessage ¶
func (*PathTransformation_Operation) ProtoMessage()
func (*PathTransformation_Operation) ProtoReflect ¶
func (x *PathTransformation_Operation) ProtoReflect() protoreflect.Message
func (*PathTransformation_Operation) Reset ¶
func (x *PathTransformation_Operation) Reset()
func (*PathTransformation_Operation) String ¶
func (x *PathTransformation_Operation) String() string
func (*PathTransformation_Operation) Validate ¶
func (m *PathTransformation_Operation) Validate() error
Validate checks the field values on PathTransformation_Operation with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PathTransformation_OperationValidationError ¶
type PathTransformation_OperationValidationError struct {
// contains filtered or unexported fields
}
PathTransformation_OperationValidationError is the validation error returned by PathTransformation_Operation.Validate if the designated constraints aren't met.
func (PathTransformation_OperationValidationError) Cause ¶
func (e PathTransformation_OperationValidationError) Cause() error
Cause function returns cause value.
func (PathTransformation_OperationValidationError) Error ¶
func (e PathTransformation_OperationValidationError) Error() string
Error satisfies the builtin error interface
func (PathTransformation_OperationValidationError) ErrorName ¶
func (e PathTransformation_OperationValidationError) ErrorName() string
ErrorName returns error name.
func (PathTransformation_OperationValidationError) Field ¶
func (e PathTransformation_OperationValidationError) Field() string
Field function returns field value.
func (PathTransformation_OperationValidationError) Key ¶
func (e PathTransformation_OperationValidationError) Key() bool
Key function returns key value.
func (PathTransformation_OperationValidationError) Reason ¶
func (e PathTransformation_OperationValidationError) Reason() string
Reason function returns reason value.
type PathTransformation_Operation_MergeSlashes ¶
type PathTransformation_Operation_MergeSlashes struct {
// contains filtered or unexported fields
}
Determines if adjacent slashes are merged into one. A common use case is for a request path header. Using this option in `:ref: PathNormalizationOptions <envoy_v3_api_msg_extensions.filters.network.http_connection_manager.v3.HttpConnectionManager.PathNormalizationOptions>` will allow incoming requests with path `//dir///file` to match against route with `prefix` match set to `/dir`. When using for header transformations, note that slash merging is not part of `HTTP spec <https://tools.ietf.org/html/rfc3986>`_ and is provided for convenience.
func (*PathTransformation_Operation_MergeSlashes) Descriptor
deprecated
func (*PathTransformation_Operation_MergeSlashes) Descriptor() ([]byte, []int)
Deprecated: Use PathTransformation_Operation_MergeSlashes.ProtoReflect.Descriptor instead.
func (*PathTransformation_Operation_MergeSlashes) ProtoMessage ¶
func (*PathTransformation_Operation_MergeSlashes) ProtoMessage()
func (*PathTransformation_Operation_MergeSlashes) ProtoReflect ¶
func (x *PathTransformation_Operation_MergeSlashes) ProtoReflect() protoreflect.Message
func (*PathTransformation_Operation_MergeSlashes) Reset ¶
func (x *PathTransformation_Operation_MergeSlashes) Reset()
func (*PathTransformation_Operation_MergeSlashes) String ¶
func (x *PathTransformation_Operation_MergeSlashes) String() string
func (*PathTransformation_Operation_MergeSlashes) Validate ¶
func (m *PathTransformation_Operation_MergeSlashes) Validate() error
Validate checks the field values on PathTransformation_Operation_MergeSlashes with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PathTransformation_Operation_MergeSlashesValidationError ¶
type PathTransformation_Operation_MergeSlashesValidationError struct {
// contains filtered or unexported fields
}
PathTransformation_Operation_MergeSlashesValidationError is the validation error returned by PathTransformation_Operation_MergeSlashes.Validate if the designated constraints aren't met.
func (PathTransformation_Operation_MergeSlashesValidationError) Cause ¶
func (e PathTransformation_Operation_MergeSlashesValidationError) Cause() error
Cause function returns cause value.
func (PathTransformation_Operation_MergeSlashesValidationError) Error ¶
func (e PathTransformation_Operation_MergeSlashesValidationError) Error() string
Error satisfies the builtin error interface
func (PathTransformation_Operation_MergeSlashesValidationError) ErrorName ¶
func (e PathTransformation_Operation_MergeSlashesValidationError) ErrorName() string
ErrorName returns error name.
func (PathTransformation_Operation_MergeSlashesValidationError) Field ¶
func (e PathTransformation_Operation_MergeSlashesValidationError) Field() string
Field function returns field value.
func (PathTransformation_Operation_MergeSlashesValidationError) Key ¶
func (e PathTransformation_Operation_MergeSlashesValidationError) Key() bool
Key function returns key value.
func (PathTransformation_Operation_MergeSlashesValidationError) Reason ¶
func (e PathTransformation_Operation_MergeSlashesValidationError) Reason() string
Reason function returns reason value.
type PathTransformation_Operation_MergeSlashes_ ¶
type PathTransformation_Operation_MergeSlashes_ struct { // Enable merging adjacent slashes. MergeSlashes *PathTransformation_Operation_MergeSlashes `protobuf:"bytes,3,opt,name=merge_slashes,json=mergeSlashes,proto3,oneof"` }
type PathTransformation_Operation_NormalizePathRFC3986 ¶
type PathTransformation_Operation_NormalizePathRFC3986 struct {
// contains filtered or unexported fields
}
Should text be normalized according to RFC 3986? This typically is used for path headers before any processing of requests by HTTP filters or routing. This applies percent-encoded normalization and path segment normalization. Fails on characters disallowed in URLs (e.g. NULLs). See `Normalization and Comparison <https://tools.ietf.org/html/rfc3986#section-6>`_ for details of normalization. Note that this options does not perform `case normalization <https://tools.ietf.org/html/rfc3986#section-6.2.2.1>`_
func (*PathTransformation_Operation_NormalizePathRFC3986) Descriptor
deprecated
func (*PathTransformation_Operation_NormalizePathRFC3986) Descriptor() ([]byte, []int)
Deprecated: Use PathTransformation_Operation_NormalizePathRFC3986.ProtoReflect.Descriptor instead.
func (*PathTransformation_Operation_NormalizePathRFC3986) ProtoMessage ¶
func (*PathTransformation_Operation_NormalizePathRFC3986) ProtoMessage()
func (*PathTransformation_Operation_NormalizePathRFC3986) ProtoReflect ¶
func (x *PathTransformation_Operation_NormalizePathRFC3986) ProtoReflect() protoreflect.Message
func (*PathTransformation_Operation_NormalizePathRFC3986) Reset ¶
func (x *PathTransformation_Operation_NormalizePathRFC3986) Reset()
func (*PathTransformation_Operation_NormalizePathRFC3986) String ¶
func (x *PathTransformation_Operation_NormalizePathRFC3986) String() string
func (*PathTransformation_Operation_NormalizePathRFC3986) Validate ¶
func (m *PathTransformation_Operation_NormalizePathRFC3986) Validate() error
Validate checks the field values on PathTransformation_Operation_NormalizePathRFC3986 with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PathTransformation_Operation_NormalizePathRFC3986ValidationError ¶
type PathTransformation_Operation_NormalizePathRFC3986ValidationError struct {
// contains filtered or unexported fields
}
PathTransformation_Operation_NormalizePathRFC3986ValidationError is the validation error returned by PathTransformation_Operation_NormalizePathRFC3986.Validate if the designated constraints aren't met.
func (PathTransformation_Operation_NormalizePathRFC3986ValidationError) Cause ¶
func (e PathTransformation_Operation_NormalizePathRFC3986ValidationError) Cause() error
Cause function returns cause value.
func (PathTransformation_Operation_NormalizePathRFC3986ValidationError) Error ¶
func (e PathTransformation_Operation_NormalizePathRFC3986ValidationError) Error() string
Error satisfies the builtin error interface
func (PathTransformation_Operation_NormalizePathRFC3986ValidationError) ErrorName ¶
func (e PathTransformation_Operation_NormalizePathRFC3986ValidationError) ErrorName() string
ErrorName returns error name.
func (PathTransformation_Operation_NormalizePathRFC3986ValidationError) Field ¶
func (e PathTransformation_Operation_NormalizePathRFC3986ValidationError) Field() string
Field function returns field value.
func (PathTransformation_Operation_NormalizePathRFC3986ValidationError) Key ¶
Key function returns key value.
func (PathTransformation_Operation_NormalizePathRFC3986ValidationError) Reason ¶
func (e PathTransformation_Operation_NormalizePathRFC3986ValidationError) Reason() string
Reason function returns reason value.
type PathTransformation_Operation_NormalizePathRfc_3986 ¶
type PathTransformation_Operation_NormalizePathRfc_3986 struct { // Enable path normalization per RFC 3986. NormalizePathRfc_3986 *PathTransformation_Operation_NormalizePathRFC3986 `protobuf:"bytes,2,opt,name=normalize_path_rfc_3986,json=normalizePathRfc3986,proto3,oneof"` }