Documentation ¶
Index ¶
- Variables
- type ApprovalState
- func (ApprovalState) Descriptor() protoreflect.EnumDescriptor
- func (x ApprovalState) Enum() *ApprovalState
- func (ApprovalState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ApprovalState) Number() protoreflect.EnumNumber
- func (x ApprovalState) String() string
- func (ApprovalState) Type() protoreflect.EnumType
- type DestinationSelector
- func (*DestinationSelector) Descriptor() ([]byte, []int)deprecated
- func (m *DestinationSelector) Equal(that interface{}) bool
- func (x *DestinationSelector) GetKubeServiceMatcher() *DestinationSelector_KubeServiceMatcher
- func (x *DestinationSelector) GetKubeServiceRefs() *DestinationSelector_KubeServiceRefs
- func (*DestinationSelector) ProtoMessage()
- func (x *DestinationSelector) ProtoReflect() protoreflect.Message
- func (x *DestinationSelector) Reset()
- func (x *DestinationSelector) String() string
- type DestinationSelector_KubeServiceMatcher
- func (*DestinationSelector_KubeServiceMatcher) Descriptor() ([]byte, []int)deprecated
- func (m *DestinationSelector_KubeServiceMatcher) Equal(that interface{}) bool
- func (x *DestinationSelector_KubeServiceMatcher) GetClusters() []string
- func (x *DestinationSelector_KubeServiceMatcher) GetLabels() map[string]string
- func (x *DestinationSelector_KubeServiceMatcher) GetNamespaces() []string
- func (*DestinationSelector_KubeServiceMatcher) ProtoMessage()
- func (x *DestinationSelector_KubeServiceMatcher) ProtoReflect() protoreflect.Message
- func (x *DestinationSelector_KubeServiceMatcher) Reset()
- func (x *DestinationSelector_KubeServiceMatcher) String() string
- type DestinationSelector_KubeServiceRefs
- func (*DestinationSelector_KubeServiceRefs) Descriptor() ([]byte, []int)deprecated
- func (m *DestinationSelector_KubeServiceRefs) Equal(that interface{}) bool
- func (x *DestinationSelector_KubeServiceRefs) GetServices() []*v1.ClusterObjectRef
- func (*DestinationSelector_KubeServiceRefs) ProtoMessage()
- func (x *DestinationSelector_KubeServiceRefs) ProtoReflect() protoreflect.Message
- func (x *DestinationSelector_KubeServiceRefs) Reset()
- func (x *DestinationSelector_KubeServiceRefs) String() string
- type HeaderMatcher
- func (*HeaderMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *HeaderMatcher) GetInvertMatch() bool
- func (x *HeaderMatcher) GetName() string
- func (x *HeaderMatcher) GetRegex() bool
- func (x *HeaderMatcher) GetValue() string
- func (*HeaderMatcher) ProtoMessage()
- func (x *HeaderMatcher) ProtoReflect() protoreflect.Message
- func (x *HeaderMatcher) Reset()
- func (x *HeaderMatcher) String() string
- type IdentitySelector
- func (*IdentitySelector) Descriptor() ([]byte, []int)deprecated
- func (m *IdentitySelector) Equal(that interface{}) bool
- func (x *IdentitySelector) GetKubeIdentityMatcher() *IdentitySelector_KubeIdentityMatcher
- func (x *IdentitySelector) GetKubeServiceAccountRefs() *IdentitySelector_KubeServiceAccountRefs
- func (*IdentitySelector) ProtoMessage()
- func (x *IdentitySelector) ProtoReflect() protoreflect.Message
- func (x *IdentitySelector) Reset()
- func (x *IdentitySelector) String() string
- type IdentitySelector_KubeIdentityMatcher
- func (*IdentitySelector_KubeIdentityMatcher) Descriptor() ([]byte, []int)deprecated
- func (m *IdentitySelector_KubeIdentityMatcher) Equal(that interface{}) bool
- func (x *IdentitySelector_KubeIdentityMatcher) GetClusters() []string
- func (x *IdentitySelector_KubeIdentityMatcher) GetNamespaces() []string
- func (*IdentitySelector_KubeIdentityMatcher) ProtoMessage()
- func (x *IdentitySelector_KubeIdentityMatcher) ProtoReflect() protoreflect.Message
- func (x *IdentitySelector_KubeIdentityMatcher) Reset()
- func (x *IdentitySelector_KubeIdentityMatcher) String() string
- type IdentitySelector_KubeServiceAccountRefs
- func (*IdentitySelector_KubeServiceAccountRefs) Descriptor() ([]byte, []int)deprecated
- func (m *IdentitySelector_KubeServiceAccountRefs) Equal(that interface{}) bool
- func (x *IdentitySelector_KubeServiceAccountRefs) GetServiceAccounts() []*v1.ClusterObjectRef
- func (*IdentitySelector_KubeServiceAccountRefs) ProtoMessage()
- func (x *IdentitySelector_KubeServiceAccountRefs) ProtoReflect() protoreflect.Message
- func (x *IdentitySelector_KubeServiceAccountRefs) Reset()
- func (x *IdentitySelector_KubeServiceAccountRefs) String() string
- type StatusCodeMatcher
- func (*StatusCodeMatcher) Descriptor() ([]byte, []int)deprecated
- func (x *StatusCodeMatcher) GetComparator() StatusCodeMatcher_Comparator
- func (x *StatusCodeMatcher) GetValue() uint32
- func (*StatusCodeMatcher) ProtoMessage()
- func (x *StatusCodeMatcher) ProtoReflect() protoreflect.Message
- func (x *StatusCodeMatcher) Reset()
- func (x *StatusCodeMatcher) String() string
- type StatusCodeMatcher_Comparator
- func (StatusCodeMatcher_Comparator) Descriptor() protoreflect.EnumDescriptor
- func (x StatusCodeMatcher_Comparator) Enum() *StatusCodeMatcher_Comparator
- func (StatusCodeMatcher_Comparator) EnumDescriptor() ([]byte, []int)deprecated
- func (x StatusCodeMatcher_Comparator) Number() protoreflect.EnumNumber
- func (x StatusCodeMatcher_Comparator) String() string
- func (StatusCodeMatcher_Comparator) Type() protoreflect.EnumType
- type WorkloadSelector
- func (*WorkloadSelector) Descriptor() ([]byte, []int)deprecated
- func (m *WorkloadSelector) Equal(that interface{}) bool
- func (x *WorkloadSelector) GetKubeWorkloadMatcher() *WorkloadSelector_KubeWorkloadMatcher
- func (*WorkloadSelector) ProtoMessage()
- func (x *WorkloadSelector) ProtoReflect() protoreflect.Message
- func (x *WorkloadSelector) Reset()
- func (x *WorkloadSelector) String() string
- type WorkloadSelector_KubeWorkloadMatcher
- func (*WorkloadSelector_KubeWorkloadMatcher) Descriptor() ([]byte, []int)deprecated
- func (m *WorkloadSelector_KubeWorkloadMatcher) Equal(that interface{}) bool
- func (x *WorkloadSelector_KubeWorkloadMatcher) GetClusters() []string
- func (x *WorkloadSelector_KubeWorkloadMatcher) GetLabels() map[string]string
- func (x *WorkloadSelector_KubeWorkloadMatcher) GetNamespaces() []string
- func (*WorkloadSelector_KubeWorkloadMatcher) ProtoMessage()
- func (x *WorkloadSelector_KubeWorkloadMatcher) ProtoReflect() protoreflect.Message
- func (x *WorkloadSelector_KubeWorkloadMatcher) Reset()
- func (x *WorkloadSelector_KubeWorkloadMatcher) String() string
Constants ¶
This section is empty.
Variables ¶
var ( StatusCodeMatcher_Comparator_name = map[int32]string{ 0: "EQ", 1: "GE", 2: "LE", } StatusCodeMatcher_Comparator_value = map[string]int32{ "EQ": 0, "GE": 1, "LE": 2, } )
Enum value maps for StatusCodeMatcher_Comparator.
var ( ApprovalState_name = map[int32]string{ 0: "PENDING", 1: "ACCEPTED", 2: "INVALID", 3: "FAILED", } ApprovalState_value = map[string]int32{ "PENDING": 0, "ACCEPTED": 1, "INVALID": 2, "FAILED": 3, } )
Enum value maps for ApprovalState.
var File_github_com_solo_io_gloo_mesh_api_common_v1_request_matchers_proto protoreflect.FileDescriptor
var File_github_com_solo_io_gloo_mesh_api_common_v1_selectors_proto protoreflect.FileDescriptor
var File_github_com_solo_io_gloo_mesh_api_common_v1_validation_state_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ApprovalState ¶
type ApprovalState int32
State of a Policy resource reflected in the status by Gloo Mesh while processing a resource.
const ( // Resources are in a Pending state before they have been processed by Gloo Mesh. ApprovalState_PENDING ApprovalState = 0 // Resources are in a Accepted state when they are valid and have been applied successfully to // the Gloo Mesh configuration. ApprovalState_ACCEPTED ApprovalState = 1 // Resources are in an Invalid state when they contain incorrect configuration parameters, // such as missing required values or invalid resource references. // An invalid state can also result when a resource's configuration is valid // but conflicts with another resource which was accepted in an earlier point in time. ApprovalState_INVALID ApprovalState = 2 // Resources are in a Failed state when they contain correct configuration parameters, // but the server encountered an error trying to synchronize the system to // the desired state. ApprovalState_FAILED ApprovalState = 3 )
func (ApprovalState) Descriptor ¶
func (ApprovalState) Descriptor() protoreflect.EnumDescriptor
func (ApprovalState) Enum ¶
func (x ApprovalState) Enum() *ApprovalState
func (ApprovalState) EnumDescriptor
deprecated
func (ApprovalState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ApprovalState.Descriptor instead.
func (ApprovalState) Number ¶
func (x ApprovalState) Number() protoreflect.EnumNumber
func (ApprovalState) String ¶
func (x ApprovalState) String() string
func (ApprovalState) Type ¶
func (ApprovalState) Type() protoreflect.EnumType
type DestinationSelector ¶
type DestinationSelector struct { // Match Kubernetes Services by their labels, namespaces, and/or clusters. KubeServiceMatcher *DestinationSelector_KubeServiceMatcher `protobuf:"bytes,1,opt,name=kube_service_matcher,json=kubeServiceMatcher,proto3" json:"kube_service_matcher,omitempty"` // Match Kubernetes Services by direct reference. KubeServiceRefs *DestinationSelector_KubeServiceRefs `protobuf:"bytes,2,opt,name=kube_service_refs,json=kubeServiceRefs,proto3" json:"kube_service_refs,omitempty"` // contains filtered or unexported fields }
Select Destinations using one or more platform-specific selectors.
func (*DestinationSelector) Descriptor
deprecated
func (*DestinationSelector) Descriptor() ([]byte, []int)
Deprecated: Use DestinationSelector.ProtoReflect.Descriptor instead.
func (*DestinationSelector) Equal ¶
func (m *DestinationSelector) Equal(that interface{}) bool
Equal function
func (*DestinationSelector) GetKubeServiceMatcher ¶
func (x *DestinationSelector) GetKubeServiceMatcher() *DestinationSelector_KubeServiceMatcher
func (*DestinationSelector) GetKubeServiceRefs ¶
func (x *DestinationSelector) GetKubeServiceRefs() *DestinationSelector_KubeServiceRefs
func (*DestinationSelector) ProtoMessage ¶
func (*DestinationSelector) ProtoMessage()
func (*DestinationSelector) ProtoReflect ¶
func (x *DestinationSelector) ProtoReflect() protoreflect.Message
func (*DestinationSelector) Reset ¶
func (x *DestinationSelector) Reset()
func (*DestinationSelector) String ¶
func (x *DestinationSelector) String() string
type DestinationSelector_KubeServiceMatcher ¶
type DestinationSelector_KubeServiceMatcher struct { // //If specified, a match requires all labels to exist on a Kubernetes Service. //When used in a networking policy, omission matches any labels. //When used in a Gloo Mesh Role, a wildcard (`"*"`) must be specified to match any label key and/or value. Labels map[string]string `` /* 153-byte string literal not displayed */ // //If specified, match Kubernetes Services if they exist in one of the specified namespaces. //When used in a networking policy, omission matches any namespace. //When used in a Gloo Mesh Role, a wildcard (`"*"`) must be specified to match any namespace. Namespaces []string `protobuf:"bytes,2,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // //If specified, match Kubernetes Services if they exist in one of the specified clusters. //When used in a networking policy, omission matches any cluster. //When used in a Gloo Mesh Role, a wildcard (`"*"`) must be specified to match any cluster. Clusters []string `protobuf:"bytes,3,rep,name=clusters,proto3" json:"clusters,omitempty"` // contains filtered or unexported fields }
Match Kubernetes Services by their labels, namespaces, and/or clusters.
func (*DestinationSelector_KubeServiceMatcher) Descriptor
deprecated
func (*DestinationSelector_KubeServiceMatcher) Descriptor() ([]byte, []int)
Deprecated: Use DestinationSelector_KubeServiceMatcher.ProtoReflect.Descriptor instead.
func (*DestinationSelector_KubeServiceMatcher) Equal ¶
func (m *DestinationSelector_KubeServiceMatcher) Equal(that interface{}) bool
Equal function
func (*DestinationSelector_KubeServiceMatcher) GetClusters ¶
func (x *DestinationSelector_KubeServiceMatcher) GetClusters() []string
func (*DestinationSelector_KubeServiceMatcher) GetLabels ¶
func (x *DestinationSelector_KubeServiceMatcher) GetLabels() map[string]string
func (*DestinationSelector_KubeServiceMatcher) GetNamespaces ¶
func (x *DestinationSelector_KubeServiceMatcher) GetNamespaces() []string
func (*DestinationSelector_KubeServiceMatcher) ProtoMessage ¶
func (*DestinationSelector_KubeServiceMatcher) ProtoMessage()
func (*DestinationSelector_KubeServiceMatcher) ProtoReflect ¶
func (x *DestinationSelector_KubeServiceMatcher) ProtoReflect() protoreflect.Message
func (*DestinationSelector_KubeServiceMatcher) Reset ¶
func (x *DestinationSelector_KubeServiceMatcher) Reset()
func (*DestinationSelector_KubeServiceMatcher) String ¶
func (x *DestinationSelector_KubeServiceMatcher) String() string
type DestinationSelector_KubeServiceRefs ¶
type DestinationSelector_KubeServiceRefs struct { // //Match Kubernetes Services by direct reference. //When used in a networking policy, omission of any field (name, namespace, or clusterName) allows matching any value for that field. //When used in a Gloo Mesh Role, a wildcard (`"*"`) must be specified to match any value for the given field. Services []*v1.ClusterObjectRef `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` // contains filtered or unexported fields }
Match Kubernetes Services by direct reference.
func (*DestinationSelector_KubeServiceRefs) Descriptor
deprecated
func (*DestinationSelector_KubeServiceRefs) Descriptor() ([]byte, []int)
Deprecated: Use DestinationSelector_KubeServiceRefs.ProtoReflect.Descriptor instead.
func (*DestinationSelector_KubeServiceRefs) Equal ¶
func (m *DestinationSelector_KubeServiceRefs) Equal(that interface{}) bool
Equal function
func (*DestinationSelector_KubeServiceRefs) GetServices ¶
func (x *DestinationSelector_KubeServiceRefs) GetServices() []*v1.ClusterObjectRef
func (*DestinationSelector_KubeServiceRefs) ProtoMessage ¶
func (*DestinationSelector_KubeServiceRefs) ProtoMessage()
func (*DestinationSelector_KubeServiceRefs) ProtoReflect ¶
func (x *DestinationSelector_KubeServiceRefs) ProtoReflect() protoreflect.Message
func (*DestinationSelector_KubeServiceRefs) Reset ¶
func (x *DestinationSelector_KubeServiceRefs) Reset()
func (*DestinationSelector_KubeServiceRefs) String ¶
func (x *DestinationSelector_KubeServiceRefs) String() string
type HeaderMatcher ¶
type HeaderMatcher struct { // Specify the name of the header in the request. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Specify the value of the header. If the value is absent a request that // has the name header will match, regardless of the header’s value. Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // Specify whether the header value should be treated as regex. Regex bool `protobuf:"varint,3,opt,name=regex,proto3" json:"regex,omitempty"` // //If set to true, the result of the match will be inverted. Defaults to false. // //Examples: // //- name=foo, invert_match=true: matches if no header named `foo` is present //- name=foo, value=bar, invert_match=true: matches if no header named `foo` with value `bar` is present //- name=foo, value=“\d{3}“, regex=true, invert_match=true: matches if no header named `foo` with a value consisting of three integers is present. InvertMatch bool `protobuf:"varint,4,opt,name=invert_match,json=invertMatch,proto3" json:"invert_match,omitempty"` // contains filtered or unexported fields }
Describes a matcher against HTTP request headers.
func (*HeaderMatcher) Descriptor
deprecated
func (*HeaderMatcher) Descriptor() ([]byte, []int)
Deprecated: Use HeaderMatcher.ProtoReflect.Descriptor instead.
func (*HeaderMatcher) GetInvertMatch ¶
func (x *HeaderMatcher) GetInvertMatch() bool
func (*HeaderMatcher) GetName ¶
func (x *HeaderMatcher) GetName() string
func (*HeaderMatcher) GetRegex ¶
func (x *HeaderMatcher) GetRegex() bool
func (*HeaderMatcher) GetValue ¶
func (x *HeaderMatcher) GetValue() string
func (*HeaderMatcher) ProtoMessage ¶
func (*HeaderMatcher) ProtoMessage()
func (*HeaderMatcher) ProtoReflect ¶
func (x *HeaderMatcher) ProtoReflect() protoreflect.Message
func (*HeaderMatcher) Reset ¶
func (x *HeaderMatcher) Reset()
func (*HeaderMatcher) String ¶
func (x *HeaderMatcher) String() string
type IdentitySelector ¶
type IdentitySelector struct { // Match request identities based on the Kubernetes namespace and cluster. KubeIdentityMatcher *IdentitySelector_KubeIdentityMatcher `protobuf:"bytes,1,opt,name=kube_identity_matcher,json=kubeIdentityMatcher,proto3" json:"kube_identity_matcher,omitempty"` // Match request identities based on the Kubernetes service account of the request. KubeServiceAccountRefs *IdentitySelector_KubeServiceAccountRefs `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
Select Destination identities using one or more platform-specific selectors.
func (*IdentitySelector) Descriptor
deprecated
func (*IdentitySelector) Descriptor() ([]byte, []int)
Deprecated: Use IdentitySelector.ProtoReflect.Descriptor instead.
func (*IdentitySelector) Equal ¶
func (m *IdentitySelector) Equal(that interface{}) bool
Equal function
func (*IdentitySelector) GetKubeIdentityMatcher ¶
func (x *IdentitySelector) GetKubeIdentityMatcher() *IdentitySelector_KubeIdentityMatcher
func (*IdentitySelector) GetKubeServiceAccountRefs ¶
func (x *IdentitySelector) GetKubeServiceAccountRefs() *IdentitySelector_KubeServiceAccountRefs
func (*IdentitySelector) ProtoMessage ¶
func (*IdentitySelector) ProtoMessage()
func (*IdentitySelector) ProtoReflect ¶
func (x *IdentitySelector) ProtoReflect() protoreflect.Message
func (*IdentitySelector) Reset ¶
func (x *IdentitySelector) Reset()
func (*IdentitySelector) String ¶
func (x *IdentitySelector) String() string
type IdentitySelector_KubeIdentityMatcher ¶
type IdentitySelector_KubeIdentityMatcher struct { // //If specified, match a Kubernetes identity if it exists in one of the specified namespaces. //When used in a networking policy, omission matches any namespace. //When used in a Gloo Mesh Role, a wildcard (`"*"`) must be specified to match any namespace. Namespaces []string `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // //If specified, match a Kubernetes identity if it exists in one of the specified clusters. //When used in a networking policy, omission matches any cluster. //When used in a Gloo Mesh Role, a wildcard (`"*"`) must be specified to match any cluster. Clusters []string `protobuf:"bytes,2,rep,name=clusters,proto3" json:"clusters,omitempty"` // contains filtered or unexported fields }
func (*IdentitySelector_KubeIdentityMatcher) Descriptor
deprecated
func (*IdentitySelector_KubeIdentityMatcher) Descriptor() ([]byte, []int)
Deprecated: Use IdentitySelector_KubeIdentityMatcher.ProtoReflect.Descriptor instead.
func (*IdentitySelector_KubeIdentityMatcher) Equal ¶
func (m *IdentitySelector_KubeIdentityMatcher) Equal(that interface{}) bool
Equal function
func (*IdentitySelector_KubeIdentityMatcher) GetClusters ¶
func (x *IdentitySelector_KubeIdentityMatcher) GetClusters() []string
func (*IdentitySelector_KubeIdentityMatcher) GetNamespaces ¶
func (x *IdentitySelector_KubeIdentityMatcher) GetNamespaces() []string
func (*IdentitySelector_KubeIdentityMatcher) ProtoMessage ¶
func (*IdentitySelector_KubeIdentityMatcher) ProtoMessage()
func (*IdentitySelector_KubeIdentityMatcher) ProtoReflect ¶
func (x *IdentitySelector_KubeIdentityMatcher) ProtoReflect() protoreflect.Message
func (*IdentitySelector_KubeIdentityMatcher) Reset ¶
func (x *IdentitySelector_KubeIdentityMatcher) Reset()
func (*IdentitySelector_KubeIdentityMatcher) String ¶
func (x *IdentitySelector_KubeIdentityMatcher) String() string
type IdentitySelector_KubeServiceAccountRefs ¶
type IdentitySelector_KubeServiceAccountRefs struct { // //Match Kubernetes service accounts by direct reference. //When used in a networking policy, omission of any field (name, namespace, or clusterName) allows matching any value for that field. //When used in a Gloo Mesh Role, a wildcard (`"*"`) must be specified to match any value for the given field. ServiceAccounts []*v1.ClusterObjectRef `protobuf:"bytes,1,rep,name=service_accounts,json=serviceAccounts,proto3" json:"service_accounts,omitempty"` // contains filtered or unexported fields }
func (*IdentitySelector_KubeServiceAccountRefs) Descriptor
deprecated
func (*IdentitySelector_KubeServiceAccountRefs) Descriptor() ([]byte, []int)
Deprecated: Use IdentitySelector_KubeServiceAccountRefs.ProtoReflect.Descriptor instead.
func (*IdentitySelector_KubeServiceAccountRefs) Equal ¶
func (m *IdentitySelector_KubeServiceAccountRefs) Equal(that interface{}) bool
Equal function
func (*IdentitySelector_KubeServiceAccountRefs) GetServiceAccounts ¶
func (x *IdentitySelector_KubeServiceAccountRefs) GetServiceAccounts() []*v1.ClusterObjectRef
func (*IdentitySelector_KubeServiceAccountRefs) ProtoMessage ¶
func (*IdentitySelector_KubeServiceAccountRefs) ProtoMessage()
func (*IdentitySelector_KubeServiceAccountRefs) ProtoReflect ¶
func (x *IdentitySelector_KubeServiceAccountRefs) ProtoReflect() protoreflect.Message
func (*IdentitySelector_KubeServiceAccountRefs) Reset ¶
func (x *IdentitySelector_KubeServiceAccountRefs) Reset()
func (*IdentitySelector_KubeServiceAccountRefs) String ¶
func (x *IdentitySelector_KubeServiceAccountRefs) String() string
type StatusCodeMatcher ¶
type StatusCodeMatcher struct { // The status code value to match against. Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // The comparison type used for matching. Comparator StatusCodeMatcher_Comparator `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
Describes a matcher against HTTP response status codes.
func (*StatusCodeMatcher) Descriptor
deprecated
func (*StatusCodeMatcher) Descriptor() ([]byte, []int)
Deprecated: Use StatusCodeMatcher.ProtoReflect.Descriptor instead.
func (*StatusCodeMatcher) GetComparator ¶
func (x *StatusCodeMatcher) GetComparator() StatusCodeMatcher_Comparator
func (*StatusCodeMatcher) GetValue ¶
func (x *StatusCodeMatcher) GetValue() uint32
func (*StatusCodeMatcher) ProtoMessage ¶
func (*StatusCodeMatcher) ProtoMessage()
func (*StatusCodeMatcher) ProtoReflect ¶
func (x *StatusCodeMatcher) ProtoReflect() protoreflect.Message
func (*StatusCodeMatcher) Reset ¶
func (x *StatusCodeMatcher) Reset()
func (*StatusCodeMatcher) String ¶
func (x *StatusCodeMatcher) String() string
type StatusCodeMatcher_Comparator ¶
type StatusCodeMatcher_Comparator int32
const ( // Strict equality. StatusCodeMatcher_EQ StatusCodeMatcher_Comparator = 0 // Greater than or equal to. StatusCodeMatcher_GE StatusCodeMatcher_Comparator = 1 // Less than or equal to. StatusCodeMatcher_LE StatusCodeMatcher_Comparator = 2 )
func (StatusCodeMatcher_Comparator) Descriptor ¶
func (StatusCodeMatcher_Comparator) Descriptor() protoreflect.EnumDescriptor
func (StatusCodeMatcher_Comparator) Enum ¶
func (x StatusCodeMatcher_Comparator) Enum() *StatusCodeMatcher_Comparator
func (StatusCodeMatcher_Comparator) EnumDescriptor
deprecated
func (StatusCodeMatcher_Comparator) EnumDescriptor() ([]byte, []int)
Deprecated: Use StatusCodeMatcher_Comparator.Descriptor instead.
func (StatusCodeMatcher_Comparator) Number ¶
func (x StatusCodeMatcher_Comparator) Number() protoreflect.EnumNumber
func (StatusCodeMatcher_Comparator) String ¶
func (x StatusCodeMatcher_Comparator) String() string
func (StatusCodeMatcher_Comparator) Type ¶
func (StatusCodeMatcher_Comparator) Type() protoreflect.EnumType
type WorkloadSelector ¶
type WorkloadSelector struct { // Match Kubernetes workloads by their labels, namespaces, and/or clusters. KubeWorkloadMatcher *WorkloadSelector_KubeWorkloadMatcher `protobuf:"bytes,1,opt,name=kube_workload_matcher,json=kubeWorkloadMatcher,proto3" json:"kube_workload_matcher,omitempty"` // contains filtered or unexported fields }
Select Workloads using one or more platform-specific selectors.
func (*WorkloadSelector) Descriptor
deprecated
func (*WorkloadSelector) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadSelector.ProtoReflect.Descriptor instead.
func (*WorkloadSelector) Equal ¶
func (m *WorkloadSelector) Equal(that interface{}) bool
Equal function
func (*WorkloadSelector) GetKubeWorkloadMatcher ¶
func (x *WorkloadSelector) GetKubeWorkloadMatcher() *WorkloadSelector_KubeWorkloadMatcher
func (*WorkloadSelector) ProtoMessage ¶
func (*WorkloadSelector) ProtoMessage()
func (*WorkloadSelector) ProtoReflect ¶
func (x *WorkloadSelector) ProtoReflect() protoreflect.Message
func (*WorkloadSelector) Reset ¶
func (x *WorkloadSelector) Reset()
func (*WorkloadSelector) String ¶
func (x *WorkloadSelector) String() string
type WorkloadSelector_KubeWorkloadMatcher ¶
type WorkloadSelector_KubeWorkloadMatcher struct { // //If specified, all labels must exist on Kubernetes workload. //When used in a networking policy, omission matches any labels. //When used in a Gloo Mesh Role, a wildcard (`"*"`) must be specified to match any label key and/or value. Labels map[string]string `` /* 153-byte string literal not displayed */ // //If specified, match Kubernetes workloads if they exist in one of the specified namespaces. //When used in a networking policy, omission matches any namespace. //When used in a Gloo Mesh Role, a wildcard (`"*"`) must be specified to match any namespace. Namespaces []string `protobuf:"bytes,2,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // //If specified, match Kubernetes workloads if they exist in one of the specified clusters. //When used in a networking policy, omission matches any cluster. //When used in a Gloo Mesh Role, a wildcard (`"*"`) must be specified to match any cluster. Clusters []string `protobuf:"bytes,3,rep,name=clusters,proto3" json:"clusters,omitempty"` // contains filtered or unexported fields }
Match Kubernetes workloads by their labels, namespaces, and/or clusters.
func (*WorkloadSelector_KubeWorkloadMatcher) Descriptor
deprecated
func (*WorkloadSelector_KubeWorkloadMatcher) Descriptor() ([]byte, []int)
Deprecated: Use WorkloadSelector_KubeWorkloadMatcher.ProtoReflect.Descriptor instead.
func (*WorkloadSelector_KubeWorkloadMatcher) Equal ¶
func (m *WorkloadSelector_KubeWorkloadMatcher) Equal(that interface{}) bool
Equal function
func (*WorkloadSelector_KubeWorkloadMatcher) GetClusters ¶
func (x *WorkloadSelector_KubeWorkloadMatcher) GetClusters() []string
func (*WorkloadSelector_KubeWorkloadMatcher) GetLabels ¶
func (x *WorkloadSelector_KubeWorkloadMatcher) GetLabels() map[string]string
func (*WorkloadSelector_KubeWorkloadMatcher) GetNamespaces ¶
func (x *WorkloadSelector_KubeWorkloadMatcher) GetNamespaces() []string
func (*WorkloadSelector_KubeWorkloadMatcher) ProtoMessage ¶
func (*WorkloadSelector_KubeWorkloadMatcher) ProtoMessage()
func (*WorkloadSelector_KubeWorkloadMatcher) ProtoReflect ¶
func (x *WorkloadSelector_KubeWorkloadMatcher) ProtoReflect() protoreflect.Message
func (*WorkloadSelector_KubeWorkloadMatcher) Reset ¶
func (x *WorkloadSelector_KubeWorkloadMatcher) Reset()
func (*WorkloadSelector_KubeWorkloadMatcher) String ¶
func (x *WorkloadSelector_KubeWorkloadMatcher) String() string