envoy_type_http_v3

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

Cause function returns cause value.

func (PathTransformationValidationError) Error

Error satisfies the builtin error interface

func (PathTransformationValidationError) ErrorName

ErrorName returns error name.

func (PathTransformationValidationError) Field

Field function returns field value.

func (PathTransformationValidationError) Key

Key function returns key value.

func (PathTransformationValidationError) Reason

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 (*PathTransformation_Operation) GetNormalizePathRfc_3986

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 (*PathTransformation_Operation) Reset

func (x *PathTransformation_Operation) Reset()

func (*PathTransformation_Operation) 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

Cause function returns cause value.

func (PathTransformation_OperationValidationError) Error

Error satisfies the builtin error interface

func (PathTransformation_OperationValidationError) ErrorName

ErrorName returns error name.

func (PathTransformation_OperationValidationError) Field

Field function returns field value.

func (PathTransformation_OperationValidationError) Key

Key function returns key value.

func (PathTransformation_OperationValidationError) Reason

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) ProtoReflect

func (*PathTransformation_Operation_MergeSlashes) Reset

func (*PathTransformation_Operation_MergeSlashes) String

func (*PathTransformation_Operation_MergeSlashes) Validate

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

Cause function returns cause value.

func (PathTransformation_Operation_MergeSlashesValidationError) Error

Error satisfies the builtin error interface

func (PathTransformation_Operation_MergeSlashesValidationError) ErrorName

ErrorName returns error name.

func (PathTransformation_Operation_MergeSlashesValidationError) Field

Field function returns field value.

func (PathTransformation_Operation_MergeSlashesValidationError) Key

Key function returns key value.

func (PathTransformation_Operation_MergeSlashesValidationError) Reason

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

Deprecated: Use PathTransformation_Operation_NormalizePathRFC3986.ProtoReflect.Descriptor instead.

func (*PathTransformation_Operation_NormalizePathRFC3986) ProtoMessage

func (*PathTransformation_Operation_NormalizePathRFC3986) ProtoReflect

func (*PathTransformation_Operation_NormalizePathRFC3986) Reset

func (*PathTransformation_Operation_NormalizePathRFC3986) String

func (*PathTransformation_Operation_NormalizePathRFC3986) Validate

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

Cause function returns cause value.

func (PathTransformation_Operation_NormalizePathRFC3986ValidationError) Error

Error satisfies the builtin error interface

func (PathTransformation_Operation_NormalizePathRFC3986ValidationError) ErrorName

ErrorName returns error name.

func (PathTransformation_Operation_NormalizePathRFC3986ValidationError) Field

Field function returns field value.

func (PathTransformation_Operation_NormalizePathRFC3986ValidationError) Key

Key function returns key value.

func (PathTransformation_Operation_NormalizePathRFC3986ValidationError) Reason

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL