aggregationv1

package
v0.0.0-...-0611383 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_aggregation_v1_aggregation_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BoolMatch

type BoolMatch struct {
	ValueMatch bool `protobuf:"varint,1,opt,name=value_match,json=valueMatch,proto3" json:"value_match,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 2]

func (*BoolMatch) Descriptor deprecated

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

Deprecated: Use BoolMatch.ProtoReflect.Descriptor instead.

func (*BoolMatch) GetValueMatch

func (x *BoolMatch) GetValueMatch() bool

func (*BoolMatch) ProtoMessage

func (*BoolMatch) ProtoMessage()

func (*BoolMatch) ProtoReflect

func (x *BoolMatch) ProtoReflect() protoreflect.Message

func (*BoolMatch) Reset

func (x *BoolMatch) Reset()

func (*BoolMatch) String

func (x *BoolMatch) String() string

func (*BoolMatch) Validate

func (m *BoolMatch) Validate() error

Validate checks the field values on BoolMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type BoolMatchValidationError

type BoolMatchValidationError struct {
	// contains filtered or unexported fields
}

BoolMatchValidationError is the validation error returned by BoolMatch.Validate if the designated constraints aren't met.

func (BoolMatchValidationError) Cause

func (e BoolMatchValidationError) Cause() error

Cause function returns cause value.

func (BoolMatchValidationError) Error

func (e BoolMatchValidationError) Error() string

Error satisfies the builtin error interface

func (BoolMatchValidationError) ErrorName

func (e BoolMatchValidationError) ErrorName() string

ErrorName returns error name.

func (BoolMatchValidationError) Field

func (e BoolMatchValidationError) Field() string

Field function returns field value.

func (BoolMatchValidationError) Key

Key function returns key value.

func (BoolMatchValidationError) Reason

func (e BoolMatchValidationError) Reason() string

Reason function returns reason value.

type KeyerConfiguration

type KeyerConfiguration struct {

	// Fragments are the pieces that form a cache key.
	Fragments []*KeyerConfiguration_Fragment `protobuf:"bytes,1,rep,name=fragments,proto3" json:"fragments,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 2]

func (*KeyerConfiguration) Descriptor deprecated

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

Deprecated: Use KeyerConfiguration.ProtoReflect.Descriptor instead.

func (*KeyerConfiguration) GetFragments

func (x *KeyerConfiguration) GetFragments() []*KeyerConfiguration_Fragment

func (*KeyerConfiguration) ProtoMessage

func (*KeyerConfiguration) ProtoMessage()

func (*KeyerConfiguration) ProtoReflect

func (x *KeyerConfiguration) ProtoReflect() protoreflect.Message

func (*KeyerConfiguration) Reset

func (x *KeyerConfiguration) Reset()

func (*KeyerConfiguration) String

func (x *KeyerConfiguration) String() string

func (*KeyerConfiguration) Validate

func (m *KeyerConfiguration) Validate() error

Validate checks the field values on KeyerConfiguration with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type KeyerConfigurationValidationError

type KeyerConfigurationValidationError struct {
	// contains filtered or unexported fields
}

KeyerConfigurationValidationError is the validation error returned by KeyerConfiguration.Validate if the designated constraints aren't met.

func (KeyerConfigurationValidationError) Cause

Cause function returns cause value.

func (KeyerConfigurationValidationError) Error

Error satisfies the builtin error interface

func (KeyerConfigurationValidationError) ErrorName

ErrorName returns error name.

func (KeyerConfigurationValidationError) Field

Field function returns field value.

func (KeyerConfigurationValidationError) Key

Key function returns key value.

func (KeyerConfigurationValidationError) Reason

Reason function returns reason value.

type KeyerConfiguration_Fragment

type KeyerConfiguration_Fragment struct {

	// The first rule that matches will be applied in sequential order.
	Rules []*KeyerConfiguration_Fragment_Rule `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 2]

func (*KeyerConfiguration_Fragment) Descriptor deprecated

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

Deprecated: Use KeyerConfiguration_Fragment.ProtoReflect.Descriptor instead.

func (*KeyerConfiguration_Fragment) GetRules

func (*KeyerConfiguration_Fragment) ProtoMessage

func (*KeyerConfiguration_Fragment) ProtoMessage()

func (*KeyerConfiguration_Fragment) ProtoReflect

func (*KeyerConfiguration_Fragment) Reset

func (x *KeyerConfiguration_Fragment) Reset()

func (*KeyerConfiguration_Fragment) String

func (x *KeyerConfiguration_Fragment) String() string

func (*KeyerConfiguration_Fragment) Validate

func (m *KeyerConfiguration_Fragment) Validate() error

Validate checks the field values on KeyerConfiguration_Fragment with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type KeyerConfiguration_FragmentValidationError

type KeyerConfiguration_FragmentValidationError struct {
	// contains filtered or unexported fields
}

KeyerConfiguration_FragmentValidationError is the validation error returned by KeyerConfiguration_Fragment.Validate if the designated constraints aren't met.

func (KeyerConfiguration_FragmentValidationError) Cause

Cause function returns cause value.

func (KeyerConfiguration_FragmentValidationError) Error

Error satisfies the builtin error interface

func (KeyerConfiguration_FragmentValidationError) ErrorName

ErrorName returns error name.

func (KeyerConfiguration_FragmentValidationError) Field

Field function returns field value.

func (KeyerConfiguration_FragmentValidationError) Key

Key function returns key value.

func (KeyerConfiguration_FragmentValidationError) Reason

Reason function returns reason value.

type KeyerConfiguration_Fragment_Rule

type KeyerConfiguration_Fragment_Rule struct {

	// Defines how to match an Envoy Request.
	Match *MatchPredicate `protobuf:"bytes,1,opt,name=match,proto3" json:"match,omitempty"`
	// Defines how to generate the resulting fragment if matched.
	Result *ResultPredicate `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

A rule defining how to match a Envoy request and what resulting fragment to generate. [#next-free-field: 3]

func (*KeyerConfiguration_Fragment_Rule) Descriptor deprecated

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

Deprecated: Use KeyerConfiguration_Fragment_Rule.ProtoReflect.Descriptor instead.

func (*KeyerConfiguration_Fragment_Rule) GetMatch

func (*KeyerConfiguration_Fragment_Rule) GetResult

func (*KeyerConfiguration_Fragment_Rule) ProtoMessage

func (*KeyerConfiguration_Fragment_Rule) ProtoMessage()

func (*KeyerConfiguration_Fragment_Rule) ProtoReflect

func (*KeyerConfiguration_Fragment_Rule) Reset

func (*KeyerConfiguration_Fragment_Rule) String

func (*KeyerConfiguration_Fragment_Rule) Validate

Validate checks the field values on KeyerConfiguration_Fragment_Rule with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type KeyerConfiguration_Fragment_RuleValidationError

type KeyerConfiguration_Fragment_RuleValidationError struct {
	// contains filtered or unexported fields
}

KeyerConfiguration_Fragment_RuleValidationError is the validation error returned by KeyerConfiguration_Fragment_Rule.Validate if the designated constraints aren't met.

func (KeyerConfiguration_Fragment_RuleValidationError) Cause

Cause function returns cause value.

func (KeyerConfiguration_Fragment_RuleValidationError) Error

Error satisfies the builtin error interface

func (KeyerConfiguration_Fragment_RuleValidationError) ErrorName

ErrorName returns error name.

func (KeyerConfiguration_Fragment_RuleValidationError) Field

Field function returns field value.

func (KeyerConfiguration_Fragment_RuleValidationError) Key

Key function returns key value.

func (KeyerConfiguration_Fragment_RuleValidationError) Reason

Reason function returns reason value.

type LocalityMatch

type LocalityMatch struct {
	Region  *StringMatch `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"`
	Zone    *StringMatch `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	SubZone *StringMatch `protobuf:"bytes,3,opt,name=sub_zone,json=subZone,proto3" json:"sub_zone,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 4]

func (*LocalityMatch) Descriptor deprecated

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

Deprecated: Use LocalityMatch.ProtoReflect.Descriptor instead.

func (*LocalityMatch) GetRegion

func (x *LocalityMatch) GetRegion() *StringMatch

func (*LocalityMatch) GetSubZone

func (x *LocalityMatch) GetSubZone() *StringMatch

func (*LocalityMatch) GetZone

func (x *LocalityMatch) GetZone() *StringMatch

func (*LocalityMatch) ProtoMessage

func (*LocalityMatch) ProtoMessage()

func (*LocalityMatch) ProtoReflect

func (x *LocalityMatch) ProtoReflect() protoreflect.Message

func (*LocalityMatch) Reset

func (x *LocalityMatch) Reset()

func (*LocalityMatch) String

func (x *LocalityMatch) String() string

func (*LocalityMatch) Validate

func (m *LocalityMatch) Validate() error

Validate checks the field values on LocalityMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type LocalityMatchValidationError

type LocalityMatchValidationError struct {
	// contains filtered or unexported fields
}

LocalityMatchValidationError is the validation error returned by LocalityMatch.Validate if the designated constraints aren't met.

func (LocalityMatchValidationError) Cause

Cause function returns cause value.

func (LocalityMatchValidationError) Error

Error satisfies the builtin error interface

func (LocalityMatchValidationError) ErrorName

func (e LocalityMatchValidationError) ErrorName() string

ErrorName returns error name.

func (LocalityMatchValidationError) Field

Field function returns field value.

func (LocalityMatchValidationError) Key

Key function returns key value.

func (LocalityMatchValidationError) Reason

Reason function returns reason value.

type MatchPredicate

type MatchPredicate struct {

	// Types that are assignable to Type:
	//	*MatchPredicate_AndMatch
	//	*MatchPredicate_OrMatch
	//	*MatchPredicate_NotMatch
	//	*MatchPredicate_AnyMatch
	//	*MatchPredicate_RequestTypeMatch_
	//	*MatchPredicate_RequestNodeMatch_
	Type isMatchPredicate_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

This is a recursive structure which allows complex nested match configurations to be built using various logical operators. [#next-free-field: 7]

func (*MatchPredicate) Descriptor deprecated

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

Deprecated: Use MatchPredicate.ProtoReflect.Descriptor instead.

func (*MatchPredicate) GetAndMatch

func (x *MatchPredicate) GetAndMatch() *MatchPredicate_MatchSet

func (*MatchPredicate) GetAnyMatch

func (x *MatchPredicate) GetAnyMatch() bool

func (*MatchPredicate) GetNotMatch

func (x *MatchPredicate) GetNotMatch() *MatchPredicate

func (*MatchPredicate) GetOrMatch

func (x *MatchPredicate) GetOrMatch() *MatchPredicate_MatchSet

func (*MatchPredicate) GetRequestNodeMatch

func (x *MatchPredicate) GetRequestNodeMatch() *MatchPredicate_RequestNodeMatch

func (*MatchPredicate) GetRequestTypeMatch

func (x *MatchPredicate) GetRequestTypeMatch() *MatchPredicate_RequestTypeMatch

func (*MatchPredicate) GetType

func (m *MatchPredicate) GetType() isMatchPredicate_Type

func (*MatchPredicate) ProtoMessage

func (*MatchPredicate) ProtoMessage()

func (*MatchPredicate) ProtoReflect

func (x *MatchPredicate) ProtoReflect() protoreflect.Message

func (*MatchPredicate) Reset

func (x *MatchPredicate) Reset()

func (*MatchPredicate) String

func (x *MatchPredicate) String() string

func (*MatchPredicate) Validate

func (m *MatchPredicate) Validate() error

Validate checks the field values on MatchPredicate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type MatchPredicateValidationError

type MatchPredicateValidationError struct {
	// contains filtered or unexported fields
}

MatchPredicateValidationError is the validation error returned by MatchPredicate.Validate if the designated constraints aren't met.

func (MatchPredicateValidationError) Cause

Cause function returns cause value.

func (MatchPredicateValidationError) Error

Error satisfies the builtin error interface

func (MatchPredicateValidationError) ErrorName

func (e MatchPredicateValidationError) ErrorName() string

ErrorName returns error name.

func (MatchPredicateValidationError) Field

Field function returns field value.

func (MatchPredicateValidationError) Key

Key function returns key value.

func (MatchPredicateValidationError) Reason

Reason function returns reason value.

type MatchPredicate_AndMatch

type MatchPredicate_AndMatch struct {
	// A set that describes a logical AND. If any member of the set
	// matches, the match configuration matches.
	AndMatch *MatchPredicate_MatchSet `protobuf:"bytes,1,opt,name=and_match,json=andMatch,proto3,oneof"`
}

type MatchPredicate_AnyMatch

type MatchPredicate_AnyMatch struct {
	// The match configuration will always match.
	AnyMatch bool `protobuf:"varint,4,opt,name=any_match,json=anyMatch,proto3,oneof"`
}

type MatchPredicate_MatchSet

type MatchPredicate_MatchSet struct {

	// The list of rules that make up the set.
	Rules []*MatchPredicate `protobuf:"bytes,1,rep,name=rules,proto3" json:"rules,omitempty"`
	// contains filtered or unexported fields
}

A set of match configurations used for logical operations. [#next-free-field: 2]

func (*MatchPredicate_MatchSet) Descriptor deprecated

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

Deprecated: Use MatchPredicate_MatchSet.ProtoReflect.Descriptor instead.

func (*MatchPredicate_MatchSet) GetRules

func (x *MatchPredicate_MatchSet) GetRules() []*MatchPredicate

func (*MatchPredicate_MatchSet) ProtoMessage

func (*MatchPredicate_MatchSet) ProtoMessage()

func (*MatchPredicate_MatchSet) ProtoReflect

func (x *MatchPredicate_MatchSet) ProtoReflect() protoreflect.Message

func (*MatchPredicate_MatchSet) Reset

func (x *MatchPredicate_MatchSet) Reset()

func (*MatchPredicate_MatchSet) String

func (x *MatchPredicate_MatchSet) String() string

func (*MatchPredicate_MatchSet) Validate

func (m *MatchPredicate_MatchSet) Validate() error

Validate checks the field values on MatchPredicate_MatchSet with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type MatchPredicate_MatchSetValidationError

type MatchPredicate_MatchSetValidationError struct {
	// contains filtered or unexported fields
}

MatchPredicate_MatchSetValidationError is the validation error returned by MatchPredicate_MatchSet.Validate if the designated constraints aren't met.

func (MatchPredicate_MatchSetValidationError) Cause

Cause function returns cause value.

func (MatchPredicate_MatchSetValidationError) Error

Error satisfies the builtin error interface

func (MatchPredicate_MatchSetValidationError) ErrorName

ErrorName returns error name.

func (MatchPredicate_MatchSetValidationError) Field

Field function returns field value.

func (MatchPredicate_MatchSetValidationError) Key

Key function returns key value.

func (MatchPredicate_MatchSetValidationError) Reason

Reason function returns reason value.

type MatchPredicate_NotMatch

type MatchPredicate_NotMatch struct {
	// A negation match. The match configuration will match if the
	// negated match condition matches.
	NotMatch *MatchPredicate `protobuf:"bytes,3,opt,name=not_match,json=notMatch,proto3,oneof"`
}

type MatchPredicate_OrMatch

type MatchPredicate_OrMatch struct {
	// A set that describes a logical OR. If all members of the set
	// match, the match configuration matches.
	OrMatch *MatchPredicate_MatchSet `protobuf:"bytes,2,opt,name=or_match,json=orMatch,proto3,oneof"`
}

type MatchPredicate_RequestNodeMatch

type MatchPredicate_RequestNodeMatch struct {

	// Types that are assignable to Type:
	//	*MatchPredicate_RequestNodeMatch_IdMatch
	//	*MatchPredicate_RequestNodeMatch_ClusterMatch
	//	*MatchPredicate_RequestNodeMatch_LocalityMatch
	//	*MatchPredicate_RequestNodeMatch_NodeMetadataMatch
	Type isMatchPredicate_RequestNodeMatch_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

Match on a field in Envoy's request node. [#next-free-field: 5]

func (*MatchPredicate_RequestNodeMatch) Descriptor deprecated

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

Deprecated: Use MatchPredicate_RequestNodeMatch.ProtoReflect.Descriptor instead.

func (*MatchPredicate_RequestNodeMatch) GetClusterMatch

func (x *MatchPredicate_RequestNodeMatch) GetClusterMatch() *StringMatch

func (*MatchPredicate_RequestNodeMatch) GetIdMatch

func (*MatchPredicate_RequestNodeMatch) GetLocalityMatch

func (x *MatchPredicate_RequestNodeMatch) GetLocalityMatch() *LocalityMatch

func (*MatchPredicate_RequestNodeMatch) GetNodeMetadataMatch

func (x *MatchPredicate_RequestNodeMatch) GetNodeMetadataMatch() *NodeMetadataMatch

func (*MatchPredicate_RequestNodeMatch) GetType

func (m *MatchPredicate_RequestNodeMatch) GetType() isMatchPredicate_RequestNodeMatch_Type

func (*MatchPredicate_RequestNodeMatch) ProtoMessage

func (*MatchPredicate_RequestNodeMatch) ProtoMessage()

func (*MatchPredicate_RequestNodeMatch) ProtoReflect

func (*MatchPredicate_RequestNodeMatch) Reset

func (*MatchPredicate_RequestNodeMatch) String

func (*MatchPredicate_RequestNodeMatch) Validate

func (m *MatchPredicate_RequestNodeMatch) Validate() error

Validate checks the field values on MatchPredicate_RequestNodeMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type MatchPredicate_RequestNodeMatchValidationError

type MatchPredicate_RequestNodeMatchValidationError struct {
	// contains filtered or unexported fields
}

MatchPredicate_RequestNodeMatchValidationError is the validation error returned by MatchPredicate_RequestNodeMatch.Validate if the designated constraints aren't met.

func (MatchPredicate_RequestNodeMatchValidationError) Cause

Cause function returns cause value.

func (MatchPredicate_RequestNodeMatchValidationError) Error

Error satisfies the builtin error interface

func (MatchPredicate_RequestNodeMatchValidationError) ErrorName

ErrorName returns error name.

func (MatchPredicate_RequestNodeMatchValidationError) Field

Field function returns field value.

func (MatchPredicate_RequestNodeMatchValidationError) Key

Key function returns key value.

func (MatchPredicate_RequestNodeMatchValidationError) Reason

Reason function returns reason value.

type MatchPredicate_RequestNodeMatch_

type MatchPredicate_RequestNodeMatch_ struct {
	// Match on a Field in Envoy's request node.
	RequestNodeMatch *MatchPredicate_RequestNodeMatch `protobuf:"bytes,6,opt,name=request_node_match,json=requestNodeMatch,proto3,oneof"`
}

type MatchPredicate_RequestNodeMatch_ClusterMatch

type MatchPredicate_RequestNodeMatch_ClusterMatch struct {
	ClusterMatch *StringMatch `protobuf:"bytes,2,opt,name=cluster_match,json=clusterMatch,proto3,oneof"`
}

type MatchPredicate_RequestNodeMatch_IdMatch

type MatchPredicate_RequestNodeMatch_IdMatch struct {
	IdMatch *StringMatch `protobuf:"bytes,1,opt,name=id_match,json=idMatch,proto3,oneof"`
}

type MatchPredicate_RequestNodeMatch_LocalityMatch

type MatchPredicate_RequestNodeMatch_LocalityMatch struct {
	LocalityMatch *LocalityMatch `protobuf:"bytes,3,opt,name=locality_match,json=localityMatch,proto3,oneof"`
}

type MatchPredicate_RequestNodeMatch_NodeMetadataMatch

type MatchPredicate_RequestNodeMatch_NodeMetadataMatch struct {
	NodeMetadataMatch *NodeMetadataMatch `protobuf:"bytes,4,opt,name=node_metadata_match,json=nodeMetadataMatch,proto3,oneof"`
}

type MatchPredicate_RequestTypeMatch

type MatchPredicate_RequestTypeMatch struct {

	// One or more Envoy request types to match on.
	// Ex: "type.googleapis.com/envoy.api.v2.Listener"
	Types []string `protobuf:"bytes,1,rep,name=types,proto3" json:"types,omitempty"`
	// contains filtered or unexported fields
}

Rules for matching on a Envoy request type. [#next-free-field: 2]

func (*MatchPredicate_RequestTypeMatch) Descriptor deprecated

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

Deprecated: Use MatchPredicate_RequestTypeMatch.ProtoReflect.Descriptor instead.

func (*MatchPredicate_RequestTypeMatch) GetTypes

func (x *MatchPredicate_RequestTypeMatch) GetTypes() []string

func (*MatchPredicate_RequestTypeMatch) ProtoMessage

func (*MatchPredicate_RequestTypeMatch) ProtoMessage()

func (*MatchPredicate_RequestTypeMatch) ProtoReflect

func (*MatchPredicate_RequestTypeMatch) Reset

func (*MatchPredicate_RequestTypeMatch) String

func (*MatchPredicate_RequestTypeMatch) Validate

func (m *MatchPredicate_RequestTypeMatch) Validate() error

Validate checks the field values on MatchPredicate_RequestTypeMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type MatchPredicate_RequestTypeMatchValidationError

type MatchPredicate_RequestTypeMatchValidationError struct {
	// contains filtered or unexported fields
}

MatchPredicate_RequestTypeMatchValidationError is the validation error returned by MatchPredicate_RequestTypeMatch.Validate if the designated constraints aren't met.

func (MatchPredicate_RequestTypeMatchValidationError) Cause

Cause function returns cause value.

func (MatchPredicate_RequestTypeMatchValidationError) Error

Error satisfies the builtin error interface

func (MatchPredicate_RequestTypeMatchValidationError) ErrorName

ErrorName returns error name.

func (MatchPredicate_RequestTypeMatchValidationError) Field

Field function returns field value.

func (MatchPredicate_RequestTypeMatchValidationError) Key

Key function returns key value.

func (MatchPredicate_RequestTypeMatchValidationError) Reason

Reason function returns reason value.

type MatchPredicate_RequestTypeMatch_

type MatchPredicate_RequestTypeMatch_ struct {
	// Match on an Envoy request type.
	// Ex: "type.googleapis.com/envoy.api.v2.Listener"
	RequestTypeMatch *MatchPredicate_RequestTypeMatch `protobuf:"bytes,5,opt,name=request_type_match,json=requestTypeMatch,proto3,oneof"`
}

type NodeMetadataMatch

type NodeMetadataMatch struct {
	Path  []*PathSegment    `protobuf:"bytes,1,rep,name=path,proto3" json:"path,omitempty"`
	Match *StructValueMatch `protobuf:"bytes,2,opt,name=match,proto3" json:"match,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 3]

func (*NodeMetadataMatch) Descriptor deprecated

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

Deprecated: Use NodeMetadataMatch.ProtoReflect.Descriptor instead.

func (*NodeMetadataMatch) GetMatch

func (x *NodeMetadataMatch) GetMatch() *StructValueMatch

func (*NodeMetadataMatch) GetPath

func (x *NodeMetadataMatch) GetPath() []*PathSegment

func (*NodeMetadataMatch) ProtoMessage

func (*NodeMetadataMatch) ProtoMessage()

func (*NodeMetadataMatch) ProtoReflect

func (x *NodeMetadataMatch) ProtoReflect() protoreflect.Message

func (*NodeMetadataMatch) Reset

func (x *NodeMetadataMatch) Reset()

func (*NodeMetadataMatch) String

func (x *NodeMetadataMatch) String() string

func (*NodeMetadataMatch) Validate

func (m *NodeMetadataMatch) Validate() error

Validate checks the field values on NodeMetadataMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type NodeMetadataMatchValidationError

type NodeMetadataMatchValidationError struct {
	// contains filtered or unexported fields
}

NodeMetadataMatchValidationError is the validation error returned by NodeMetadataMatch.Validate if the designated constraints aren't met.

func (NodeMetadataMatchValidationError) Cause

Cause function returns cause value.

func (NodeMetadataMatchValidationError) Error

Error satisfies the builtin error interface

func (NodeMetadataMatchValidationError) ErrorName

ErrorName returns error name.

func (NodeMetadataMatchValidationError) Field

Field function returns field value.

func (NodeMetadataMatchValidationError) Key

Key function returns key value.

func (NodeMetadataMatchValidationError) Reason

Reason function returns reason value.

type PathSegment

type PathSegment struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 2]

func (*PathSegment) Descriptor deprecated

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

Deprecated: Use PathSegment.ProtoReflect.Descriptor instead.

func (*PathSegment) GetKey

func (x *PathSegment) GetKey() string

func (*PathSegment) ProtoMessage

func (*PathSegment) ProtoMessage()

func (*PathSegment) ProtoReflect

func (x *PathSegment) ProtoReflect() protoreflect.Message

func (*PathSegment) Reset

func (x *PathSegment) Reset()

func (*PathSegment) String

func (x *PathSegment) String() string

func (*PathSegment) Validate

func (m *PathSegment) Validate() error

Validate checks the field values on PathSegment with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type PathSegmentValidationError

type PathSegmentValidationError struct {
	// contains filtered or unexported fields
}

PathSegmentValidationError is the validation error returned by PathSegment.Validate if the designated constraints aren't met.

func (PathSegmentValidationError) Cause

Cause function returns cause value.

func (PathSegmentValidationError) Error

Error satisfies the builtin error interface

func (PathSegmentValidationError) ErrorName

func (e PathSegmentValidationError) ErrorName() string

ErrorName returns error name.

func (PathSegmentValidationError) Field

Field function returns field value.

func (PathSegmentValidationError) Key

Key function returns key value.

func (PathSegmentValidationError) Reason

Reason function returns reason value.

type ResultPredicate

type ResultPredicate struct {

	// Types that are assignable to Type:
	//	*ResultPredicate_AndResult_
	//	*ResultPredicate_RequestNodeFragment_
	//	*ResultPredicate_ResourceNamesFragment_
	//	*ResultPredicate_StringFragment
	Type isResultPredicate_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

Rules for how to generate the resulting fragment of the xDS Aggregator cache key. [#next-free-field: 5]

func (*ResultPredicate) Descriptor deprecated

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

Deprecated: Use ResultPredicate.ProtoReflect.Descriptor instead.

func (*ResultPredicate) GetAndResult

func (x *ResultPredicate) GetAndResult() *ResultPredicate_AndResult

func (*ResultPredicate) GetRequestNodeFragment

func (x *ResultPredicate) GetRequestNodeFragment() *ResultPredicate_RequestNodeFragment

func (*ResultPredicate) GetResourceNamesFragment

func (x *ResultPredicate) GetResourceNamesFragment() *ResultPredicate_ResourceNamesFragment

func (*ResultPredicate) GetStringFragment

func (x *ResultPredicate) GetStringFragment() string

func (*ResultPredicate) GetType

func (m *ResultPredicate) GetType() isResultPredicate_Type

func (*ResultPredicate) ProtoMessage

func (*ResultPredicate) ProtoMessage()

func (*ResultPredicate) ProtoReflect

func (x *ResultPredicate) ProtoReflect() protoreflect.Message

func (*ResultPredicate) Reset

func (x *ResultPredicate) Reset()

func (*ResultPredicate) String

func (x *ResultPredicate) String() string

func (*ResultPredicate) Validate

func (m *ResultPredicate) Validate() error

Validate checks the field values on ResultPredicate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ResultPredicateValidationError

type ResultPredicateValidationError struct {
	// contains filtered or unexported fields
}

ResultPredicateValidationError is the validation error returned by ResultPredicate.Validate if the designated constraints aren't met.

func (ResultPredicateValidationError) Cause

Cause function returns cause value.

func (ResultPredicateValidationError) Error

Error satisfies the builtin error interface

func (ResultPredicateValidationError) ErrorName

func (e ResultPredicateValidationError) ErrorName() string

ErrorName returns error name.

func (ResultPredicateValidationError) Field

Field function returns field value.

func (ResultPredicateValidationError) Key

Key function returns key value.

func (ResultPredicateValidationError) Reason

Reason function returns reason value.

type ResultPredicate_AndResult

type ResultPredicate_AndResult struct {
	ResultPredicates []*ResultPredicate `protobuf:"bytes,1,rep,name=result_predicates,json=resultPredicates,proto3" json:"result_predicates,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 2]

func (*ResultPredicate_AndResult) Descriptor deprecated

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

Deprecated: Use ResultPredicate_AndResult.ProtoReflect.Descriptor instead.

func (*ResultPredicate_AndResult) GetResultPredicates

func (x *ResultPredicate_AndResult) GetResultPredicates() []*ResultPredicate

func (*ResultPredicate_AndResult) ProtoMessage

func (*ResultPredicate_AndResult) ProtoMessage()

func (*ResultPredicate_AndResult) ProtoReflect

func (*ResultPredicate_AndResult) Reset

func (x *ResultPredicate_AndResult) Reset()

func (*ResultPredicate_AndResult) String

func (x *ResultPredicate_AndResult) String() string

func (*ResultPredicate_AndResult) Validate

func (m *ResultPredicate_AndResult) Validate() error

Validate checks the field values on ResultPredicate_AndResult with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ResultPredicate_AndResultValidationError

type ResultPredicate_AndResultValidationError struct {
	// contains filtered or unexported fields
}

ResultPredicate_AndResultValidationError is the validation error returned by ResultPredicate_AndResult.Validate if the designated constraints aren't met.

func (ResultPredicate_AndResultValidationError) Cause

Cause function returns cause value.

func (ResultPredicate_AndResultValidationError) Error

Error satisfies the builtin error interface

func (ResultPredicate_AndResultValidationError) ErrorName

ErrorName returns error name.

func (ResultPredicate_AndResultValidationError) Field

Field function returns field value.

func (ResultPredicate_AndResultValidationError) Key

Key function returns key value.

func (ResultPredicate_AndResultValidationError) Reason

Reason function returns reason value.

type ResultPredicate_AndResult_

type ResultPredicate_AndResult_ struct {
	// A set that describes a logical AND. The result is a non-separated
	// append operation between two or more fragments.
	AndResult *ResultPredicate_AndResult `protobuf:"bytes,1,opt,name=and_result,json=andResult,proto3,oneof"`
}

type ResultPredicate_LocalityResultAction

type ResultPredicate_LocalityResultAction struct {
	RegionAction  *ResultPredicate_ResultAction `protobuf:"bytes,1,opt,name=region_action,json=regionAction,proto3" json:"region_action,omitempty"`
	ZoneAction    *ResultPredicate_ResultAction `protobuf:"bytes,2,opt,name=zone_action,json=zoneAction,proto3" json:"zone_action,omitempty"`
	SubzoneAction *ResultPredicate_ResultAction `protobuf:"bytes,3,opt,name=subzone_action,json=subzoneAction,proto3" json:"subzone_action,omitempty"`
	// contains filtered or unexported fields
}

Rule for how to generate a fragment from a Locality object [#next-free-field: 4]

func (*ResultPredicate_LocalityResultAction) Descriptor deprecated

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

Deprecated: Use ResultPredicate_LocalityResultAction.ProtoReflect.Descriptor instead.

func (*ResultPredicate_LocalityResultAction) GetRegionAction

func (*ResultPredicate_LocalityResultAction) GetSubzoneAction

func (*ResultPredicate_LocalityResultAction) GetZoneAction

func (*ResultPredicate_LocalityResultAction) ProtoMessage

func (*ResultPredicate_LocalityResultAction) ProtoMessage()

func (*ResultPredicate_LocalityResultAction) ProtoReflect

func (*ResultPredicate_LocalityResultAction) Reset

func (*ResultPredicate_LocalityResultAction) String

func (*ResultPredicate_LocalityResultAction) Validate

Validate checks the field values on ResultPredicate_LocalityResultAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ResultPredicate_LocalityResultActionValidationError

type ResultPredicate_LocalityResultActionValidationError struct {
	// contains filtered or unexported fields
}

ResultPredicate_LocalityResultActionValidationError is the validation error returned by ResultPredicate_LocalityResultAction.Validate if the designated constraints aren't met.

func (ResultPredicate_LocalityResultActionValidationError) Cause

Cause function returns cause value.

func (ResultPredicate_LocalityResultActionValidationError) Error

Error satisfies the builtin error interface

func (ResultPredicate_LocalityResultActionValidationError) ErrorName

ErrorName returns error name.

func (ResultPredicate_LocalityResultActionValidationError) Field

Field function returns field value.

func (ResultPredicate_LocalityResultActionValidationError) Key

Key function returns key value.

func (ResultPredicate_LocalityResultActionValidationError) Reason

Reason function returns reason value.

type ResultPredicate_NodeMetadataAction

type ResultPredicate_NodeMetadataAction struct {
	Path   []*PathSegment                `protobuf:"bytes,1,rep,name=path,proto3" json:"path,omitempty"`
	Action *ResultPredicate_ResultAction `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	// contains filtered or unexported fields
}

[#next-free-field: 3]

func (*ResultPredicate_NodeMetadataAction) Descriptor deprecated

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

Deprecated: Use ResultPredicate_NodeMetadataAction.ProtoReflect.Descriptor instead.

func (*ResultPredicate_NodeMetadataAction) GetAction

func (*ResultPredicate_NodeMetadataAction) GetPath

func (*ResultPredicate_NodeMetadataAction) ProtoMessage

func (*ResultPredicate_NodeMetadataAction) ProtoMessage()

func (*ResultPredicate_NodeMetadataAction) ProtoReflect

func (*ResultPredicate_NodeMetadataAction) Reset

func (*ResultPredicate_NodeMetadataAction) String

func (*ResultPredicate_NodeMetadataAction) Validate

Validate checks the field values on ResultPredicate_NodeMetadataAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ResultPredicate_NodeMetadataActionValidationError

type ResultPredicate_NodeMetadataActionValidationError struct {
	// contains filtered or unexported fields
}

ResultPredicate_NodeMetadataActionValidationError is the validation error returned by ResultPredicate_NodeMetadataAction.Validate if the designated constraints aren't met.

func (ResultPredicate_NodeMetadataActionValidationError) Cause

Cause function returns cause value.

func (ResultPredicate_NodeMetadataActionValidationError) Error

Error satisfies the builtin error interface

func (ResultPredicate_NodeMetadataActionValidationError) ErrorName

ErrorName returns error name.

func (ResultPredicate_NodeMetadataActionValidationError) Field

Field function returns field value.

func (ResultPredicate_NodeMetadataActionValidationError) Key

Key function returns key value.

func (ResultPredicate_NodeMetadataActionValidationError) Reason

Reason function returns reason value.

type ResultPredicate_RequestNodeFragment

type ResultPredicate_RequestNodeFragment struct {

	// Types that are assignable to Action:
	//	*ResultPredicate_RequestNodeFragment_IdAction
	//	*ResultPredicate_RequestNodeFragment_ClusterAction
	//	*ResultPredicate_RequestNodeFragment_LocalityAction
	//	*ResultPredicate_RequestNodeFragment_NodeMetadataAction
	Action isResultPredicate_RequestNodeFragment_Action `protobuf_oneof:"action"`
	// contains filtered or unexported fields
}

Rules for generating the resulting fragment from a Envoy request node. [#next-free-field: 5]

func (*ResultPredicate_RequestNodeFragment) Descriptor deprecated

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

Deprecated: Use ResultPredicate_RequestNodeFragment.ProtoReflect.Descriptor instead.

func (*ResultPredicate_RequestNodeFragment) GetAction

func (m *ResultPredicate_RequestNodeFragment) GetAction() isResultPredicate_RequestNodeFragment_Action

func (*ResultPredicate_RequestNodeFragment) GetClusterAction

func (*ResultPredicate_RequestNodeFragment) GetIdAction

func (*ResultPredicate_RequestNodeFragment) GetLocalityAction

func (*ResultPredicate_RequestNodeFragment) GetNodeMetadataAction

func (*ResultPredicate_RequestNodeFragment) ProtoMessage

func (*ResultPredicate_RequestNodeFragment) ProtoMessage()

func (*ResultPredicate_RequestNodeFragment) ProtoReflect

func (*ResultPredicate_RequestNodeFragment) Reset

func (*ResultPredicate_RequestNodeFragment) String

func (*ResultPredicate_RequestNodeFragment) Validate

Validate checks the field values on ResultPredicate_RequestNodeFragment with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ResultPredicate_RequestNodeFragmentValidationError

type ResultPredicate_RequestNodeFragmentValidationError struct {
	// contains filtered or unexported fields
}

ResultPredicate_RequestNodeFragmentValidationError is the validation error returned by ResultPredicate_RequestNodeFragment.Validate if the designated constraints aren't met.

func (ResultPredicate_RequestNodeFragmentValidationError) Cause

Cause function returns cause value.

func (ResultPredicate_RequestNodeFragmentValidationError) Error

Error satisfies the builtin error interface

func (ResultPredicate_RequestNodeFragmentValidationError) ErrorName

ErrorName returns error name.

func (ResultPredicate_RequestNodeFragmentValidationError) Field

Field function returns field value.

func (ResultPredicate_RequestNodeFragmentValidationError) Key

Key function returns key value.

func (ResultPredicate_RequestNodeFragmentValidationError) Reason

Reason function returns reason value.

type ResultPredicate_RequestNodeFragment_

type ResultPredicate_RequestNodeFragment_ struct {
	// A fragment generated from an Envoy request node.
	RequestNodeFragment *ResultPredicate_RequestNodeFragment `protobuf:"bytes,2,opt,name=request_node_fragment,json=requestNodeFragment,proto3,oneof"`
}

type ResultPredicate_RequestNodeFragment_ClusterAction

type ResultPredicate_RequestNodeFragment_ClusterAction struct {
	ClusterAction *ResultPredicate_ResultAction `protobuf:"bytes,2,opt,name=cluster_action,json=clusterAction,proto3,oneof"`
}

type ResultPredicate_RequestNodeFragment_IdAction

type ResultPredicate_RequestNodeFragment_IdAction struct {
	IdAction *ResultPredicate_ResultAction `protobuf:"bytes,1,opt,name=id_action,json=idAction,proto3,oneof"`
}

type ResultPredicate_RequestNodeFragment_LocalityAction

type ResultPredicate_RequestNodeFragment_LocalityAction struct {
	LocalityAction *ResultPredicate_LocalityResultAction `protobuf:"bytes,3,opt,name=locality_action,json=localityAction,proto3,oneof"`
}

type ResultPredicate_RequestNodeFragment_NodeMetadataAction

type ResultPredicate_RequestNodeFragment_NodeMetadataAction struct {
	NodeMetadataAction *ResultPredicate_NodeMetadataAction `protobuf:"bytes,4,opt,name=node_metadata_action,json=nodeMetadataAction,proto3,oneof"`
}

type ResultPredicate_ResourceNamesFragment

type ResultPredicate_ResourceNamesFragment struct {

	// The index of the resource name to operate on.
	// TODO support operation on multiple elements once we move past the MVP.
	Element int32                         `protobuf:"varint,1,opt,name=element,proto3" json:"element,omitempty"`
	Action  *ResultPredicate_ResultAction `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
	// contains filtered or unexported fields
}

Rules for generating the resulting fragment from Envoy request names. [#next-free-field: 3]

func (*ResultPredicate_ResourceNamesFragment) Descriptor deprecated

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

Deprecated: Use ResultPredicate_ResourceNamesFragment.ProtoReflect.Descriptor instead.

func (*ResultPredicate_ResourceNamesFragment) GetAction

func (*ResultPredicate_ResourceNamesFragment) GetElement

func (*ResultPredicate_ResourceNamesFragment) ProtoMessage

func (*ResultPredicate_ResourceNamesFragment) ProtoMessage()

func (*ResultPredicate_ResourceNamesFragment) ProtoReflect

func (*ResultPredicate_ResourceNamesFragment) Reset

func (*ResultPredicate_ResourceNamesFragment) String

func (*ResultPredicate_ResourceNamesFragment) Validate

Validate checks the field values on ResultPredicate_ResourceNamesFragment with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ResultPredicate_ResourceNamesFragmentValidationError

type ResultPredicate_ResourceNamesFragmentValidationError struct {
	// contains filtered or unexported fields
}

ResultPredicate_ResourceNamesFragmentValidationError is the validation error returned by ResultPredicate_ResourceNamesFragment.Validate if the designated constraints aren't met.

func (ResultPredicate_ResourceNamesFragmentValidationError) Cause

Cause function returns cause value.

func (ResultPredicate_ResourceNamesFragmentValidationError) Error

Error satisfies the builtin error interface

func (ResultPredicate_ResourceNamesFragmentValidationError) ErrorName

ErrorName returns error name.

func (ResultPredicate_ResourceNamesFragmentValidationError) Field

Field function returns field value.

func (ResultPredicate_ResourceNamesFragmentValidationError) Key

Key function returns key value.

func (ResultPredicate_ResourceNamesFragmentValidationError) Reason

Reason function returns reason value.

type ResultPredicate_ResourceNamesFragment_

type ResultPredicate_ResourceNamesFragment_ struct {
	// A fragment generated from Envoy resource names.
	ResourceNamesFragment *ResultPredicate_ResourceNamesFragment `protobuf:"bytes,3,opt,name=resource_names_fragment,json=resourceNamesFragment,proto3,oneof"`
}

type ResultPredicate_ResultAction

type ResultPredicate_ResultAction struct {

	// Types that are assignable to Action:
	//	*ResultPredicate_ResultAction_Exact
	//	*ResultPredicate_ResultAction_RegexAction_
	Action isResultPredicate_ResultAction_Action `protobuf_oneof:"action"`
	// contains filtered or unexported fields
}

[#next-free-field: 3]

func (*ResultPredicate_ResultAction) Descriptor deprecated

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

Deprecated: Use ResultPredicate_ResultAction.ProtoReflect.Descriptor instead.

func (*ResultPredicate_ResultAction) GetAction

func (m *ResultPredicate_ResultAction) GetAction() isResultPredicate_ResultAction_Action

func (*ResultPredicate_ResultAction) GetExact

func (x *ResultPredicate_ResultAction) GetExact() bool

func (*ResultPredicate_ResultAction) GetRegexAction

func (*ResultPredicate_ResultAction) ProtoMessage

func (*ResultPredicate_ResultAction) ProtoMessage()

func (*ResultPredicate_ResultAction) ProtoReflect

func (*ResultPredicate_ResultAction) Reset

func (x *ResultPredicate_ResultAction) Reset()

func (*ResultPredicate_ResultAction) String

func (*ResultPredicate_ResultAction) Validate

func (m *ResultPredicate_ResultAction) Validate() error

Validate checks the field values on ResultPredicate_ResultAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ResultPredicate_ResultActionValidationError

type ResultPredicate_ResultActionValidationError struct {
	// contains filtered or unexported fields
}

ResultPredicate_ResultActionValidationError is the validation error returned by ResultPredicate_ResultAction.Validate if the designated constraints aren't met.

func (ResultPredicate_ResultActionValidationError) Cause

Cause function returns cause value.

func (ResultPredicate_ResultActionValidationError) Error

Error satisfies the builtin error interface

func (ResultPredicate_ResultActionValidationError) ErrorName

ErrorName returns error name.

func (ResultPredicate_ResultActionValidationError) Field

Field function returns field value.

func (ResultPredicate_ResultActionValidationError) Key

Key function returns key value.

func (ResultPredicate_ResultActionValidationError) Reason

Reason function returns reason value.

type ResultPredicate_ResultAction_Exact

type ResultPredicate_ResultAction_Exact struct {
	// Uses the exact string value of the field.
	Exact bool `protobuf:"varint,1,opt,name=exact,proto3,oneof"`
}

type ResultPredicate_ResultAction_RegexAction

type ResultPredicate_ResultAction_RegexAction struct {
	Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
	Replace string `protobuf:"bytes,2,opt,name=replace,proto3" json:"replace,omitempty"`
	// contains filtered or unexported fields
}

TODO potentially use "safe regex" https://github.com/envoyproxy/envoy/blob/10f756efa17e56c8d4d1033be7b4286410db4e01/api/envoy/type/matcher/v3/regex.proto [#next-free-field: 3]

func (*ResultPredicate_ResultAction_RegexAction) Descriptor deprecated

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

Deprecated: Use ResultPredicate_ResultAction_RegexAction.ProtoReflect.Descriptor instead.

func (*ResultPredicate_ResultAction_RegexAction) GetPattern

func (*ResultPredicate_ResultAction_RegexAction) GetReplace

func (*ResultPredicate_ResultAction_RegexAction) ProtoMessage

func (*ResultPredicate_ResultAction_RegexAction) ProtoReflect

func (*ResultPredicate_ResultAction_RegexAction) Reset

func (*ResultPredicate_ResultAction_RegexAction) String

func (*ResultPredicate_ResultAction_RegexAction) Validate

Validate checks the field values on ResultPredicate_ResultAction_RegexAction with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ResultPredicate_ResultAction_RegexActionValidationError

type ResultPredicate_ResultAction_RegexActionValidationError struct {
	// contains filtered or unexported fields
}

ResultPredicate_ResultAction_RegexActionValidationError is the validation error returned by ResultPredicate_ResultAction_RegexAction.Validate if the designated constraints aren't met.

func (ResultPredicate_ResultAction_RegexActionValidationError) Cause

Cause function returns cause value.

func (ResultPredicate_ResultAction_RegexActionValidationError) Error

Error satisfies the builtin error interface

func (ResultPredicate_ResultAction_RegexActionValidationError) ErrorName

ErrorName returns error name.

func (ResultPredicate_ResultAction_RegexActionValidationError) Field

Field function returns field value.

func (ResultPredicate_ResultAction_RegexActionValidationError) Key

Key function returns key value.

func (ResultPredicate_ResultAction_RegexActionValidationError) Reason

Reason function returns reason value.

type ResultPredicate_ResultAction_RegexAction_

type ResultPredicate_ResultAction_RegexAction_ struct {
	// Operates a regex find and replace on the field.
	RegexAction *ResultPredicate_ResultAction_RegexAction `protobuf:"bytes,2,opt,name=regex_action,json=regexAction,proto3,oneof"`
}

type ResultPredicate_StringFragment

type ResultPredicate_StringFragment struct {
	// A simple string fragment
	StringFragment string `protobuf:"bytes,4,opt,name=string_fragment,json=stringFragment,proto3,oneof"`
}

type StringMatch

type StringMatch struct {

	// Types that are assignable to Type:
	//	*StringMatch_ExactMatch
	//	*StringMatch_RegexMatch
	Type isStringMatch_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

[#next-free-field: 4]

func (*StringMatch) Descriptor deprecated

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

Deprecated: Use StringMatch.ProtoReflect.Descriptor instead.

func (*StringMatch) GetExactMatch

func (x *StringMatch) GetExactMatch() string

func (*StringMatch) GetRegexMatch

func (x *StringMatch) GetRegexMatch() string

func (*StringMatch) GetType

func (m *StringMatch) GetType() isStringMatch_Type

func (*StringMatch) ProtoMessage

func (*StringMatch) ProtoMessage()

func (*StringMatch) ProtoReflect

func (x *StringMatch) ProtoReflect() protoreflect.Message

func (*StringMatch) Reset

func (x *StringMatch) Reset()

func (*StringMatch) String

func (x *StringMatch) String() string

func (*StringMatch) Validate

func (m *StringMatch) Validate() error

Validate checks the field values on StringMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type StringMatchValidationError

type StringMatchValidationError struct {
	// contains filtered or unexported fields
}

StringMatchValidationError is the validation error returned by StringMatch.Validate if the designated constraints aren't met.

func (StringMatchValidationError) Cause

Cause function returns cause value.

func (StringMatchValidationError) Error

Error satisfies the builtin error interface

func (StringMatchValidationError) ErrorName

func (e StringMatchValidationError) ErrorName() string

ErrorName returns error name.

func (StringMatchValidationError) Field

Field function returns field value.

func (StringMatchValidationError) Key

Key function returns key value.

func (StringMatchValidationError) Reason

Reason function returns reason value.

type StringMatch_ExactMatch

type StringMatch_ExactMatch struct {
	// Match on the extract string value.
	ExactMatch string `protobuf:"bytes,2,opt,name=exact_match,json=exactMatch,proto3,oneof"`
}

type StringMatch_RegexMatch

type StringMatch_RegexMatch struct {
	// Match on a regex pattern.
	// TODO potentially use "safe regex"
	// https://github.com/envoyproxy/envoy/blob/10f756efa17e56c8d4d1033be7b4286410db4e01/api/envoy/type/matcher/v3/regex.proto
	RegexMatch string `protobuf:"bytes,3,opt,name=regex_match,json=regexMatch,proto3,oneof"`
}

type StructValueMatch

type StructValueMatch struct {

	// TODO: we have to match every single type described in
	// https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Value.
	//
	// Types that are assignable to Match:
	//	*StructValueMatch_StringMatch
	//	*StructValueMatch_BoolMatch
	Match isStructValueMatch_Match `protobuf_oneof:"match"`
	// contains filtered or unexported fields
}

[#next-free-field: 3]

func (*StructValueMatch) Descriptor deprecated

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

Deprecated: Use StructValueMatch.ProtoReflect.Descriptor instead.

func (*StructValueMatch) GetBoolMatch

func (x *StructValueMatch) GetBoolMatch() *BoolMatch

func (*StructValueMatch) GetMatch

func (m *StructValueMatch) GetMatch() isStructValueMatch_Match

func (*StructValueMatch) GetStringMatch

func (x *StructValueMatch) GetStringMatch() *StringMatch

func (*StructValueMatch) ProtoMessage

func (*StructValueMatch) ProtoMessage()

func (*StructValueMatch) ProtoReflect

func (x *StructValueMatch) ProtoReflect() protoreflect.Message

func (*StructValueMatch) Reset

func (x *StructValueMatch) Reset()

func (*StructValueMatch) String

func (x *StructValueMatch) String() string

func (*StructValueMatch) Validate

func (m *StructValueMatch) Validate() error

Validate checks the field values on StructValueMatch with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type StructValueMatchValidationError

type StructValueMatchValidationError struct {
	// contains filtered or unexported fields
}

StructValueMatchValidationError is the validation error returned by StructValueMatch.Validate if the designated constraints aren't met.

func (StructValueMatchValidationError) Cause

Cause function returns cause value.

func (StructValueMatchValidationError) Error

Error satisfies the builtin error interface

func (StructValueMatchValidationError) ErrorName

ErrorName returns error name.

func (StructValueMatchValidationError) Field

Field function returns field value.

func (StructValueMatchValidationError) Key

Key function returns key value.

func (StructValueMatchValidationError) Reason

Reason function returns reason value.

type StructValueMatch_BoolMatch

type StructValueMatch_BoolMatch struct {
	BoolMatch *BoolMatch `protobuf:"bytes,2,opt,name=bool_match,json=boolMatch,proto3,oneof"`
}

type StructValueMatch_StringMatch

type StructValueMatch_StringMatch struct {
	StringMatch *StringMatch `protobuf:"bytes,1,opt,name=string_match,json=stringMatch,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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