go-control-plane: github.com/envoyproxy/go-control-plane/envoy/extensions/filters/udp/dns_filter/v3alpha Index | Files

package envoy_extensions_filters_udp_dns_filter_v3alpha

import "github.com/envoyproxy/go-control-plane/envoy/extensions/filters/udp/dns_filter/v3alpha"

Index

Package Files

dns_filter.pb.go dns_filter.pb.validate.go

Variables

var File_envoy_extensions_filters_udp_dns_filter_v3alpha_dns_filter_proto protoreflect.FileDescriptor

type DnsFilterConfig Uses

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 Uses

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

Deprecated: Use DnsFilterConfig.ProtoReflect.Descriptor instead.

func (*DnsFilterConfig) GetClientConfig Uses

func (x *DnsFilterConfig) GetClientConfig() *DnsFilterConfig_ClientContextConfig

func (*DnsFilterConfig) GetServerConfig Uses

func (x *DnsFilterConfig) GetServerConfig() *DnsFilterConfig_ServerContextConfig

func (*DnsFilterConfig) GetStatPrefix Uses

func (x *DnsFilterConfig) GetStatPrefix() string

func (*DnsFilterConfig) ProtoMessage Uses

func (*DnsFilterConfig) ProtoMessage()

func (*DnsFilterConfig) ProtoReflect Uses

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

func (*DnsFilterConfig) Reset Uses

func (x *DnsFilterConfig) Reset()

func (*DnsFilterConfig) String Uses

func (x *DnsFilterConfig) String() string

func (*DnsFilterConfig) Validate Uses

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 Uses

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 Uses

func (e DnsFilterConfigValidationError) Cause() error

Cause function returns cause value.

func (DnsFilterConfigValidationError) Error Uses

func (e DnsFilterConfigValidationError) Error() string

Error satisfies the builtin error interface

func (DnsFilterConfigValidationError) ErrorName Uses

func (e DnsFilterConfigValidationError) ErrorName() string

ErrorName returns error name.

func (DnsFilterConfigValidationError) Field Uses

func (e DnsFilterConfigValidationError) Field() string

Field function returns field value.

func (DnsFilterConfigValidationError) Key Uses

func (e DnsFilterConfigValidationError) Key() bool

Key function returns key value.

func (DnsFilterConfigValidationError) Reason Uses

func (e DnsFilterConfigValidationError) Reason() string

Reason function returns reason value.

type DnsFilterConfig_ClientContextConfig Uses

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 Uses

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

Deprecated: Use DnsFilterConfig_ClientContextConfig.ProtoReflect.Descriptor instead.

func (*DnsFilterConfig_ClientContextConfig) GetMaxPendingLookups Uses

func (x *DnsFilterConfig_ClientContextConfig) GetMaxPendingLookups() uint64

func (*DnsFilterConfig_ClientContextConfig) GetResolverTimeout Uses

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

func (*DnsFilterConfig_ClientContextConfig) GetUpstreamResolvers Uses

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

func (*DnsFilterConfig_ClientContextConfig) ProtoMessage Uses

func (*DnsFilterConfig_ClientContextConfig) ProtoMessage()

func (*DnsFilterConfig_ClientContextConfig) ProtoReflect Uses

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

func (*DnsFilterConfig_ClientContextConfig) Reset Uses

func (x *DnsFilterConfig_ClientContextConfig) Reset()

func (*DnsFilterConfig_ClientContextConfig) String Uses

func (x *DnsFilterConfig_ClientContextConfig) String() string

func (*DnsFilterConfig_ClientContextConfig) Validate Uses

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 Uses

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 Uses

func (e DnsFilterConfig_ClientContextConfigValidationError) Cause() error

Cause function returns cause value.

func (DnsFilterConfig_ClientContextConfigValidationError) Error Uses

func (e DnsFilterConfig_ClientContextConfigValidationError) Error() string

Error satisfies the builtin error interface

func (DnsFilterConfig_ClientContextConfigValidationError) ErrorName Uses

func (e DnsFilterConfig_ClientContextConfigValidationError) ErrorName() string

ErrorName returns error name.

func (DnsFilterConfig_ClientContextConfigValidationError) Field Uses

func (e DnsFilterConfig_ClientContextConfigValidationError) Field() string

Field function returns field value.

func (DnsFilterConfig_ClientContextConfigValidationError) Key Uses

func (e DnsFilterConfig_ClientContextConfigValidationError) Key() bool

Key function returns key value.

func (DnsFilterConfig_ClientContextConfigValidationError) Reason Uses

func (e DnsFilterConfig_ClientContextConfigValidationError) Reason() string

Reason function returns reason value.

type DnsFilterConfig_ServerContextConfig Uses

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 Uses

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

Deprecated: Use DnsFilterConfig_ServerContextConfig.ProtoReflect.Descriptor instead.

func (*DnsFilterConfig_ServerContextConfig) GetConfigSource Uses

func (m *DnsFilterConfig_ServerContextConfig) GetConfigSource() isDnsFilterConfig_ServerContextConfig_ConfigSource

func (*DnsFilterConfig_ServerContextConfig) GetExternalDnsTable Uses

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

func (*DnsFilterConfig_ServerContextConfig) GetInlineDnsTable Uses

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

func (*DnsFilterConfig_ServerContextConfig) ProtoMessage Uses

func (*DnsFilterConfig_ServerContextConfig) ProtoMessage()

func (*DnsFilterConfig_ServerContextConfig) ProtoReflect Uses

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

func (*DnsFilterConfig_ServerContextConfig) Reset Uses

func (x *DnsFilterConfig_ServerContextConfig) Reset()

func (*DnsFilterConfig_ServerContextConfig) String Uses

func (x *DnsFilterConfig_ServerContextConfig) String() string

func (*DnsFilterConfig_ServerContextConfig) Validate Uses

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 Uses

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 Uses

func (e DnsFilterConfig_ServerContextConfigValidationError) Cause() error

Cause function returns cause value.

func (DnsFilterConfig_ServerContextConfigValidationError) Error Uses

func (e DnsFilterConfig_ServerContextConfigValidationError) Error() string

Error satisfies the builtin error interface

func (DnsFilterConfig_ServerContextConfigValidationError) ErrorName Uses

func (e DnsFilterConfig_ServerContextConfigValidationError) ErrorName() string

ErrorName returns error name.

func (DnsFilterConfig_ServerContextConfigValidationError) Field Uses

func (e DnsFilterConfig_ServerContextConfigValidationError) Field() string

Field function returns field value.

func (DnsFilterConfig_ServerContextConfigValidationError) Key Uses

func (e DnsFilterConfig_ServerContextConfigValidationError) Key() bool

Key function returns key value.

func (DnsFilterConfig_ServerContextConfigValidationError) Reason Uses

func (e DnsFilterConfig_ServerContextConfigValidationError) Reason() string

Reason function returns reason value.

type DnsFilterConfig_ServerContextConfig_ExternalDnsTable Uses

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 Uses

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.