envoy_type_matcher

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2020 License: Apache-2.0 Imports: 17 Imported by: 120

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DoubleMatcher

type DoubleMatcher struct {
	// Types that are valid to be assigned to MatchPattern:
	//	*DoubleMatcher_Range
	//	*DoubleMatcher_Exact
	MatchPattern         isDoubleMatcher_MatchPattern `protobuf_oneof:"match_pattern"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*DoubleMatcher) Descriptor

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

func (*DoubleMatcher) GetExact

func (m *DoubleMatcher) GetExact() float64

func (*DoubleMatcher) GetMatchPattern

func (m *DoubleMatcher) GetMatchPattern() isDoubleMatcher_MatchPattern

func (*DoubleMatcher) GetRange

func (m *DoubleMatcher) GetRange() *_type.DoubleRange

func (*DoubleMatcher) ProtoMessage

func (*DoubleMatcher) ProtoMessage()

func (*DoubleMatcher) Reset

func (m *DoubleMatcher) Reset()

func (*DoubleMatcher) String

func (m *DoubleMatcher) String() string

func (*DoubleMatcher) Validate

func (m *DoubleMatcher) Validate() error

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

func (*DoubleMatcher) XXX_DiscardUnknown

func (m *DoubleMatcher) XXX_DiscardUnknown()

func (*DoubleMatcher) XXX_Marshal

func (m *DoubleMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DoubleMatcher) XXX_Merge

func (m *DoubleMatcher) XXX_Merge(src proto.Message)

func (*DoubleMatcher) XXX_OneofWrappers added in v0.9.0

func (*DoubleMatcher) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*DoubleMatcher) XXX_Size

func (m *DoubleMatcher) XXX_Size() int

func (*DoubleMatcher) XXX_Unmarshal

func (m *DoubleMatcher) XXX_Unmarshal(b []byte) error

type DoubleMatcherValidationError

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

DoubleMatcherValidationError is the validation error returned by DoubleMatcher.Validate if the designated constraints aren't met.

func (DoubleMatcherValidationError) Cause

Cause function returns cause value.

func (DoubleMatcherValidationError) Error

Error satisfies the builtin error interface

func (DoubleMatcherValidationError) ErrorName added in v0.7.0

func (e DoubleMatcherValidationError) ErrorName() string

ErrorName returns error name.

func (DoubleMatcherValidationError) Field

Field function returns field value.

func (DoubleMatcherValidationError) Key

Key function returns key value.

func (DoubleMatcherValidationError) Reason

Reason function returns reason value.

type DoubleMatcher_Exact

type DoubleMatcher_Exact struct {
	Exact float64 `protobuf:"fixed64,2,opt,name=exact,proto3,oneof"`
}

type DoubleMatcher_Range

type DoubleMatcher_Range struct {
	Range *_type.DoubleRange `protobuf:"bytes,1,opt,name=range,proto3,oneof"`
}

type ListMatcher

type ListMatcher struct {
	// Types that are valid to be assigned to MatchPattern:
	//	*ListMatcher_OneOf
	MatchPattern         isListMatcher_MatchPattern `protobuf_oneof:"match_pattern"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*ListMatcher) Descriptor

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

func (*ListMatcher) GetMatchPattern

func (m *ListMatcher) GetMatchPattern() isListMatcher_MatchPattern

func (*ListMatcher) GetOneOf

func (m *ListMatcher) GetOneOf() *ValueMatcher

func (*ListMatcher) ProtoMessage

func (*ListMatcher) ProtoMessage()

func (*ListMatcher) Reset

func (m *ListMatcher) Reset()

func (*ListMatcher) String

func (m *ListMatcher) String() string

func (*ListMatcher) Validate

func (m *ListMatcher) Validate() error

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

func (*ListMatcher) XXX_DiscardUnknown

func (m *ListMatcher) XXX_DiscardUnknown()

func (*ListMatcher) XXX_Marshal

func (m *ListMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListMatcher) XXX_Merge

func (m *ListMatcher) XXX_Merge(src proto.Message)

func (*ListMatcher) XXX_OneofWrappers added in v0.9.0

func (*ListMatcher) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ListMatcher) XXX_Size

func (m *ListMatcher) XXX_Size() int

func (*ListMatcher) XXX_Unmarshal

func (m *ListMatcher) XXX_Unmarshal(b []byte) error

type ListMatcherValidationError

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

ListMatcherValidationError is the validation error returned by ListMatcher.Validate if the designated constraints aren't met.

func (ListMatcherValidationError) Cause

Cause function returns cause value.

func (ListMatcherValidationError) Error

Error satisfies the builtin error interface

func (ListMatcherValidationError) ErrorName added in v0.7.0

func (e ListMatcherValidationError) ErrorName() string

ErrorName returns error name.

func (ListMatcherValidationError) Field

Field function returns field value.

func (ListMatcherValidationError) Key

Key function returns key value.

func (ListMatcherValidationError) Reason

Reason function returns reason value.

type ListMatcher_OneOf

type ListMatcher_OneOf struct {
	OneOf *ValueMatcher `protobuf:"bytes,1,opt,name=one_of,json=oneOf,proto3,oneof"`
}

type ListStringMatcher added in v0.6.1

type ListStringMatcher struct {
	Patterns             []*StringMatcher `protobuf:"bytes,1,rep,name=patterns,proto3" json:"patterns,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ListStringMatcher) Descriptor added in v0.6.1

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

func (*ListStringMatcher) GetPatterns added in v0.6.1

func (m *ListStringMatcher) GetPatterns() []*StringMatcher

func (*ListStringMatcher) ProtoMessage added in v0.6.1

func (*ListStringMatcher) ProtoMessage()

func (*ListStringMatcher) Reset added in v0.6.1

func (m *ListStringMatcher) Reset()

func (*ListStringMatcher) String added in v0.6.1

func (m *ListStringMatcher) String() string

func (*ListStringMatcher) Validate added in v0.6.1

func (m *ListStringMatcher) Validate() error

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

func (*ListStringMatcher) XXX_DiscardUnknown added in v0.6.1

func (m *ListStringMatcher) XXX_DiscardUnknown()

func (*ListStringMatcher) XXX_Marshal added in v0.6.1

func (m *ListStringMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListStringMatcher) XXX_Merge added in v0.6.1

func (m *ListStringMatcher) XXX_Merge(src proto.Message)

func (*ListStringMatcher) XXX_Size added in v0.6.1

func (m *ListStringMatcher) XXX_Size() int

func (*ListStringMatcher) XXX_Unmarshal added in v0.6.1

func (m *ListStringMatcher) XXX_Unmarshal(b []byte) error

type ListStringMatcherValidationError added in v0.6.1

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

ListStringMatcherValidationError is the validation error returned by ListStringMatcher.Validate if the designated constraints aren't met.

func (ListStringMatcherValidationError) Cause added in v0.6.1

Cause function returns cause value.

func (ListStringMatcherValidationError) Error added in v0.6.1

Error satisfies the builtin error interface

func (ListStringMatcherValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (ListStringMatcherValidationError) Field added in v0.6.1

Field function returns field value.

func (ListStringMatcherValidationError) Key added in v0.6.1

Key function returns key value.

func (ListStringMatcherValidationError) Reason added in v0.6.1

Reason function returns reason value.

type MetadataMatcher

type MetadataMatcher struct {
	Filter               string                         `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
	Path                 []*MetadataMatcher_PathSegment `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"`
	Value                *ValueMatcher                  `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*MetadataMatcher) Descriptor

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

func (*MetadataMatcher) GetFilter

func (m *MetadataMatcher) GetFilter() string

func (*MetadataMatcher) GetPath

func (*MetadataMatcher) GetValue

func (m *MetadataMatcher) GetValue() *ValueMatcher

func (*MetadataMatcher) ProtoMessage

func (*MetadataMatcher) ProtoMessage()

func (*MetadataMatcher) Reset

func (m *MetadataMatcher) Reset()

func (*MetadataMatcher) String

func (m *MetadataMatcher) String() string

func (*MetadataMatcher) Validate

func (m *MetadataMatcher) Validate() error

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

func (*MetadataMatcher) XXX_DiscardUnknown

func (m *MetadataMatcher) XXX_DiscardUnknown()

func (*MetadataMatcher) XXX_Marshal

func (m *MetadataMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetadataMatcher) XXX_Merge

func (m *MetadataMatcher) XXX_Merge(src proto.Message)

func (*MetadataMatcher) XXX_Size

func (m *MetadataMatcher) XXX_Size() int

func (*MetadataMatcher) XXX_Unmarshal

func (m *MetadataMatcher) XXX_Unmarshal(b []byte) error

type MetadataMatcherValidationError

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

MetadataMatcherValidationError is the validation error returned by MetadataMatcher.Validate if the designated constraints aren't met.

func (MetadataMatcherValidationError) Cause

Cause function returns cause value.

func (MetadataMatcherValidationError) Error

Error satisfies the builtin error interface

func (MetadataMatcherValidationError) ErrorName added in v0.7.0

func (e MetadataMatcherValidationError) ErrorName() string

ErrorName returns error name.

func (MetadataMatcherValidationError) Field

Field function returns field value.

func (MetadataMatcherValidationError) Key

Key function returns key value.

func (MetadataMatcherValidationError) Reason

Reason function returns reason value.

type MetadataMatcher_PathSegment

type MetadataMatcher_PathSegment struct {
	// Types that are valid to be assigned to Segment:
	//	*MetadataMatcher_PathSegment_Key
	Segment              isMetadataMatcher_PathSegment_Segment `protobuf_oneof:"segment"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

func (*MetadataMatcher_PathSegment) Descriptor

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

func (*MetadataMatcher_PathSegment) GetKey

func (m *MetadataMatcher_PathSegment) GetKey() string

func (*MetadataMatcher_PathSegment) GetSegment

func (m *MetadataMatcher_PathSegment) GetSegment() isMetadataMatcher_PathSegment_Segment

func (*MetadataMatcher_PathSegment) ProtoMessage

func (*MetadataMatcher_PathSegment) ProtoMessage()

func (*MetadataMatcher_PathSegment) Reset

func (m *MetadataMatcher_PathSegment) Reset()

func (*MetadataMatcher_PathSegment) String

func (m *MetadataMatcher_PathSegment) String() string

func (*MetadataMatcher_PathSegment) Validate

func (m *MetadataMatcher_PathSegment) Validate() error

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

func (*MetadataMatcher_PathSegment) XXX_DiscardUnknown

func (m *MetadataMatcher_PathSegment) XXX_DiscardUnknown()

func (*MetadataMatcher_PathSegment) XXX_Marshal

func (m *MetadataMatcher_PathSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MetadataMatcher_PathSegment) XXX_Merge

func (m *MetadataMatcher_PathSegment) XXX_Merge(src proto.Message)

func (*MetadataMatcher_PathSegment) XXX_OneofWrappers added in v0.9.0

func (*MetadataMatcher_PathSegment) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*MetadataMatcher_PathSegment) XXX_Size

func (m *MetadataMatcher_PathSegment) XXX_Size() int

func (*MetadataMatcher_PathSegment) XXX_Unmarshal

func (m *MetadataMatcher_PathSegment) XXX_Unmarshal(b []byte) error

type MetadataMatcher_PathSegmentValidationError

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

MetadataMatcher_PathSegmentValidationError is the validation error returned by MetadataMatcher_PathSegment.Validate if the designated constraints aren't met.

func (MetadataMatcher_PathSegmentValidationError) Cause

Cause function returns cause value.

func (MetadataMatcher_PathSegmentValidationError) Error

Error satisfies the builtin error interface

func (MetadataMatcher_PathSegmentValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (MetadataMatcher_PathSegmentValidationError) Field

Field function returns field value.

func (MetadataMatcher_PathSegmentValidationError) Key

Key function returns key value.

func (MetadataMatcher_PathSegmentValidationError) Reason

Reason function returns reason value.

type MetadataMatcher_PathSegment_Key

type MetadataMatcher_PathSegment_Key struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3,oneof"`
}

type NodeMatcher added in v0.9.3

type NodeMatcher struct {
	NodeId               *StringMatcher   `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
	NodeMetadatas        []*StructMatcher `protobuf:"bytes,2,rep,name=node_metadatas,json=nodeMetadatas,proto3" json:"node_metadatas,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*NodeMatcher) Descriptor added in v0.9.3

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

func (*NodeMatcher) GetNodeId added in v0.9.3

func (m *NodeMatcher) GetNodeId() *StringMatcher

func (*NodeMatcher) GetNodeMetadatas added in v0.9.3

func (m *NodeMatcher) GetNodeMetadatas() []*StructMatcher

func (*NodeMatcher) ProtoMessage added in v0.9.3

func (*NodeMatcher) ProtoMessage()

func (*NodeMatcher) Reset added in v0.9.3

func (m *NodeMatcher) Reset()

func (*NodeMatcher) String added in v0.9.3

func (m *NodeMatcher) String() string

func (*NodeMatcher) Validate added in v0.9.3

func (m *NodeMatcher) Validate() error

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

func (*NodeMatcher) XXX_DiscardUnknown added in v0.9.3

func (m *NodeMatcher) XXX_DiscardUnknown()

func (*NodeMatcher) XXX_Marshal added in v0.9.3

func (m *NodeMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NodeMatcher) XXX_Merge added in v0.9.3

func (m *NodeMatcher) XXX_Merge(src proto.Message)

func (*NodeMatcher) XXX_Size added in v0.9.3

func (m *NodeMatcher) XXX_Size() int

func (*NodeMatcher) XXX_Unmarshal added in v0.9.3

func (m *NodeMatcher) XXX_Unmarshal(b []byte) error

type NodeMatcherValidationError added in v0.9.3

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

NodeMatcherValidationError is the validation error returned by NodeMatcher.Validate if the designated constraints aren't met.

func (NodeMatcherValidationError) Cause added in v0.9.3

Cause function returns cause value.

func (NodeMatcherValidationError) Error added in v0.9.3

Error satisfies the builtin error interface

func (NodeMatcherValidationError) ErrorName added in v0.9.3

func (e NodeMatcherValidationError) ErrorName() string

ErrorName returns error name.

func (NodeMatcherValidationError) Field added in v0.9.3

Field function returns field value.

func (NodeMatcherValidationError) Key added in v0.9.3

Key function returns key value.

func (NodeMatcherValidationError) Reason added in v0.9.3

Reason function returns reason value.

type RegexMatcher added in v0.9.0

type RegexMatcher struct {
	// Types that are valid to be assigned to EngineType:
	//	*RegexMatcher_GoogleRe2
	EngineType           isRegexMatcher_EngineType `protobuf_oneof:"engine_type"`
	Regex                string                    `protobuf:"bytes,2,opt,name=regex,proto3" json:"regex,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                  `json:"-"`
	XXX_unrecognized     []byte                    `json:"-"`
	XXX_sizecache        int32                     `json:"-"`
}

func (*RegexMatcher) Descriptor added in v0.9.0

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

func (*RegexMatcher) GetEngineType added in v0.9.0

func (m *RegexMatcher) GetEngineType() isRegexMatcher_EngineType

func (*RegexMatcher) GetGoogleRe2 added in v0.9.0

func (m *RegexMatcher) GetGoogleRe2() *RegexMatcher_GoogleRE2

func (*RegexMatcher) GetRegex added in v0.9.0

func (m *RegexMatcher) GetRegex() string

func (*RegexMatcher) ProtoMessage added in v0.9.0

func (*RegexMatcher) ProtoMessage()

func (*RegexMatcher) Reset added in v0.9.0

func (m *RegexMatcher) Reset()

func (*RegexMatcher) String added in v0.9.0

func (m *RegexMatcher) String() string

func (*RegexMatcher) Validate added in v0.9.0

func (m *RegexMatcher) Validate() error

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

func (*RegexMatcher) XXX_DiscardUnknown added in v0.9.0

func (m *RegexMatcher) XXX_DiscardUnknown()

func (*RegexMatcher) XXX_Marshal added in v0.9.0

func (m *RegexMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegexMatcher) XXX_Merge added in v0.9.0

func (m *RegexMatcher) XXX_Merge(src proto.Message)

func (*RegexMatcher) XXX_OneofWrappers added in v0.9.0

func (*RegexMatcher) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*RegexMatcher) XXX_Size added in v0.9.0

func (m *RegexMatcher) XXX_Size() int

func (*RegexMatcher) XXX_Unmarshal added in v0.9.0

func (m *RegexMatcher) XXX_Unmarshal(b []byte) error

type RegexMatcherValidationError added in v0.9.0

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

RegexMatcherValidationError is the validation error returned by RegexMatcher.Validate if the designated constraints aren't met.

func (RegexMatcherValidationError) Cause added in v0.9.0

Cause function returns cause value.

func (RegexMatcherValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (RegexMatcherValidationError) ErrorName added in v0.9.0

func (e RegexMatcherValidationError) ErrorName() string

ErrorName returns error name.

func (RegexMatcherValidationError) Field added in v0.9.0

Field function returns field value.

func (RegexMatcherValidationError) Key added in v0.9.0

Key function returns key value.

func (RegexMatcherValidationError) Reason added in v0.9.0

Reason function returns reason value.

type RegexMatcher_GoogleRE2 added in v0.9.0

type RegexMatcher_GoogleRE2 struct {
	MaxProgramSize       *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=max_program_size,json=maxProgramSize,proto3" json:"max_program_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*RegexMatcher_GoogleRE2) Descriptor added in v0.9.0

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

func (*RegexMatcher_GoogleRE2) GetMaxProgramSize added in v0.9.0

func (m *RegexMatcher_GoogleRE2) GetMaxProgramSize() *wrappers.UInt32Value

func (*RegexMatcher_GoogleRE2) ProtoMessage added in v0.9.0

func (*RegexMatcher_GoogleRE2) ProtoMessage()

func (*RegexMatcher_GoogleRE2) Reset added in v0.9.0

func (m *RegexMatcher_GoogleRE2) Reset()

func (*RegexMatcher_GoogleRE2) String added in v0.9.0

func (m *RegexMatcher_GoogleRE2) String() string

func (*RegexMatcher_GoogleRE2) Validate added in v0.9.0

func (m *RegexMatcher_GoogleRE2) Validate() error

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

func (*RegexMatcher_GoogleRE2) XXX_DiscardUnknown added in v0.9.0

func (m *RegexMatcher_GoogleRE2) XXX_DiscardUnknown()

func (*RegexMatcher_GoogleRE2) XXX_Marshal added in v0.9.0

func (m *RegexMatcher_GoogleRE2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RegexMatcher_GoogleRE2) XXX_Merge added in v0.9.0

func (m *RegexMatcher_GoogleRE2) XXX_Merge(src proto.Message)

func (*RegexMatcher_GoogleRE2) XXX_Size added in v0.9.0

func (m *RegexMatcher_GoogleRE2) XXX_Size() int

func (*RegexMatcher_GoogleRE2) XXX_Unmarshal added in v0.9.0

func (m *RegexMatcher_GoogleRE2) XXX_Unmarshal(b []byte) error

type RegexMatcher_GoogleRE2ValidationError added in v0.9.0

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

RegexMatcher_GoogleRE2ValidationError is the validation error returned by RegexMatcher_GoogleRE2.Validate if the designated constraints aren't met.

func (RegexMatcher_GoogleRE2ValidationError) Cause added in v0.9.0

Cause function returns cause value.

func (RegexMatcher_GoogleRE2ValidationError) Error added in v0.9.0

Error satisfies the builtin error interface

func (RegexMatcher_GoogleRE2ValidationError) ErrorName added in v0.9.0

ErrorName returns error name.

func (RegexMatcher_GoogleRE2ValidationError) Field added in v0.9.0

Field function returns field value.

func (RegexMatcher_GoogleRE2ValidationError) Key added in v0.9.0

Key function returns key value.

func (RegexMatcher_GoogleRE2ValidationError) Reason added in v0.9.0

Reason function returns reason value.

type RegexMatcher_GoogleRe2 added in v0.9.0

type RegexMatcher_GoogleRe2 struct {
	GoogleRe2 *RegexMatcher_GoogleRE2 `protobuf:"bytes,1,opt,name=google_re2,json=googleRe2,proto3,oneof"`
}

type StringMatcher

type StringMatcher struct {
	// Types that are valid to be assigned to MatchPattern:
	//	*StringMatcher_Exact
	//	*StringMatcher_Prefix
	//	*StringMatcher_Suffix
	//	*StringMatcher_Regex
	//	*StringMatcher_SafeRegex
	MatchPattern         isStringMatcher_MatchPattern `protobuf_oneof:"match_pattern"`
	IgnoreCase           bool                         `protobuf:"varint,6,opt,name=ignore_case,json=ignoreCase,proto3" json:"ignore_case,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*StringMatcher) Descriptor

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

func (*StringMatcher) GetExact

func (m *StringMatcher) GetExact() string

func (*StringMatcher) GetIgnoreCase added in v0.9.3

func (m *StringMatcher) GetIgnoreCase() bool

func (*StringMatcher) GetMatchPattern

func (m *StringMatcher) GetMatchPattern() isStringMatcher_MatchPattern

func (*StringMatcher) GetPrefix

func (m *StringMatcher) GetPrefix() string

func (*StringMatcher) GetRegex deprecated

func (m *StringMatcher) GetRegex() string

Deprecated: Do not use.

func (*StringMatcher) GetSafeRegex added in v0.9.0

func (m *StringMatcher) GetSafeRegex() *RegexMatcher

func (*StringMatcher) GetSuffix

func (m *StringMatcher) GetSuffix() string

func (*StringMatcher) ProtoMessage

func (*StringMatcher) ProtoMessage()

func (*StringMatcher) Reset

func (m *StringMatcher) Reset()

func (*StringMatcher) String

func (m *StringMatcher) String() string

func (*StringMatcher) Validate

func (m *StringMatcher) Validate() error

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

func (*StringMatcher) XXX_DiscardUnknown

func (m *StringMatcher) XXX_DiscardUnknown()

func (*StringMatcher) XXX_Marshal

func (m *StringMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringMatcher) XXX_Merge

func (m *StringMatcher) XXX_Merge(src proto.Message)

func (*StringMatcher) XXX_OneofWrappers added in v0.9.0

func (*StringMatcher) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*StringMatcher) XXX_Size

func (m *StringMatcher) XXX_Size() int

func (*StringMatcher) XXX_Unmarshal

func (m *StringMatcher) XXX_Unmarshal(b []byte) error

type StringMatcherValidationError

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

StringMatcherValidationError is the validation error returned by StringMatcher.Validate if the designated constraints aren't met.

func (StringMatcherValidationError) Cause

Cause function returns cause value.

func (StringMatcherValidationError) Error

Error satisfies the builtin error interface

func (StringMatcherValidationError) ErrorName added in v0.7.0

func (e StringMatcherValidationError) ErrorName() string

ErrorName returns error name.

func (StringMatcherValidationError) Field

Field function returns field value.

func (StringMatcherValidationError) Key

Key function returns key value.

func (StringMatcherValidationError) Reason

Reason function returns reason value.

type StringMatcher_Exact

type StringMatcher_Exact struct {
	Exact string `protobuf:"bytes,1,opt,name=exact,proto3,oneof"`
}

type StringMatcher_Prefix

type StringMatcher_Prefix struct {
	Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3,oneof"`
}

type StringMatcher_Regex

type StringMatcher_Regex struct {
	Regex string `protobuf:"bytes,4,opt,name=regex,proto3,oneof"`
}

type StringMatcher_SafeRegex added in v0.9.0

type StringMatcher_SafeRegex struct {
	SafeRegex *RegexMatcher `protobuf:"bytes,5,opt,name=safe_regex,json=safeRegex,proto3,oneof"`
}

type StringMatcher_Suffix

type StringMatcher_Suffix struct {
	Suffix string `protobuf:"bytes,3,opt,name=suffix,proto3,oneof"`
}

type StructMatcher added in v0.9.3

type StructMatcher struct {
	Path                 []*StructMatcher_PathSegment `protobuf:"bytes,2,rep,name=path,proto3" json:"path,omitempty"`
	Value                *ValueMatcher                `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*StructMatcher) Descriptor added in v0.9.3

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

func (*StructMatcher) GetPath added in v0.9.3

func (m *StructMatcher) GetPath() []*StructMatcher_PathSegment

func (*StructMatcher) GetValue added in v0.9.3

func (m *StructMatcher) GetValue() *ValueMatcher

func (*StructMatcher) ProtoMessage added in v0.9.3

func (*StructMatcher) ProtoMessage()

func (*StructMatcher) Reset added in v0.9.3

func (m *StructMatcher) Reset()

func (*StructMatcher) String added in v0.9.3

func (m *StructMatcher) String() string

func (*StructMatcher) Validate added in v0.9.3

func (m *StructMatcher) Validate() error

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

func (*StructMatcher) XXX_DiscardUnknown added in v0.9.3

func (m *StructMatcher) XXX_DiscardUnknown()

func (*StructMatcher) XXX_Marshal added in v0.9.3

func (m *StructMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StructMatcher) XXX_Merge added in v0.9.3

func (m *StructMatcher) XXX_Merge(src proto.Message)

func (*StructMatcher) XXX_Size added in v0.9.3

func (m *StructMatcher) XXX_Size() int

func (*StructMatcher) XXX_Unmarshal added in v0.9.3

func (m *StructMatcher) XXX_Unmarshal(b []byte) error

type StructMatcherValidationError added in v0.9.3

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

StructMatcherValidationError is the validation error returned by StructMatcher.Validate if the designated constraints aren't met.

func (StructMatcherValidationError) Cause added in v0.9.3

Cause function returns cause value.

func (StructMatcherValidationError) Error added in v0.9.3

Error satisfies the builtin error interface

func (StructMatcherValidationError) ErrorName added in v0.9.3

func (e StructMatcherValidationError) ErrorName() string

ErrorName returns error name.

func (StructMatcherValidationError) Field added in v0.9.3

Field function returns field value.

func (StructMatcherValidationError) Key added in v0.9.3

Key function returns key value.

func (StructMatcherValidationError) Reason added in v0.9.3

Reason function returns reason value.

type StructMatcher_PathSegment added in v0.9.3

type StructMatcher_PathSegment struct {
	// Types that are valid to be assigned to Segment:
	//	*StructMatcher_PathSegment_Key
	Segment              isStructMatcher_PathSegment_Segment `protobuf_oneof:"segment"`
	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
	XXX_unrecognized     []byte                              `json:"-"`
	XXX_sizecache        int32                               `json:"-"`
}

func (*StructMatcher_PathSegment) Descriptor added in v0.9.3

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

func (*StructMatcher_PathSegment) GetKey added in v0.9.3

func (m *StructMatcher_PathSegment) GetKey() string

func (*StructMatcher_PathSegment) GetSegment added in v0.9.3

func (m *StructMatcher_PathSegment) GetSegment() isStructMatcher_PathSegment_Segment

func (*StructMatcher_PathSegment) ProtoMessage added in v0.9.3

func (*StructMatcher_PathSegment) ProtoMessage()

func (*StructMatcher_PathSegment) Reset added in v0.9.3

func (m *StructMatcher_PathSegment) Reset()

func (*StructMatcher_PathSegment) String added in v0.9.3

func (m *StructMatcher_PathSegment) String() string

func (*StructMatcher_PathSegment) Validate added in v0.9.3

func (m *StructMatcher_PathSegment) Validate() error

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

func (*StructMatcher_PathSegment) XXX_DiscardUnknown added in v0.9.3

func (m *StructMatcher_PathSegment) XXX_DiscardUnknown()

func (*StructMatcher_PathSegment) XXX_Marshal added in v0.9.3

func (m *StructMatcher_PathSegment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StructMatcher_PathSegment) XXX_Merge added in v0.9.3

func (m *StructMatcher_PathSegment) XXX_Merge(src proto.Message)

func (*StructMatcher_PathSegment) XXX_OneofWrappers added in v0.9.3

func (*StructMatcher_PathSegment) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*StructMatcher_PathSegment) XXX_Size added in v0.9.3

func (m *StructMatcher_PathSegment) XXX_Size() int

func (*StructMatcher_PathSegment) XXX_Unmarshal added in v0.9.3

func (m *StructMatcher_PathSegment) XXX_Unmarshal(b []byte) error

type StructMatcher_PathSegmentValidationError added in v0.9.3

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

StructMatcher_PathSegmentValidationError is the validation error returned by StructMatcher_PathSegment.Validate if the designated constraints aren't met.

func (StructMatcher_PathSegmentValidationError) Cause added in v0.9.3

Cause function returns cause value.

func (StructMatcher_PathSegmentValidationError) Error added in v0.9.3

Error satisfies the builtin error interface

func (StructMatcher_PathSegmentValidationError) ErrorName added in v0.9.3

ErrorName returns error name.

func (StructMatcher_PathSegmentValidationError) Field added in v0.9.3

Field function returns field value.

func (StructMatcher_PathSegmentValidationError) Key added in v0.9.3

Key function returns key value.

func (StructMatcher_PathSegmentValidationError) Reason added in v0.9.3

Reason function returns reason value.

type StructMatcher_PathSegment_Key added in v0.9.3

type StructMatcher_PathSegment_Key struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3,oneof"`
}

type ValueMatcher

type ValueMatcher struct {
	// Types that are valid to be assigned to MatchPattern:
	//	*ValueMatcher_NullMatch_
	//	*ValueMatcher_DoubleMatch
	//	*ValueMatcher_StringMatch
	//	*ValueMatcher_BoolMatch
	//	*ValueMatcher_PresentMatch
	//	*ValueMatcher_ListMatch
	MatchPattern         isValueMatcher_MatchPattern `protobuf_oneof:"match_pattern"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*ValueMatcher) Descriptor

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

func (*ValueMatcher) GetBoolMatch

func (m *ValueMatcher) GetBoolMatch() bool

func (*ValueMatcher) GetDoubleMatch

func (m *ValueMatcher) GetDoubleMatch() *DoubleMatcher

func (*ValueMatcher) GetListMatch

func (m *ValueMatcher) GetListMatch() *ListMatcher

func (*ValueMatcher) GetMatchPattern

func (m *ValueMatcher) GetMatchPattern() isValueMatcher_MatchPattern

func (*ValueMatcher) GetNullMatch

func (m *ValueMatcher) GetNullMatch() *ValueMatcher_NullMatch

func (*ValueMatcher) GetPresentMatch

func (m *ValueMatcher) GetPresentMatch() bool

func (*ValueMatcher) GetStringMatch

func (m *ValueMatcher) GetStringMatch() *StringMatcher

func (*ValueMatcher) ProtoMessage

func (*ValueMatcher) ProtoMessage()

func (*ValueMatcher) Reset

func (m *ValueMatcher) Reset()

func (*ValueMatcher) String

func (m *ValueMatcher) String() string

func (*ValueMatcher) Validate

func (m *ValueMatcher) Validate() error

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

func (*ValueMatcher) XXX_DiscardUnknown

func (m *ValueMatcher) XXX_DiscardUnknown()

func (*ValueMatcher) XXX_Marshal

func (m *ValueMatcher) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValueMatcher) XXX_Merge

func (m *ValueMatcher) XXX_Merge(src proto.Message)

func (*ValueMatcher) XXX_OneofWrappers added in v0.9.0

func (*ValueMatcher) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*ValueMatcher) XXX_Size

func (m *ValueMatcher) XXX_Size() int

func (*ValueMatcher) XXX_Unmarshal

func (m *ValueMatcher) XXX_Unmarshal(b []byte) error

type ValueMatcherValidationError

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

ValueMatcherValidationError is the validation error returned by ValueMatcher.Validate if the designated constraints aren't met.

func (ValueMatcherValidationError) Cause

Cause function returns cause value.

func (ValueMatcherValidationError) Error

Error satisfies the builtin error interface

func (ValueMatcherValidationError) ErrorName added in v0.7.0

func (e ValueMatcherValidationError) ErrorName() string

ErrorName returns error name.

func (ValueMatcherValidationError) Field

Field function returns field value.

func (ValueMatcherValidationError) Key

Key function returns key value.

func (ValueMatcherValidationError) Reason

Reason function returns reason value.

type ValueMatcher_BoolMatch

type ValueMatcher_BoolMatch struct {
	BoolMatch bool `protobuf:"varint,4,opt,name=bool_match,json=boolMatch,proto3,oneof"`
}

type ValueMatcher_DoubleMatch

type ValueMatcher_DoubleMatch struct {
	DoubleMatch *DoubleMatcher `protobuf:"bytes,2,opt,name=double_match,json=doubleMatch,proto3,oneof"`
}

type ValueMatcher_ListMatch

type ValueMatcher_ListMatch struct {
	ListMatch *ListMatcher `protobuf:"bytes,6,opt,name=list_match,json=listMatch,proto3,oneof"`
}

type ValueMatcher_NullMatch

type ValueMatcher_NullMatch struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ValueMatcher_NullMatch) Descriptor

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

func (*ValueMatcher_NullMatch) ProtoMessage

func (*ValueMatcher_NullMatch) ProtoMessage()

func (*ValueMatcher_NullMatch) Reset

func (m *ValueMatcher_NullMatch) Reset()

func (*ValueMatcher_NullMatch) String

func (m *ValueMatcher_NullMatch) String() string

func (*ValueMatcher_NullMatch) Validate

func (m *ValueMatcher_NullMatch) Validate() error

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

func (*ValueMatcher_NullMatch) XXX_DiscardUnknown

func (m *ValueMatcher_NullMatch) XXX_DiscardUnknown()

func (*ValueMatcher_NullMatch) XXX_Marshal

func (m *ValueMatcher_NullMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValueMatcher_NullMatch) XXX_Merge

func (m *ValueMatcher_NullMatch) XXX_Merge(src proto.Message)

func (*ValueMatcher_NullMatch) XXX_Size

func (m *ValueMatcher_NullMatch) XXX_Size() int

func (*ValueMatcher_NullMatch) XXX_Unmarshal

func (m *ValueMatcher_NullMatch) XXX_Unmarshal(b []byte) error

type ValueMatcher_NullMatchValidationError

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

ValueMatcher_NullMatchValidationError is the validation error returned by ValueMatcher_NullMatch.Validate if the designated constraints aren't met.

func (ValueMatcher_NullMatchValidationError) Cause

Cause function returns cause value.

func (ValueMatcher_NullMatchValidationError) Error

Error satisfies the builtin error interface

func (ValueMatcher_NullMatchValidationError) ErrorName added in v0.7.0

ErrorName returns error name.

func (ValueMatcher_NullMatchValidationError) Field

Field function returns field value.

func (ValueMatcher_NullMatchValidationError) Key

Key function returns key value.

func (ValueMatcher_NullMatchValidationError) Reason

Reason function returns reason value.

type ValueMatcher_NullMatch_

type ValueMatcher_NullMatch_ struct {
	NullMatch *ValueMatcher_NullMatch `protobuf:"bytes,1,opt,name=null_match,json=nullMatch,proto3,oneof"`
}

type ValueMatcher_PresentMatch

type ValueMatcher_PresentMatch struct {
	PresentMatch bool `protobuf:"varint,5,opt,name=present_match,json=presentMatch,proto3,oneof"`
}

type ValueMatcher_StringMatch

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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