envoy_extensions_filters_udp_dns_filter_v3alpha

package
Version: v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 21 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_filters_udp_dns_filter_v3alpha_dns_filter_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DnsFilterConfig

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 deprecated

This method has been deprecated.
func (*DnsFilterConfig) Descriptor() ([]byte, []int)

Deprecated: Use DnsFilterConfig.ProtoReflect.Descriptor instead.

func (*DnsFilterConfig) GetClientConfig

func (*DnsFilterConfig) GetServerConfig

func (*DnsFilterConfig) GetStatPrefix

func (x *DnsFilterConfig) GetStatPrefix() string

func (*DnsFilterConfig) ProtoMessage

func (*DnsFilterConfig) ProtoMessage()

func (*DnsFilterConfig) ProtoReflect

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

func (*DnsFilterConfig) Reset

func (x *DnsFilterConfig) Reset()

func (*DnsFilterConfig) String

func (x *DnsFilterConfig) String() string

func (*DnsFilterConfig) Validate

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

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 (DnsFilterConfigValidationError) Cause

Cause function returns cause value.

func (DnsFilterConfigValidationError) Error

Error satisfies the builtin error interface

func (DnsFilterConfigValidationError) ErrorName

func (e DnsFilterConfigValidationError) ErrorName() string

ErrorName returns error name.

func (DnsFilterConfigValidationError) Field

Field function returns field value.

func (DnsFilterConfigValidationError) Key

Key function returns key value.

func (DnsFilterConfigValidationError) Reason

Reason function returns reason value.

type DnsFilterConfig_ClientContextConfig

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 deprecated

This method has been deprecated.
func (*DnsFilterConfig_ClientContextConfig) Descriptor() ([]byte, []int)

Deprecated: Use DnsFilterConfig_ClientContextConfig.ProtoReflect.Descriptor instead.

func (*DnsFilterConfig_ClientContextConfig) GetMaxPendingLookups

func (x *DnsFilterConfig_ClientContextConfig) GetMaxPendingLookups() uint64

func (*DnsFilterConfig_ClientContextConfig) GetResolverTimeout

func (x *DnsFilterConfig_ClientContextConfig) GetResolverTimeout() *duration.Duration

func (*DnsFilterConfig_ClientContextConfig) GetUpstreamResolvers

func (x *DnsFilterConfig_ClientContextConfig) GetUpstreamResolvers() []*v31.Address

func (*DnsFilterConfig_ClientContextConfig) ProtoMessage

func (*DnsFilterConfig_ClientContextConfig) ProtoMessage()

func (*DnsFilterConfig_ClientContextConfig) ProtoReflect

func (*DnsFilterConfig_ClientContextConfig) Reset

func (*DnsFilterConfig_ClientContextConfig) String

func (*DnsFilterConfig_ClientContextConfig) Validate

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

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 (DnsFilterConfig_ClientContextConfigValidationError) Cause

Cause function returns cause value.

func (DnsFilterConfig_ClientContextConfigValidationError) Error

Error satisfies the builtin error interface

func (DnsFilterConfig_ClientContextConfigValidationError) ErrorName

ErrorName returns error name.

func (DnsFilterConfig_ClientContextConfigValidationError) Field

Field function returns field value.

func (DnsFilterConfig_ClientContextConfigValidationError) Key

Key function returns key value.

func (DnsFilterConfig_ClientContextConfigValidationError) Reason

Reason function returns reason value.

type DnsFilterConfig_ServerContextConfig

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 deprecated

This method has been deprecated.
func (*DnsFilterConfig_ServerContextConfig) Descriptor() ([]byte, []int)

Deprecated: Use DnsFilterConfig_ServerContextConfig.ProtoReflect.Descriptor instead.

func (*DnsFilterConfig_ServerContextConfig) GetConfigSource

func (m *DnsFilterConfig_ServerContextConfig) GetConfigSource() isDnsFilterConfig_ServerContextConfig_ConfigSource

func (*DnsFilterConfig_ServerContextConfig) GetExternalDnsTable

func (x *DnsFilterConfig_ServerContextConfig) GetExternalDnsTable() *v31.DataSource

func (*DnsFilterConfig_ServerContextConfig) GetInlineDnsTable

func (x *DnsFilterConfig_ServerContextConfig) GetInlineDnsTable() *v3.DnsTable

func (*DnsFilterConfig_ServerContextConfig) ProtoMessage

func (*DnsFilterConfig_ServerContextConfig) ProtoMessage()

func (*DnsFilterConfig_ServerContextConfig) ProtoReflect

func (*DnsFilterConfig_ServerContextConfig) Reset

func (*DnsFilterConfig_ServerContextConfig) String

func (*DnsFilterConfig_ServerContextConfig) Validate

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

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 (DnsFilterConfig_ServerContextConfigValidationError) Cause

Cause function returns cause value.

func (DnsFilterConfig_ServerContextConfigValidationError) Error

Error satisfies the builtin error interface

func (DnsFilterConfig_ServerContextConfigValidationError) ErrorName

ErrorName returns error name.

func (DnsFilterConfig_ServerContextConfigValidationError) Field

Field function returns field value.

func (DnsFilterConfig_ServerContextConfigValidationError) Key

Key function returns key value.

func (DnsFilterConfig_ServerContextConfigValidationError) Reason

Reason function returns reason value.

type DnsFilterConfig_ServerContextConfig_ExternalDnsTable

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

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto