Documentation ¶
Index ¶
- Variables
- type DnsTable
- func (*DnsTable) Descriptor() ([]byte, []int)deprecated
- func (x *DnsTable) GetExternalRetryCount() uint32
- func (x *DnsTable) GetKnownSuffixes() []*v3.StringMatcherdeprecated
- func (x *DnsTable) GetVirtualDomains() []*DnsTable_DnsVirtualDomain
- func (*DnsTable) ProtoMessage()
- func (x *DnsTable) ProtoReflect() protoreflect.Message
- func (x *DnsTable) Reset()
- func (x *DnsTable) String() string
- func (m *DnsTable) Validate() error
- func (m *DnsTable) ValidateAll() error
- type DnsTableMultiError
- type DnsTableValidationError
- type DnsTable_AddressList
- func (*DnsTable_AddressList) Descriptor() ([]byte, []int)deprecated
- func (x *DnsTable_AddressList) GetAddress() []string
- func (*DnsTable_AddressList) ProtoMessage()
- func (x *DnsTable_AddressList) ProtoReflect() protoreflect.Message
- func (x *DnsTable_AddressList) Reset()
- func (x *DnsTable_AddressList) String() string
- func (m *DnsTable_AddressList) Validate() error
- func (m *DnsTable_AddressList) ValidateAll() error
- type DnsTable_AddressListMultiError
- type DnsTable_AddressListValidationError
- func (e DnsTable_AddressListValidationError) Cause() error
- func (e DnsTable_AddressListValidationError) Error() string
- func (e DnsTable_AddressListValidationError) ErrorName() string
- func (e DnsTable_AddressListValidationError) Field() string
- func (e DnsTable_AddressListValidationError) Key() bool
- func (e DnsTable_AddressListValidationError) Reason() string
- type DnsTable_DnsEndpoint
- func (*DnsTable_DnsEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *DnsTable_DnsEndpoint) GetAddressList() *DnsTable_AddressList
- func (x *DnsTable_DnsEndpoint) GetClusterName() string
- func (m *DnsTable_DnsEndpoint) GetEndpointConfig() isDnsTable_DnsEndpoint_EndpointConfig
- func (x *DnsTable_DnsEndpoint) GetServiceList() *DnsTable_DnsServiceList
- func (*DnsTable_DnsEndpoint) ProtoMessage()
- func (x *DnsTable_DnsEndpoint) ProtoReflect() protoreflect.Message
- func (x *DnsTable_DnsEndpoint) Reset()
- func (x *DnsTable_DnsEndpoint) String() string
- func (m *DnsTable_DnsEndpoint) Validate() error
- func (m *DnsTable_DnsEndpoint) ValidateAll() error
- type DnsTable_DnsEndpointMultiError
- type DnsTable_DnsEndpointValidationError
- func (e DnsTable_DnsEndpointValidationError) Cause() error
- func (e DnsTable_DnsEndpointValidationError) Error() string
- func (e DnsTable_DnsEndpointValidationError) ErrorName() string
- func (e DnsTable_DnsEndpointValidationError) Field() string
- func (e DnsTable_DnsEndpointValidationError) Key() bool
- func (e DnsTable_DnsEndpointValidationError) Reason() string
- type DnsTable_DnsEndpoint_AddressList
- type DnsTable_DnsEndpoint_ClusterName
- type DnsTable_DnsEndpoint_ServiceList
- type DnsTable_DnsService
- func (*DnsTable_DnsService) Descriptor() ([]byte, []int)deprecated
- func (x *DnsTable_DnsService) GetProtocol() *DnsTable_DnsServiceProtocol
- func (x *DnsTable_DnsService) GetServiceName() string
- func (x *DnsTable_DnsService) GetTargets() []*DnsTable_DnsServiceTarget
- func (x *DnsTable_DnsService) GetTtl() *durationpb.Duration
- func (*DnsTable_DnsService) ProtoMessage()
- func (x *DnsTable_DnsService) ProtoReflect() protoreflect.Message
- func (x *DnsTable_DnsService) Reset()
- func (x *DnsTable_DnsService) String() string
- func (m *DnsTable_DnsService) Validate() error
- func (m *DnsTable_DnsService) ValidateAll() error
- type DnsTable_DnsServiceList
- func (*DnsTable_DnsServiceList) Descriptor() ([]byte, []int)deprecated
- func (x *DnsTable_DnsServiceList) GetServices() []*DnsTable_DnsService
- func (*DnsTable_DnsServiceList) ProtoMessage()
- func (x *DnsTable_DnsServiceList) ProtoReflect() protoreflect.Message
- func (x *DnsTable_DnsServiceList) Reset()
- func (x *DnsTable_DnsServiceList) String() string
- func (m *DnsTable_DnsServiceList) Validate() error
- func (m *DnsTable_DnsServiceList) ValidateAll() error
- type DnsTable_DnsServiceListMultiError
- type DnsTable_DnsServiceListValidationError
- func (e DnsTable_DnsServiceListValidationError) Cause() error
- func (e DnsTable_DnsServiceListValidationError) Error() string
- func (e DnsTable_DnsServiceListValidationError) ErrorName() string
- func (e DnsTable_DnsServiceListValidationError) Field() string
- func (e DnsTable_DnsServiceListValidationError) Key() bool
- func (e DnsTable_DnsServiceListValidationError) Reason() string
- type DnsTable_DnsServiceMultiError
- type DnsTable_DnsServiceProtocol
- func (*DnsTable_DnsServiceProtocol) Descriptor() ([]byte, []int)deprecated
- func (x *DnsTable_DnsServiceProtocol) GetName() string
- func (x *DnsTable_DnsServiceProtocol) GetNumber() uint32
- func (m *DnsTable_DnsServiceProtocol) GetProtocolConfig() isDnsTable_DnsServiceProtocol_ProtocolConfig
- func (*DnsTable_DnsServiceProtocol) ProtoMessage()
- func (x *DnsTable_DnsServiceProtocol) ProtoReflect() protoreflect.Message
- func (x *DnsTable_DnsServiceProtocol) Reset()
- func (x *DnsTable_DnsServiceProtocol) String() string
- func (m *DnsTable_DnsServiceProtocol) Validate() error
- func (m *DnsTable_DnsServiceProtocol) ValidateAll() error
- type DnsTable_DnsServiceProtocolMultiError
- type DnsTable_DnsServiceProtocolValidationError
- func (e DnsTable_DnsServiceProtocolValidationError) Cause() error
- func (e DnsTable_DnsServiceProtocolValidationError) Error() string
- func (e DnsTable_DnsServiceProtocolValidationError) ErrorName() string
- func (e DnsTable_DnsServiceProtocolValidationError) Field() string
- func (e DnsTable_DnsServiceProtocolValidationError) Key() bool
- func (e DnsTable_DnsServiceProtocolValidationError) Reason() string
- type DnsTable_DnsServiceProtocol_Name
- type DnsTable_DnsServiceProtocol_Number
- type DnsTable_DnsServiceTarget
- func (*DnsTable_DnsServiceTarget) Descriptor() ([]byte, []int)deprecated
- func (x *DnsTable_DnsServiceTarget) GetClusterName() string
- func (m *DnsTable_DnsServiceTarget) GetEndpointType() isDnsTable_DnsServiceTarget_EndpointType
- func (x *DnsTable_DnsServiceTarget) GetHostName() string
- func (x *DnsTable_DnsServiceTarget) GetPort() uint32
- func (x *DnsTable_DnsServiceTarget) GetPriority() uint32
- func (x *DnsTable_DnsServiceTarget) GetWeight() uint32
- func (*DnsTable_DnsServiceTarget) ProtoMessage()
- func (x *DnsTable_DnsServiceTarget) ProtoReflect() protoreflect.Message
- func (x *DnsTable_DnsServiceTarget) Reset()
- func (x *DnsTable_DnsServiceTarget) String() string
- func (m *DnsTable_DnsServiceTarget) Validate() error
- func (m *DnsTable_DnsServiceTarget) ValidateAll() error
- type DnsTable_DnsServiceTargetMultiError
- type DnsTable_DnsServiceTargetValidationError
- func (e DnsTable_DnsServiceTargetValidationError) Cause() error
- func (e DnsTable_DnsServiceTargetValidationError) Error() string
- func (e DnsTable_DnsServiceTargetValidationError) ErrorName() string
- func (e DnsTable_DnsServiceTargetValidationError) Field() string
- func (e DnsTable_DnsServiceTargetValidationError) Key() bool
- func (e DnsTable_DnsServiceTargetValidationError) Reason() string
- type DnsTable_DnsServiceTarget_ClusterName
- type DnsTable_DnsServiceTarget_HostName
- type DnsTable_DnsServiceValidationError
- func (e DnsTable_DnsServiceValidationError) Cause() error
- func (e DnsTable_DnsServiceValidationError) Error() string
- func (e DnsTable_DnsServiceValidationError) ErrorName() string
- func (e DnsTable_DnsServiceValidationError) Field() string
- func (e DnsTable_DnsServiceValidationError) Key() bool
- func (e DnsTable_DnsServiceValidationError) Reason() string
- type DnsTable_DnsVirtualDomain
- func (*DnsTable_DnsVirtualDomain) Descriptor() ([]byte, []int)deprecated
- func (x *DnsTable_DnsVirtualDomain) GetAnswerTtl() *durationpb.Duration
- func (x *DnsTable_DnsVirtualDomain) GetEndpoint() *DnsTable_DnsEndpoint
- func (x *DnsTable_DnsVirtualDomain) GetName() string
- func (*DnsTable_DnsVirtualDomain) ProtoMessage()
- func (x *DnsTable_DnsVirtualDomain) ProtoReflect() protoreflect.Message
- func (x *DnsTable_DnsVirtualDomain) Reset()
- func (x *DnsTable_DnsVirtualDomain) String() string
- func (m *DnsTable_DnsVirtualDomain) Validate() error
- func (m *DnsTable_DnsVirtualDomain) ValidateAll() error
- type DnsTable_DnsVirtualDomainMultiError
- type DnsTable_DnsVirtualDomainValidationError
- func (e DnsTable_DnsVirtualDomainValidationError) Cause() error
- func (e DnsTable_DnsVirtualDomainValidationError) Error() string
- func (e DnsTable_DnsVirtualDomainValidationError) ErrorName() string
- func (e DnsTable_DnsVirtualDomainValidationError) Field() string
- func (e DnsTable_DnsVirtualDomainValidationError) Key() bool
- func (e DnsTable_DnsVirtualDomainValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_data_dns_v3_dns_table_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DnsTable ¶
type DnsTable struct { // Control how many times Envoy makes an attempt to forward a query to an external DNS server ExternalRetryCount uint32 `protobuf:"varint,1,opt,name=external_retry_count,json=externalRetryCount,proto3" json:"external_retry_count,omitempty"` // Fully qualified domain names for which Envoy will respond to DNS queries. By leaving this // list empty, Envoy will forward all queries to external resolvers VirtualDomains []*DnsTable_DnsVirtualDomain `protobuf:"bytes,2,rep,name=virtual_domains,json=virtualDomains,proto3" json:"virtual_domains,omitempty"` // This field is deprecated and no longer used in Envoy. The filter's behavior has changed // internally to use a different data structure allowing the filter to determine whether a // query is for known domain without the use of this field. // // This field serves to help Envoy determine whether it can authoritatively answer a query // for a name matching a suffix in this list. If the query name does not match a suffix in // this list, Envoy will forward the query to an upstream DNS server // // Deprecated: Do not use. KnownSuffixes []*v3.StringMatcher `protobuf:"bytes,3,rep,name=known_suffixes,json=knownSuffixes,proto3" json:"known_suffixes,omitempty"` // contains filtered or unexported fields }
This message contains the configuration for the DNS Filter if populated from the control plane
func (*DnsTable) Descriptor
deprecated
func (*DnsTable) GetExternalRetryCount ¶
func (*DnsTable) GetKnownSuffixes
deprecated
func (x *DnsTable) GetKnownSuffixes() []*v3.StringMatcher
Deprecated: Do not use.
func (*DnsTable) GetVirtualDomains ¶
func (x *DnsTable) GetVirtualDomains() []*DnsTable_DnsVirtualDomain
func (*DnsTable) ProtoMessage ¶
func (*DnsTable) ProtoMessage()
func (*DnsTable) ProtoReflect ¶
func (x *DnsTable) ProtoReflect() protoreflect.Message
func (*DnsTable) Validate ¶
Validate checks the field values on DnsTable with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DnsTable) ValidateAll ¶
ValidateAll checks the field values on DnsTable with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DnsTableMultiError, or nil if none found.
type DnsTableMultiError ¶
type DnsTableMultiError []error
DnsTableMultiError is an error wrapping multiple validation errors returned by DnsTable.ValidateAll() if the designated constraints aren't met.
func (DnsTableMultiError) AllErrors ¶
func (m DnsTableMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DnsTableMultiError) Error ¶
func (m DnsTableMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DnsTableValidationError ¶
type DnsTableValidationError struct {
// contains filtered or unexported fields
}
DnsTableValidationError is the validation error returned by DnsTable.Validate if the designated constraints aren't met.
func (DnsTableValidationError) Cause ¶
func (e DnsTableValidationError) Cause() error
Cause function returns cause value.
func (DnsTableValidationError) Error ¶
func (e DnsTableValidationError) Error() string
Error satisfies the builtin error interface
func (DnsTableValidationError) ErrorName ¶
func (e DnsTableValidationError) ErrorName() string
ErrorName returns error name.
func (DnsTableValidationError) Field ¶
func (e DnsTableValidationError) Field() string
Field function returns field value.
func (DnsTableValidationError) Key ¶
func (e DnsTableValidationError) Key() bool
Key function returns key value.
func (DnsTableValidationError) Reason ¶
func (e DnsTableValidationError) Reason() string
Reason function returns reason value.
type DnsTable_AddressList ¶
type DnsTable_AddressList struct { // This field contains a well formed IP address that is returned in the answer for a // name query. The address field can be an IPv4 or IPv6 address. Address family // detection is done automatically when Envoy parses the string. Since this field is // repeated, Envoy will return as many entries from this list in the DNS response while // keeping the response under 512 bytes Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
This message contains a list of IP addresses returned for a query for a known name
func (*DnsTable_AddressList) Descriptor
deprecated
func (*DnsTable_AddressList) Descriptor() ([]byte, []int)
Deprecated: Use DnsTable_AddressList.ProtoReflect.Descriptor instead.
func (*DnsTable_AddressList) GetAddress ¶
func (x *DnsTable_AddressList) GetAddress() []string
func (*DnsTable_AddressList) ProtoMessage ¶
func (*DnsTable_AddressList) ProtoMessage()
func (*DnsTable_AddressList) ProtoReflect ¶
func (x *DnsTable_AddressList) ProtoReflect() protoreflect.Message
func (*DnsTable_AddressList) Reset ¶
func (x *DnsTable_AddressList) Reset()
func (*DnsTable_AddressList) String ¶
func (x *DnsTable_AddressList) String() string
func (*DnsTable_AddressList) Validate ¶
func (m *DnsTable_AddressList) Validate() error
Validate checks the field values on DnsTable_AddressList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DnsTable_AddressList) ValidateAll ¶
func (m *DnsTable_AddressList) ValidateAll() error
ValidateAll checks the field values on DnsTable_AddressList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DnsTable_AddressListMultiError, or nil if none found.
type DnsTable_AddressListMultiError ¶
type DnsTable_AddressListMultiError []error
DnsTable_AddressListMultiError is an error wrapping multiple validation errors returned by DnsTable_AddressList.ValidateAll() if the designated constraints aren't met.
func (DnsTable_AddressListMultiError) AllErrors ¶
func (m DnsTable_AddressListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DnsTable_AddressListMultiError) Error ¶
func (m DnsTable_AddressListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DnsTable_AddressListValidationError ¶
type DnsTable_AddressListValidationError struct {
// contains filtered or unexported fields
}
DnsTable_AddressListValidationError is the validation error returned by DnsTable_AddressList.Validate if the designated constraints aren't met.
func (DnsTable_AddressListValidationError) Cause ¶
func (e DnsTable_AddressListValidationError) Cause() error
Cause function returns cause value.
func (DnsTable_AddressListValidationError) Error ¶
func (e DnsTable_AddressListValidationError) Error() string
Error satisfies the builtin error interface
func (DnsTable_AddressListValidationError) ErrorName ¶
func (e DnsTable_AddressListValidationError) ErrorName() string
ErrorName returns error name.
func (DnsTable_AddressListValidationError) Field ¶
func (e DnsTable_AddressListValidationError) Field() string
Field function returns field value.
func (DnsTable_AddressListValidationError) Key ¶
func (e DnsTable_AddressListValidationError) Key() bool
Key function returns key value.
func (DnsTable_AddressListValidationError) Reason ¶
func (e DnsTable_AddressListValidationError) Reason() string
Reason function returns reason value.
type DnsTable_DnsEndpoint ¶
type DnsTable_DnsEndpoint struct { // Types that are assignable to EndpointConfig: // // *DnsTable_DnsEndpoint_AddressList // *DnsTable_DnsEndpoint_ClusterName // *DnsTable_DnsEndpoint_ServiceList EndpointConfig isDnsTable_DnsEndpoint_EndpointConfig `protobuf_oneof:"endpoint_config"` // contains filtered or unexported fields }
func (*DnsTable_DnsEndpoint) Descriptor
deprecated
func (*DnsTable_DnsEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use DnsTable_DnsEndpoint.ProtoReflect.Descriptor instead.
func (*DnsTable_DnsEndpoint) GetAddressList ¶
func (x *DnsTable_DnsEndpoint) GetAddressList() *DnsTable_AddressList
func (*DnsTable_DnsEndpoint) GetClusterName ¶
func (x *DnsTable_DnsEndpoint) GetClusterName() string
func (*DnsTable_DnsEndpoint) GetEndpointConfig ¶
func (m *DnsTable_DnsEndpoint) GetEndpointConfig() isDnsTable_DnsEndpoint_EndpointConfig
func (*DnsTable_DnsEndpoint) GetServiceList ¶
func (x *DnsTable_DnsEndpoint) GetServiceList() *DnsTable_DnsServiceList
func (*DnsTable_DnsEndpoint) ProtoMessage ¶
func (*DnsTable_DnsEndpoint) ProtoMessage()
func (*DnsTable_DnsEndpoint) ProtoReflect ¶
func (x *DnsTable_DnsEndpoint) ProtoReflect() protoreflect.Message
func (*DnsTable_DnsEndpoint) Reset ¶
func (x *DnsTable_DnsEndpoint) Reset()
func (*DnsTable_DnsEndpoint) String ¶
func (x *DnsTable_DnsEndpoint) String() string
func (*DnsTable_DnsEndpoint) Validate ¶
func (m *DnsTable_DnsEndpoint) Validate() error
Validate checks the field values on DnsTable_DnsEndpoint with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DnsTable_DnsEndpoint) ValidateAll ¶
func (m *DnsTable_DnsEndpoint) ValidateAll() error
ValidateAll checks the field values on DnsTable_DnsEndpoint with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DnsTable_DnsEndpointMultiError, or nil if none found.
type DnsTable_DnsEndpointMultiError ¶
type DnsTable_DnsEndpointMultiError []error
DnsTable_DnsEndpointMultiError is an error wrapping multiple validation errors returned by DnsTable_DnsEndpoint.ValidateAll() if the designated constraints aren't met.
func (DnsTable_DnsEndpointMultiError) AllErrors ¶
func (m DnsTable_DnsEndpointMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DnsTable_DnsEndpointMultiError) Error ¶
func (m DnsTable_DnsEndpointMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DnsTable_DnsEndpointValidationError ¶
type DnsTable_DnsEndpointValidationError struct {
// contains filtered or unexported fields
}
DnsTable_DnsEndpointValidationError is the validation error returned by DnsTable_DnsEndpoint.Validate if the designated constraints aren't met.
func (DnsTable_DnsEndpointValidationError) Cause ¶
func (e DnsTable_DnsEndpointValidationError) Cause() error
Cause function returns cause value.
func (DnsTable_DnsEndpointValidationError) Error ¶
func (e DnsTable_DnsEndpointValidationError) Error() string
Error satisfies the builtin error interface
func (DnsTable_DnsEndpointValidationError) ErrorName ¶
func (e DnsTable_DnsEndpointValidationError) ErrorName() string
ErrorName returns error name.
func (DnsTable_DnsEndpointValidationError) Field ¶
func (e DnsTable_DnsEndpointValidationError) Field() string
Field function returns field value.
func (DnsTable_DnsEndpointValidationError) Key ¶
func (e DnsTable_DnsEndpointValidationError) Key() bool
Key function returns key value.
func (DnsTable_DnsEndpointValidationError) Reason ¶
func (e DnsTable_DnsEndpointValidationError) Reason() string
Reason function returns reason value.
type DnsTable_DnsEndpoint_AddressList ¶
type DnsTable_DnsEndpoint_AddressList struct { // Define a list of addresses to return for the specified endpoint AddressList *DnsTable_AddressList `protobuf:"bytes,1,opt,name=address_list,json=addressList,proto3,oneof"` }
type DnsTable_DnsEndpoint_ClusterName ¶
type DnsTable_DnsEndpoint_ClusterName struct { // Define a cluster whose addresses are returned for the specified endpoint ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3,oneof"` }
type DnsTable_DnsEndpoint_ServiceList ¶
type DnsTable_DnsEndpoint_ServiceList struct { // Define a DNS Service List for the specified endpoint ServiceList *DnsTable_DnsServiceList `protobuf:"bytes,3,opt,name=service_list,json=serviceList,proto3,oneof"` }
type DnsTable_DnsService ¶
type DnsTable_DnsService struct { // The name of the service without the protocol or domain name ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // The service protocol. This can be specified as a string or the numeric value of the protocol Protocol *DnsTable_DnsServiceProtocol `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` // The service entry time to live. This is independent from the DNS Answer record TTL Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"` // The list of targets hosting the service Targets []*DnsTable_DnsServiceTarget `protobuf:"bytes,4,rep,name=targets,proto3" json:"targets,omitempty"` // contains filtered or unexported fields }
This message defines a service selection record returned for a service query in a domain
func (*DnsTable_DnsService) Descriptor
deprecated
func (*DnsTable_DnsService) Descriptor() ([]byte, []int)
Deprecated: Use DnsTable_DnsService.ProtoReflect.Descriptor instead.
func (*DnsTable_DnsService) GetProtocol ¶
func (x *DnsTable_DnsService) GetProtocol() *DnsTable_DnsServiceProtocol
func (*DnsTable_DnsService) GetServiceName ¶
func (x *DnsTable_DnsService) GetServiceName() string
func (*DnsTable_DnsService) GetTargets ¶
func (x *DnsTable_DnsService) GetTargets() []*DnsTable_DnsServiceTarget
func (*DnsTable_DnsService) GetTtl ¶
func (x *DnsTable_DnsService) GetTtl() *durationpb.Duration
func (*DnsTable_DnsService) ProtoMessage ¶
func (*DnsTable_DnsService) ProtoMessage()
func (*DnsTable_DnsService) ProtoReflect ¶
func (x *DnsTable_DnsService) ProtoReflect() protoreflect.Message
func (*DnsTable_DnsService) Reset ¶
func (x *DnsTable_DnsService) Reset()
func (*DnsTable_DnsService) String ¶
func (x *DnsTable_DnsService) String() string
func (*DnsTable_DnsService) Validate ¶
func (m *DnsTable_DnsService) Validate() error
Validate checks the field values on DnsTable_DnsService with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DnsTable_DnsService) ValidateAll ¶
func (m *DnsTable_DnsService) ValidateAll() error
ValidateAll checks the field values on DnsTable_DnsService with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DnsTable_DnsServiceMultiError, or nil if none found.
type DnsTable_DnsServiceList ¶
type DnsTable_DnsServiceList struct { Services []*DnsTable_DnsService `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` // contains filtered or unexported fields }
Define a list of service records for a given service
func (*DnsTable_DnsServiceList) Descriptor
deprecated
func (*DnsTable_DnsServiceList) Descriptor() ([]byte, []int)
Deprecated: Use DnsTable_DnsServiceList.ProtoReflect.Descriptor instead.
func (*DnsTable_DnsServiceList) GetServices ¶
func (x *DnsTable_DnsServiceList) GetServices() []*DnsTable_DnsService
func (*DnsTable_DnsServiceList) ProtoMessage ¶
func (*DnsTable_DnsServiceList) ProtoMessage()
func (*DnsTable_DnsServiceList) ProtoReflect ¶
func (x *DnsTable_DnsServiceList) ProtoReflect() protoreflect.Message
func (*DnsTable_DnsServiceList) Reset ¶
func (x *DnsTable_DnsServiceList) Reset()
func (*DnsTable_DnsServiceList) String ¶
func (x *DnsTable_DnsServiceList) String() string
func (*DnsTable_DnsServiceList) Validate ¶
func (m *DnsTable_DnsServiceList) Validate() error
Validate checks the field values on DnsTable_DnsServiceList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DnsTable_DnsServiceList) ValidateAll ¶
func (m *DnsTable_DnsServiceList) ValidateAll() error
ValidateAll checks the field values on DnsTable_DnsServiceList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DnsTable_DnsServiceListMultiError, or nil if none found.
type DnsTable_DnsServiceListMultiError ¶
type DnsTable_DnsServiceListMultiError []error
DnsTable_DnsServiceListMultiError is an error wrapping multiple validation errors returned by DnsTable_DnsServiceList.ValidateAll() if the designated constraints aren't met.
func (DnsTable_DnsServiceListMultiError) AllErrors ¶
func (m DnsTable_DnsServiceListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DnsTable_DnsServiceListMultiError) Error ¶
func (m DnsTable_DnsServiceListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DnsTable_DnsServiceListValidationError ¶
type DnsTable_DnsServiceListValidationError struct {
// contains filtered or unexported fields
}
DnsTable_DnsServiceListValidationError is the validation error returned by DnsTable_DnsServiceList.Validate if the designated constraints aren't met.
func (DnsTable_DnsServiceListValidationError) Cause ¶
func (e DnsTable_DnsServiceListValidationError) Cause() error
Cause function returns cause value.
func (DnsTable_DnsServiceListValidationError) Error ¶
func (e DnsTable_DnsServiceListValidationError) Error() string
Error satisfies the builtin error interface
func (DnsTable_DnsServiceListValidationError) ErrorName ¶
func (e DnsTable_DnsServiceListValidationError) ErrorName() string
ErrorName returns error name.
func (DnsTable_DnsServiceListValidationError) Field ¶
func (e DnsTable_DnsServiceListValidationError) Field() string
Field function returns field value.
func (DnsTable_DnsServiceListValidationError) Key ¶
func (e DnsTable_DnsServiceListValidationError) Key() bool
Key function returns key value.
func (DnsTable_DnsServiceListValidationError) Reason ¶
func (e DnsTable_DnsServiceListValidationError) Reason() string
Reason function returns reason value.
type DnsTable_DnsServiceMultiError ¶
type DnsTable_DnsServiceMultiError []error
DnsTable_DnsServiceMultiError is an error wrapping multiple validation errors returned by DnsTable_DnsService.ValidateAll() if the designated constraints aren't met.
func (DnsTable_DnsServiceMultiError) AllErrors ¶
func (m DnsTable_DnsServiceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DnsTable_DnsServiceMultiError) Error ¶
func (m DnsTable_DnsServiceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DnsTable_DnsServiceProtocol ¶
type DnsTable_DnsServiceProtocol struct { // Types that are assignable to ProtocolConfig: // // *DnsTable_DnsServiceProtocol_Number // *DnsTable_DnsServiceProtocol_Name ProtocolConfig isDnsTable_DnsServiceProtocol_ProtocolConfig `protobuf_oneof:"protocol_config"` // contains filtered or unexported fields }
Specify the service protocol using a numeric or string value
func (*DnsTable_DnsServiceProtocol) Descriptor
deprecated
func (*DnsTable_DnsServiceProtocol) Descriptor() ([]byte, []int)
Deprecated: Use DnsTable_DnsServiceProtocol.ProtoReflect.Descriptor instead.
func (*DnsTable_DnsServiceProtocol) GetName ¶
func (x *DnsTable_DnsServiceProtocol) GetName() string
func (*DnsTable_DnsServiceProtocol) GetNumber ¶
func (x *DnsTable_DnsServiceProtocol) GetNumber() uint32
func (*DnsTable_DnsServiceProtocol) GetProtocolConfig ¶
func (m *DnsTable_DnsServiceProtocol) GetProtocolConfig() isDnsTable_DnsServiceProtocol_ProtocolConfig
func (*DnsTable_DnsServiceProtocol) ProtoMessage ¶
func (*DnsTable_DnsServiceProtocol) ProtoMessage()
func (*DnsTable_DnsServiceProtocol) ProtoReflect ¶
func (x *DnsTable_DnsServiceProtocol) ProtoReflect() protoreflect.Message
func (*DnsTable_DnsServiceProtocol) Reset ¶
func (x *DnsTable_DnsServiceProtocol) Reset()
func (*DnsTable_DnsServiceProtocol) String ¶
func (x *DnsTable_DnsServiceProtocol) String() string
func (*DnsTable_DnsServiceProtocol) Validate ¶
func (m *DnsTable_DnsServiceProtocol) Validate() error
Validate checks the field values on DnsTable_DnsServiceProtocol with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DnsTable_DnsServiceProtocol) ValidateAll ¶
func (m *DnsTable_DnsServiceProtocol) ValidateAll() error
ValidateAll checks the field values on DnsTable_DnsServiceProtocol with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DnsTable_DnsServiceProtocolMultiError, or nil if none found.
type DnsTable_DnsServiceProtocolMultiError ¶
type DnsTable_DnsServiceProtocolMultiError []error
DnsTable_DnsServiceProtocolMultiError is an error wrapping multiple validation errors returned by DnsTable_DnsServiceProtocol.ValidateAll() if the designated constraints aren't met.
func (DnsTable_DnsServiceProtocolMultiError) AllErrors ¶
func (m DnsTable_DnsServiceProtocolMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DnsTable_DnsServiceProtocolMultiError) Error ¶
func (m DnsTable_DnsServiceProtocolMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DnsTable_DnsServiceProtocolValidationError ¶
type DnsTable_DnsServiceProtocolValidationError struct {
// contains filtered or unexported fields
}
DnsTable_DnsServiceProtocolValidationError is the validation error returned by DnsTable_DnsServiceProtocol.Validate if the designated constraints aren't met.
func (DnsTable_DnsServiceProtocolValidationError) Cause ¶
func (e DnsTable_DnsServiceProtocolValidationError) Cause() error
Cause function returns cause value.
func (DnsTable_DnsServiceProtocolValidationError) Error ¶
func (e DnsTable_DnsServiceProtocolValidationError) Error() string
Error satisfies the builtin error interface
func (DnsTable_DnsServiceProtocolValidationError) ErrorName ¶
func (e DnsTable_DnsServiceProtocolValidationError) ErrorName() string
ErrorName returns error name.
func (DnsTable_DnsServiceProtocolValidationError) Field ¶
func (e DnsTable_DnsServiceProtocolValidationError) Field() string
Field function returns field value.
func (DnsTable_DnsServiceProtocolValidationError) Key ¶
func (e DnsTable_DnsServiceProtocolValidationError) Key() bool
Key function returns key value.
func (DnsTable_DnsServiceProtocolValidationError) Reason ¶
func (e DnsTable_DnsServiceProtocolValidationError) Reason() string
Reason function returns reason value.
type DnsTable_DnsServiceProtocol_Name ¶
type DnsTable_DnsServiceProtocol_Name struct { // Specify the protocol name for the service. Name string `protobuf:"bytes,2,opt,name=name,proto3,oneof"` }
type DnsTable_DnsServiceProtocol_Number ¶
type DnsTable_DnsServiceProtocol_Number struct { // Specify the protocol number for the service. Envoy will try to resolve the number to // the protocol name. For example, 6 will resolve to "tcp". Refer to: // https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml // for protocol names and numbers Number uint32 `protobuf:"varint,1,opt,name=number,proto3,oneof"` }
type DnsTable_DnsServiceTarget ¶
type DnsTable_DnsServiceTarget struct { // Specify the name of the endpoint for the Service. The name is a hostname or a cluster // // Types that are assignable to EndpointType: // // *DnsTable_DnsServiceTarget_HostName // *DnsTable_DnsServiceTarget_ClusterName EndpointType isDnsTable_DnsServiceTarget_EndpointType `protobuf_oneof:"endpoint_type"` // The priority of the service record target Priority uint32 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"` // The weight of the service record target Weight uint32 `protobuf:"varint,4,opt,name=weight,proto3" json:"weight,omitempty"` // The port to which the service is bound. This value is optional if the target is a // cluster. Setting port to zero in this case makes the filter use the port value // from the cluster host Port uint32 `protobuf:"varint,5,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
Specify the target for a given DNS service [#next-free-field: 6]
func (*DnsTable_DnsServiceTarget) Descriptor
deprecated
func (*DnsTable_DnsServiceTarget) Descriptor() ([]byte, []int)
Deprecated: Use DnsTable_DnsServiceTarget.ProtoReflect.Descriptor instead.
func (*DnsTable_DnsServiceTarget) GetClusterName ¶
func (x *DnsTable_DnsServiceTarget) GetClusterName() string
func (*DnsTable_DnsServiceTarget) GetEndpointType ¶
func (m *DnsTable_DnsServiceTarget) GetEndpointType() isDnsTable_DnsServiceTarget_EndpointType
func (*DnsTable_DnsServiceTarget) GetHostName ¶
func (x *DnsTable_DnsServiceTarget) GetHostName() string
func (*DnsTable_DnsServiceTarget) GetPort ¶
func (x *DnsTable_DnsServiceTarget) GetPort() uint32
func (*DnsTable_DnsServiceTarget) GetPriority ¶
func (x *DnsTable_DnsServiceTarget) GetPriority() uint32
func (*DnsTable_DnsServiceTarget) GetWeight ¶
func (x *DnsTable_DnsServiceTarget) GetWeight() uint32
func (*DnsTable_DnsServiceTarget) ProtoMessage ¶
func (*DnsTable_DnsServiceTarget) ProtoMessage()
func (*DnsTable_DnsServiceTarget) ProtoReflect ¶
func (x *DnsTable_DnsServiceTarget) ProtoReflect() protoreflect.Message
func (*DnsTable_DnsServiceTarget) Reset ¶
func (x *DnsTable_DnsServiceTarget) Reset()
func (*DnsTable_DnsServiceTarget) String ¶
func (x *DnsTable_DnsServiceTarget) String() string
func (*DnsTable_DnsServiceTarget) Validate ¶
func (m *DnsTable_DnsServiceTarget) Validate() error
Validate checks the field values on DnsTable_DnsServiceTarget with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DnsTable_DnsServiceTarget) ValidateAll ¶
func (m *DnsTable_DnsServiceTarget) ValidateAll() error
ValidateAll checks the field values on DnsTable_DnsServiceTarget with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DnsTable_DnsServiceTargetMultiError, or nil if none found.
type DnsTable_DnsServiceTargetMultiError ¶
type DnsTable_DnsServiceTargetMultiError []error
DnsTable_DnsServiceTargetMultiError is an error wrapping multiple validation errors returned by DnsTable_DnsServiceTarget.ValidateAll() if the designated constraints aren't met.
func (DnsTable_DnsServiceTargetMultiError) AllErrors ¶
func (m DnsTable_DnsServiceTargetMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DnsTable_DnsServiceTargetMultiError) Error ¶
func (m DnsTable_DnsServiceTargetMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DnsTable_DnsServiceTargetValidationError ¶
type DnsTable_DnsServiceTargetValidationError struct {
// contains filtered or unexported fields
}
DnsTable_DnsServiceTargetValidationError is the validation error returned by DnsTable_DnsServiceTarget.Validate if the designated constraints aren't met.
func (DnsTable_DnsServiceTargetValidationError) Cause ¶
func (e DnsTable_DnsServiceTargetValidationError) Cause() error
Cause function returns cause value.
func (DnsTable_DnsServiceTargetValidationError) Error ¶
func (e DnsTable_DnsServiceTargetValidationError) Error() string
Error satisfies the builtin error interface
func (DnsTable_DnsServiceTargetValidationError) ErrorName ¶
func (e DnsTable_DnsServiceTargetValidationError) ErrorName() string
ErrorName returns error name.
func (DnsTable_DnsServiceTargetValidationError) Field ¶
func (e DnsTable_DnsServiceTargetValidationError) Field() string
Field function returns field value.
func (DnsTable_DnsServiceTargetValidationError) Key ¶
func (e DnsTable_DnsServiceTargetValidationError) Key() bool
Key function returns key value.
func (DnsTable_DnsServiceTargetValidationError) Reason ¶
func (e DnsTable_DnsServiceTargetValidationError) Reason() string
Reason function returns reason value.
type DnsTable_DnsServiceTarget_ClusterName ¶
type DnsTable_DnsServiceTarget_ClusterName struct { // Use a cluster name as the endpoint for a service. ClusterName string `protobuf:"bytes,2,opt,name=cluster_name,json=clusterName,proto3,oneof"` }
type DnsTable_DnsServiceTarget_HostName ¶
type DnsTable_DnsServiceTarget_HostName struct { // Use a resolvable hostname as the endpoint for a service. HostName string `protobuf:"bytes,1,opt,name=host_name,json=hostName,proto3,oneof"` }
type DnsTable_DnsServiceValidationError ¶
type DnsTable_DnsServiceValidationError struct {
// contains filtered or unexported fields
}
DnsTable_DnsServiceValidationError is the validation error returned by DnsTable_DnsService.Validate if the designated constraints aren't met.
func (DnsTable_DnsServiceValidationError) Cause ¶
func (e DnsTable_DnsServiceValidationError) Cause() error
Cause function returns cause value.
func (DnsTable_DnsServiceValidationError) Error ¶
func (e DnsTable_DnsServiceValidationError) Error() string
Error satisfies the builtin error interface
func (DnsTable_DnsServiceValidationError) ErrorName ¶
func (e DnsTable_DnsServiceValidationError) ErrorName() string
ErrorName returns error name.
func (DnsTable_DnsServiceValidationError) Field ¶
func (e DnsTable_DnsServiceValidationError) Field() string
Field function returns field value.
func (DnsTable_DnsServiceValidationError) Key ¶
func (e DnsTable_DnsServiceValidationError) Key() bool
Key function returns key value.
func (DnsTable_DnsServiceValidationError) Reason ¶
func (e DnsTable_DnsServiceValidationError) Reason() string
Reason function returns reason value.
type DnsTable_DnsVirtualDomain ¶
type DnsTable_DnsVirtualDomain struct { // A domain name for which Envoy will respond to query requests Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The configuration containing the method to determine the address of this endpoint Endpoint *DnsTable_DnsEndpoint `protobuf:"bytes,2,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Sets the TTL in DNS answers from Envoy returned to the client. The default TTL is 300s AnswerTtl *durationpb.Duration `protobuf:"bytes,3,opt,name=answer_ttl,json=answerTtl,proto3" json:"answer_ttl,omitempty"` // contains filtered or unexported fields }
func (*DnsTable_DnsVirtualDomain) Descriptor
deprecated
func (*DnsTable_DnsVirtualDomain) Descriptor() ([]byte, []int)
Deprecated: Use DnsTable_DnsVirtualDomain.ProtoReflect.Descriptor instead.
func (*DnsTable_DnsVirtualDomain) GetAnswerTtl ¶
func (x *DnsTable_DnsVirtualDomain) GetAnswerTtl() *durationpb.Duration
func (*DnsTable_DnsVirtualDomain) GetEndpoint ¶
func (x *DnsTable_DnsVirtualDomain) GetEndpoint() *DnsTable_DnsEndpoint
func (*DnsTable_DnsVirtualDomain) GetName ¶
func (x *DnsTable_DnsVirtualDomain) GetName() string
func (*DnsTable_DnsVirtualDomain) ProtoMessage ¶
func (*DnsTable_DnsVirtualDomain) ProtoMessage()
func (*DnsTable_DnsVirtualDomain) ProtoReflect ¶
func (x *DnsTable_DnsVirtualDomain) ProtoReflect() protoreflect.Message
func (*DnsTable_DnsVirtualDomain) Reset ¶
func (x *DnsTable_DnsVirtualDomain) Reset()
func (*DnsTable_DnsVirtualDomain) String ¶
func (x *DnsTable_DnsVirtualDomain) String() string
func (*DnsTable_DnsVirtualDomain) Validate ¶
func (m *DnsTable_DnsVirtualDomain) Validate() error
Validate checks the field values on DnsTable_DnsVirtualDomain with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DnsTable_DnsVirtualDomain) ValidateAll ¶
func (m *DnsTable_DnsVirtualDomain) ValidateAll() error
ValidateAll checks the field values on DnsTable_DnsVirtualDomain with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DnsTable_DnsVirtualDomainMultiError, or nil if none found.
type DnsTable_DnsVirtualDomainMultiError ¶
type DnsTable_DnsVirtualDomainMultiError []error
DnsTable_DnsVirtualDomainMultiError is an error wrapping multiple validation errors returned by DnsTable_DnsVirtualDomain.ValidateAll() if the designated constraints aren't met.
func (DnsTable_DnsVirtualDomainMultiError) AllErrors ¶
func (m DnsTable_DnsVirtualDomainMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DnsTable_DnsVirtualDomainMultiError) Error ¶
func (m DnsTable_DnsVirtualDomainMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DnsTable_DnsVirtualDomainValidationError ¶
type DnsTable_DnsVirtualDomainValidationError struct {
// contains filtered or unexported fields
}
DnsTable_DnsVirtualDomainValidationError is the validation error returned by DnsTable_DnsVirtualDomain.Validate if the designated constraints aren't met.
func (DnsTable_DnsVirtualDomainValidationError) Cause ¶
func (e DnsTable_DnsVirtualDomainValidationError) Cause() error
Cause function returns cause value.
func (DnsTable_DnsVirtualDomainValidationError) Error ¶
func (e DnsTable_DnsVirtualDomainValidationError) Error() string
Error satisfies the builtin error interface
func (DnsTable_DnsVirtualDomainValidationError) ErrorName ¶
func (e DnsTable_DnsVirtualDomainValidationError) ErrorName() string
ErrorName returns error name.
func (DnsTable_DnsVirtualDomainValidationError) Field ¶
func (e DnsTable_DnsVirtualDomainValidationError) Field() string
Field function returns field value.
func (DnsTable_DnsVirtualDomainValidationError) Key ¶
func (e DnsTable_DnsVirtualDomainValidationError) Key() bool
Key function returns key value.
func (DnsTable_DnsVirtualDomainValidationError) Reason ¶
func (e DnsTable_DnsVirtualDomainValidationError) Reason() string
Reason function returns reason value.