go-control-plane: github.com/envoyproxy/go-control-plane/envoy/config/common/dynamic_forward_proxy/v2alpha Index | Files

package envoy_config_common_dynamic_forward_proxy_v2alpha

import "github.com/envoyproxy/go-control-plane/envoy/config/common/dynamic_forward_proxy/v2alpha"

Index

Package Files

dns_cache.pb.go dns_cache.pb.validate.go

Variables

var File_envoy_config_common_dynamic_forward_proxy_v2alpha_dns_cache_proto protoreflect.FileDescriptor

type DnsCacheConfig Uses

type DnsCacheConfig struct {
    Name                  string                     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    DnsLookupFamily       v2.Cluster_DnsLookupFamily `protobuf:"varint,2,opt,name=dns_lookup_family,json=dnsLookupFamily,proto3,enum=envoy.api.v2.Cluster_DnsLookupFamily" json:"dns_lookup_family,omitempty"`
    DnsRefreshRate        *duration.Duration         `protobuf:"bytes,3,opt,name=dns_refresh_rate,json=dnsRefreshRate,proto3" json:"dns_refresh_rate,omitempty"`
    HostTtl               *duration.Duration         `protobuf:"bytes,4,opt,name=host_ttl,json=hostTtl,proto3" json:"host_ttl,omitempty"`
    MaxHosts              *wrappers.UInt32Value      `protobuf:"bytes,5,opt,name=max_hosts,json=maxHosts,proto3" json:"max_hosts,omitempty"`
    DnsFailureRefreshRate *v2.Cluster_RefreshRate    `protobuf:"bytes,6,opt,name=dns_failure_refresh_rate,json=dnsFailureRefreshRate,proto3" json:"dns_failure_refresh_rate,omitempty"`
    // contains filtered or unexported fields
}

func (*DnsCacheConfig) Descriptor Uses

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

Deprecated: Use DnsCacheConfig.ProtoReflect.Descriptor instead.

func (*DnsCacheConfig) GetDnsFailureRefreshRate Uses

func (x *DnsCacheConfig) GetDnsFailureRefreshRate() *v2.Cluster_RefreshRate

func (*DnsCacheConfig) GetDnsLookupFamily Uses

func (x *DnsCacheConfig) GetDnsLookupFamily() v2.Cluster_DnsLookupFamily

func (*DnsCacheConfig) GetDnsRefreshRate Uses

func (x *DnsCacheConfig) GetDnsRefreshRate() *duration.Duration

func (*DnsCacheConfig) GetHostTtl Uses

func (x *DnsCacheConfig) GetHostTtl() *duration.Duration

func (*DnsCacheConfig) GetMaxHosts Uses

func (x *DnsCacheConfig) GetMaxHosts() *wrappers.UInt32Value

func (*DnsCacheConfig) GetName Uses

func (x *DnsCacheConfig) GetName() string

func (*DnsCacheConfig) ProtoMessage Uses

func (*DnsCacheConfig) ProtoMessage()

func (*DnsCacheConfig) ProtoReflect Uses

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

func (*DnsCacheConfig) Reset Uses

func (x *DnsCacheConfig) Reset()

func (*DnsCacheConfig) String Uses

func (x *DnsCacheConfig) String() string

func (*DnsCacheConfig) Validate Uses

func (m *DnsCacheConfig) Validate() error

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

type DnsCacheConfigValidationError Uses

type DnsCacheConfigValidationError struct {
    // contains filtered or unexported fields
}

DnsCacheConfigValidationError is the validation error returned by DnsCacheConfig.Validate if the designated constraints aren't met.

func (DnsCacheConfigValidationError) Cause Uses

func (e DnsCacheConfigValidationError) Cause() error

Cause function returns cause value.

func (DnsCacheConfigValidationError) Error Uses

func (e DnsCacheConfigValidationError) Error() string

Error satisfies the builtin error interface

func (DnsCacheConfigValidationError) ErrorName Uses

func (e DnsCacheConfigValidationError) ErrorName() string

ErrorName returns error name.

func (DnsCacheConfigValidationError) Field Uses

func (e DnsCacheConfigValidationError) Field() string

Field function returns field value.

func (DnsCacheConfigValidationError) Key Uses

func (e DnsCacheConfigValidationError) Key() bool

Key function returns key value.

func (DnsCacheConfigValidationError) Reason Uses

func (e DnsCacheConfigValidationError) Reason() string

Reason function returns reason value.

Package envoy_config_common_dynamic_forward_proxy_v2alpha imports 21 packages (graph) and is imported by 3 packages. Updated 2020-07-20. Refresh now. Tools for package owners.