go-control-plane: github.com/envoyproxy/go-control-plane/envoy/data/dns/v2alpha Index | Files

package envoy_data_dns_v2alpha

import "github.com/envoyproxy/go-control-plane/envoy/data/dns/v2alpha"

Index

Package Files

dns_table.pb.go dns_table.pb.validate.go

Variables

var File_envoy_data_dns_v2alpha_dns_table_proto protoreflect.FileDescriptor

type DnsTable Uses

type DnsTable struct {

    // Control how many times envoy makes an attempt to forward a query to
    // an external 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 queries
    VirtualDomains []*DnsTable_DnsVirtualDomain `protobuf:"bytes,2,rep,name=virtual_domains,json=virtualDomains,proto3" json:"virtual_domains,omitempty"`
    // 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
    KnownSuffixes []*matcher.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 Uses

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

Deprecated: Use DnsTable.ProtoReflect.Descriptor instead.

func (*DnsTable) GetExternalRetryCount Uses

func (x *DnsTable) GetExternalRetryCount() uint32

func (*DnsTable) GetKnownSuffixes Uses

func (x *DnsTable) GetKnownSuffixes() []*matcher.StringMatcher

func (*DnsTable) GetVirtualDomains Uses

func (x *DnsTable) GetVirtualDomains() []*DnsTable_DnsVirtualDomain

func (*DnsTable) ProtoMessage Uses

func (*DnsTable) ProtoMessage()

func (*DnsTable) ProtoReflect Uses

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

func (*DnsTable) Reset Uses

func (x *DnsTable) Reset()

func (*DnsTable) String Uses

func (x *DnsTable) String() string

func (*DnsTable) Validate Uses

func (m *DnsTable) Validate() error

Validate checks the field values on DnsTable with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DnsTableValidationError Uses

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 Uses

func (e DnsTableValidationError) Cause() error

Cause function returns cause value.

func (DnsTableValidationError) Error Uses

func (e DnsTableValidationError) Error() string

Error satisfies the builtin error interface

func (DnsTableValidationError) ErrorName Uses

func (e DnsTableValidationError) ErrorName() string

ErrorName returns error name.

func (DnsTableValidationError) Field Uses

func (e DnsTableValidationError) Field() string

Field function returns field value.

func (DnsTableValidationError) Key Uses

func (e DnsTableValidationError) Key() bool

Key function returns key value.

func (DnsTableValidationError) Reason Uses

func (e DnsTableValidationError) Reason() string

Reason function returns reason value.

type DnsTable_AddressList Uses

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 one randomly chosen entry from this list in the
    // DNS response. The random index will vary per query so that we prevent
    // clients pinning on a single address for a configured domain
    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 Uses

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

Deprecated: Use DnsTable_AddressList.ProtoReflect.Descriptor instead.

func (*DnsTable_AddressList) GetAddress Uses

func (x *DnsTable_AddressList) GetAddress() []string

func (*DnsTable_AddressList) ProtoMessage Uses

func (*DnsTable_AddressList) ProtoMessage()

func (*DnsTable_AddressList) ProtoReflect Uses

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

func (*DnsTable_AddressList) Reset Uses

func (x *DnsTable_AddressList) Reset()

func (*DnsTable_AddressList) String Uses

func (x *DnsTable_AddressList) String() string

func (*DnsTable_AddressList) Validate Uses

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, an error is returned.

type DnsTable_AddressListValidationError Uses

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 Uses

func (e DnsTable_AddressListValidationError) Cause() error

Cause function returns cause value.

func (DnsTable_AddressListValidationError) Error Uses

func (e DnsTable_AddressListValidationError) Error() string

Error satisfies the builtin error interface

func (DnsTable_AddressListValidationError) ErrorName Uses

func (e DnsTable_AddressListValidationError) ErrorName() string

ErrorName returns error name.

func (DnsTable_AddressListValidationError) Field Uses

func (e DnsTable_AddressListValidationError) Field() string

Field function returns field value.

func (DnsTable_AddressListValidationError) Key Uses

func (e DnsTable_AddressListValidationError) Key() bool

Key function returns key value.

func (DnsTable_AddressListValidationError) Reason Uses

func (e DnsTable_AddressListValidationError) Reason() string

Reason function returns reason value.

type DnsTable_DnsEndpoint Uses

type DnsTable_DnsEndpoint struct {

    // Types that are assignable to EndpointConfig:
    //	*DnsTable_DnsEndpoint_AddressList
    EndpointConfig isDnsTable_DnsEndpoint_EndpointConfig `protobuf_oneof:"endpoint_config"`
    // contains filtered or unexported fields
}

This message type is extensible and can contain a list of addresses or dictate some other method for resolving the addresses for an endpoint

func (*DnsTable_DnsEndpoint) Descriptor Uses

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

Deprecated: Use DnsTable_DnsEndpoint.ProtoReflect.Descriptor instead.

func (*DnsTable_DnsEndpoint) GetAddressList Uses

func (x *DnsTable_DnsEndpoint) GetAddressList() *DnsTable_AddressList

func (*DnsTable_DnsEndpoint) GetEndpointConfig Uses

func (m *DnsTable_DnsEndpoint) GetEndpointConfig() isDnsTable_DnsEndpoint_EndpointConfig

func (*DnsTable_DnsEndpoint) ProtoMessage Uses

func (*DnsTable_DnsEndpoint) ProtoMessage()

func (*DnsTable_DnsEndpoint) ProtoReflect Uses

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

func (*DnsTable_DnsEndpoint) Reset Uses

func (x *DnsTable_DnsEndpoint) Reset()

func (*DnsTable_DnsEndpoint) String Uses

func (x *DnsTable_DnsEndpoint) String() string

func (*DnsTable_DnsEndpoint) Validate Uses

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, an error is returned.

type DnsTable_DnsEndpointValidationError Uses

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 Uses

func (e DnsTable_DnsEndpointValidationError) Cause() error

Cause function returns cause value.

func (DnsTable_DnsEndpointValidationError) Error Uses

func (e DnsTable_DnsEndpointValidationError) Error() string

Error satisfies the builtin error interface

func (DnsTable_DnsEndpointValidationError) ErrorName Uses

func (e DnsTable_DnsEndpointValidationError) ErrorName() string

ErrorName returns error name.

func (DnsTable_DnsEndpointValidationError) Field Uses

func (e DnsTable_DnsEndpointValidationError) Field() string

Field function returns field value.

func (DnsTable_DnsEndpointValidationError) Key Uses

func (e DnsTable_DnsEndpointValidationError) Key() bool

Key function returns key value.

func (DnsTable_DnsEndpointValidationError) Reason Uses

func (e DnsTable_DnsEndpointValidationError) Reason() string

Reason function returns reason value.

type DnsTable_DnsEndpoint_AddressList Uses

type DnsTable_DnsEndpoint_AddressList struct {
    AddressList *DnsTable_AddressList `protobuf:"bytes,1,opt,name=address_list,json=addressList,proto3,oneof"`
}

type DnsTable_DnsVirtualDomain Uses

type DnsTable_DnsVirtualDomain struct {

    // The 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
    AnswerTtl *duration.Duration `protobuf:"bytes,3,opt,name=answer_ttl,json=answerTtl,proto3" json:"answer_ttl,omitempty"`
    // contains filtered or unexported fields
}

func (*DnsTable_DnsVirtualDomain) Descriptor Uses

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

Deprecated: Use DnsTable_DnsVirtualDomain.ProtoReflect.Descriptor instead.

func (*DnsTable_DnsVirtualDomain) GetAnswerTtl Uses

func (x *DnsTable_DnsVirtualDomain) GetAnswerTtl() *duration.Duration

func (*DnsTable_DnsVirtualDomain) GetEndpoint Uses

func (x *DnsTable_DnsVirtualDomain) GetEndpoint() *DnsTable_DnsEndpoint

func (*DnsTable_DnsVirtualDomain) GetName Uses

func (x *DnsTable_DnsVirtualDomain) GetName() string

func (*DnsTable_DnsVirtualDomain) ProtoMessage Uses

func (*DnsTable_DnsVirtualDomain) ProtoMessage()

func (*DnsTable_DnsVirtualDomain) ProtoReflect Uses

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

func (*DnsTable_DnsVirtualDomain) Reset Uses

func (x *DnsTable_DnsVirtualDomain) Reset()

func (*DnsTable_DnsVirtualDomain) String Uses

func (x *DnsTable_DnsVirtualDomain) String() string

func (*DnsTable_DnsVirtualDomain) Validate Uses

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, an error is returned.

type DnsTable_DnsVirtualDomainValidationError Uses

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 Uses

func (e DnsTable_DnsVirtualDomainValidationError) Cause() error

Cause function returns cause value.

func (DnsTable_DnsVirtualDomainValidationError) Error Uses

func (e DnsTable_DnsVirtualDomainValidationError) Error() string

Error satisfies the builtin error interface

func (DnsTable_DnsVirtualDomainValidationError) ErrorName Uses

func (e DnsTable_DnsVirtualDomainValidationError) ErrorName() string

ErrorName returns error name.

func (DnsTable_DnsVirtualDomainValidationError) Field Uses

func (e DnsTable_DnsVirtualDomainValidationError) Field() string

Field function returns field value.

func (DnsTable_DnsVirtualDomainValidationError) Key Uses

func (e DnsTable_DnsVirtualDomainValidationError) Key() bool

Key function returns key value.

func (DnsTable_DnsVirtualDomainValidationError) Reason Uses

func (e DnsTable_DnsVirtualDomainValidationError) Reason() string

Reason function returns reason value.

Package envoy_data_dns_v2alpha imports 20 packages (graph) and is imported by 6 packages. Updated 2021-01-07. Refresh now. Tools for package owners.