import "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/udp/dns_filter/v3alpha"
dns_filter.pb.go dns_filter.pb.validate.go
var File_envoy_extensions_filters_udp_dns_filter_v3alpha_dns_filter_proto protoreflect.FileDescriptor
type DnsFilterConfig struct { // The stat prefix used when emitting DNS filter statistics StatPrefix string `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"` // Server context configuration contains the data that the filter uses to respond // to DNS requests. ServerConfig *DnsFilterConfig_ServerContextConfig `protobuf:"bytes,2,opt,name=server_config,json=serverConfig,proto3" json:"server_config,omitempty"` // Client context configuration controls Envoy's behavior when it must use external // resolvers to answer a query. This object is optional and if omitted instructs // the filter to resolve queries from the data in the server_config ClientConfig *DnsFilterConfig_ClientContextConfig `protobuf:"bytes,3,opt,name=client_config,json=clientConfig,proto3" json:"client_config,omitempty"` // contains filtered or unexported fields }
Configuration for the DNS filter.
func (*DnsFilterConfig) Descriptor() ([]byte, []int)
Deprecated: Use DnsFilterConfig.ProtoReflect.Descriptor instead.
func (x *DnsFilterConfig) GetClientConfig() *DnsFilterConfig_ClientContextConfig
func (x *DnsFilterConfig) GetServerConfig() *DnsFilterConfig_ServerContextConfig
func (x *DnsFilterConfig) GetStatPrefix() string
func (*DnsFilterConfig) ProtoMessage()
func (x *DnsFilterConfig) ProtoReflect() protoreflect.Message
func (x *DnsFilterConfig) Reset()
func (x *DnsFilterConfig) String() string
func (m *DnsFilterConfig) Validate() error
Validate checks the field values on DnsFilterConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DnsFilterConfigValidationError struct {
// contains filtered or unexported fields
}
DnsFilterConfigValidationError is the validation error returned by DnsFilterConfig.Validate if the designated constraints aren't met.
func (e DnsFilterConfigValidationError) Cause() error
Cause function returns cause value.
func (e DnsFilterConfigValidationError) Error() string
Error satisfies the builtin error interface
func (e DnsFilterConfigValidationError) ErrorName() string
ErrorName returns error name.
func (e DnsFilterConfigValidationError) Field() string
Field function returns field value.
func (e DnsFilterConfigValidationError) Key() bool
Key function returns key value.
func (e DnsFilterConfigValidationError) Reason() string
Reason function returns reason value.
type DnsFilterConfig_ClientContextConfig struct { // Sets the maximum time we will wait for the upstream query to complete // We allow 5s for the upstream resolution to complete, so the minimum // value here is 1. Note that the total latency for a failed query is the // number of retries multiplied by the resolver_timeout. ResolverTimeout *duration.Duration `protobuf:"bytes,1,opt,name=resolver_timeout,json=resolverTimeout,proto3" json:"resolver_timeout,omitempty"` // A list of DNS servers to which we can forward queries. If not // specified, Envoy will use the ambient DNS resolvers in the // system. UpstreamResolvers []*v31.Address `protobuf:"bytes,2,rep,name=upstream_resolvers,json=upstreamResolvers,proto3" json:"upstream_resolvers,omitempty"` // Controls how many outstanding external lookup contexts the filter tracks. // The context structure allows the filter to respond to every query even if the external // resolution times out or is otherwise unsuccessful MaxPendingLookups uint64 `protobuf:"varint,3,opt,name=max_pending_lookups,json=maxPendingLookups,proto3" json:"max_pending_lookups,omitempty"` // contains filtered or unexported fields }
This message contains the configuration for the DNS Filter operating in a client context. This message will contain the timeouts, retry, and forwarding configuration for Envoy to make DNS requests to other resolvers
func (*DnsFilterConfig_ClientContextConfig) Descriptor() ([]byte, []int)
Deprecated: Use DnsFilterConfig_ClientContextConfig.ProtoReflect.Descriptor instead.
func (x *DnsFilterConfig_ClientContextConfig) GetMaxPendingLookups() uint64
func (x *DnsFilterConfig_ClientContextConfig) GetResolverTimeout() *duration.Duration
func (x *DnsFilterConfig_ClientContextConfig) GetUpstreamResolvers() []*v31.Address
func (*DnsFilterConfig_ClientContextConfig) ProtoMessage()
func (x *DnsFilterConfig_ClientContextConfig) ProtoReflect() protoreflect.Message
func (x *DnsFilterConfig_ClientContextConfig) Reset()
func (x *DnsFilterConfig_ClientContextConfig) String() string
func (m *DnsFilterConfig_ClientContextConfig) Validate() error
Validate checks the field values on DnsFilterConfig_ClientContextConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DnsFilterConfig_ClientContextConfigValidationError struct {
// contains filtered or unexported fields
}
DnsFilterConfig_ClientContextConfigValidationError is the validation error returned by DnsFilterConfig_ClientContextConfig.Validate if the designated constraints aren't met.
func (e DnsFilterConfig_ClientContextConfigValidationError) Cause() error
Cause function returns cause value.
func (e DnsFilterConfig_ClientContextConfigValidationError) Error() string
Error satisfies the builtin error interface
func (e DnsFilterConfig_ClientContextConfigValidationError) ErrorName() string
ErrorName returns error name.
func (e DnsFilterConfig_ClientContextConfigValidationError) Field() string
Field function returns field value.
func (e DnsFilterConfig_ClientContextConfigValidationError) Key() bool
Key function returns key value.
func (e DnsFilterConfig_ClientContextConfigValidationError) Reason() string
Reason function returns reason value.
type DnsFilterConfig_ServerContextConfig struct { // Types that are assignable to ConfigSource: // *DnsFilterConfig_ServerContextConfig_InlineDnsTable // *DnsFilterConfig_ServerContextConfig_ExternalDnsTable ConfigSource isDnsFilterConfig_ServerContextConfig_ConfigSource `protobuf_oneof:"config_source"` // contains filtered or unexported fields }
This message contains the configuration for the DNS Filter operating in a server context. This message will contain the virtual hosts and associated addresses with which Envoy will respond to queries
func (*DnsFilterConfig_ServerContextConfig) Descriptor() ([]byte, []int)
Deprecated: Use DnsFilterConfig_ServerContextConfig.ProtoReflect.Descriptor instead.
func (m *DnsFilterConfig_ServerContextConfig) GetConfigSource() isDnsFilterConfig_ServerContextConfig_ConfigSource
func (x *DnsFilterConfig_ServerContextConfig) GetExternalDnsTable() *v31.DataSource
func (x *DnsFilterConfig_ServerContextConfig) GetInlineDnsTable() *v3.DnsTable
func (*DnsFilterConfig_ServerContextConfig) ProtoMessage()
func (x *DnsFilterConfig_ServerContextConfig) ProtoReflect() protoreflect.Message
func (x *DnsFilterConfig_ServerContextConfig) Reset()
func (x *DnsFilterConfig_ServerContextConfig) String() string
func (m *DnsFilterConfig_ServerContextConfig) Validate() error
Validate checks the field values on DnsFilterConfig_ServerContextConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DnsFilterConfig_ServerContextConfigValidationError struct {
// contains filtered or unexported fields
}
DnsFilterConfig_ServerContextConfigValidationError is the validation error returned by DnsFilterConfig_ServerContextConfig.Validate if the designated constraints aren't met.
func (e DnsFilterConfig_ServerContextConfigValidationError) Cause() error
Cause function returns cause value.
func (e DnsFilterConfig_ServerContextConfigValidationError) Error() string
Error satisfies the builtin error interface
func (e DnsFilterConfig_ServerContextConfigValidationError) ErrorName() string
ErrorName returns error name.
func (e DnsFilterConfig_ServerContextConfigValidationError) Field() string
Field function returns field value.
func (e DnsFilterConfig_ServerContextConfigValidationError) Key() bool
Key function returns key value.
func (e DnsFilterConfig_ServerContextConfigValidationError) Reason() string
Reason function returns reason value.
type DnsFilterConfig_ServerContextConfig_ExternalDnsTable struct { // Seed the filter configuration from an external path. This source // is a yaml formatted file that contains the DnsTable driving Envoy's // responses to DNS queries ExternalDnsTable *v31.DataSource `protobuf:"bytes,2,opt,name=external_dns_table,json=externalDnsTable,proto3,oneof"` }
type DnsFilterConfig_ServerContextConfig_InlineDnsTable struct { // Load the configuration specified from the control plane InlineDnsTable *v3.DnsTable `protobuf:"bytes,1,opt,name=inline_dns_table,json=inlineDnsTable,proto3,oneof"` }
Package envoy_extensions_filters_udp_dns_filter_v3alpha imports 21 packages (graph) and is imported by 6 packages. Updated 2021-01-07. Refresh now. Tools for package owners.