Documentation ¶
Index ¶
- Variables
- type Cookie
- func (*Cookie) Descriptor() ([]byte, []int)deprecated
- func (x *Cookie) GetName() string
- func (x *Cookie) GetPath() string
- func (x *Cookie) GetTtl() *durationpb.Duration
- func (*Cookie) ProtoMessage()
- func (x *Cookie) ProtoReflect() protoreflect.Message
- func (x *Cookie) Reset()
- func (x *Cookie) String() string
- 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
- 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
- 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
- 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
- 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 Cookie ¶
type Cookie struct { // The name that will be used to obtain cookie value from downstream HTTP request or generate // new cookie for downstream. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Duration of cookie. This will be used to set the expiry time of a new cookie when it is // generated. Set this to 0s to use a session cookie and disable cookie expiration. Ttl *durationpb.Duration `protobuf:"bytes,2,opt,name=ttl,proto3" json:"ttl,omitempty"` // Path of cookie. This will be used to set the path of a new cookie when it is generated. // If no path is specified here, no path will be set for the cookie. Path string `protobuf:"bytes,3,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
Cookie defines an API for obtaining or generating HTTP cookie.
func (*Cookie) Descriptor
deprecated
func (*Cookie) GetTtl ¶
func (x *Cookie) GetTtl() *durationpb.Duration
func (*Cookie) ProtoMessage ¶
func (*Cookie) ProtoMessage()
func (*Cookie) ProtoReflect ¶
func (x *Cookie) ProtoReflect() protoreflect.Message
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
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
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
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
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"` }