Documentation ¶
Index ¶
- Variables
- type NameTable
- type NameTable_NameInfo
- func (*NameTable_NameInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NameTable_NameInfo) GetAltHosts() []stringdeprecated
- func (x *NameTable_NameInfo) GetIps() []string
- func (x *NameTable_NameInfo) GetNamespace() string
- func (x *NameTable_NameInfo) GetRegistry() string
- func (x *NameTable_NameInfo) GetShortname() string
- func (*NameTable_NameInfo) ProtoMessage()
- func (x *NameTable_NameInfo) ProtoReflect() protoreflect.Message
- func (x *NameTable_NameInfo) Reset()
- func (x *NameTable_NameInfo) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_dns_proto_nds_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type NameTable ¶
type NameTable struct { // Map of hostname to resolution attributes. Table map[string]*NameTable_NameInfo `` /* 151-byte string literal not displayed */ // contains filtered or unexported fields }
Table of hostnames and their IPs to br used for DNS resolution at the agent Sent by istiod to istio agents via xds
func (*NameTable) Descriptor
deprecated
func (*NameTable) GetTable ¶
func (x *NameTable) GetTable() map[string]*NameTable_NameInfo
func (*NameTable) ProtoMessage ¶
func (*NameTable) ProtoMessage()
func (*NameTable) ProtoReflect ¶
func (x *NameTable) ProtoReflect() protoreflect.Message
type NameTable_NameInfo ¶
type NameTable_NameInfo struct { // List of IPs for the host. Ips []string `protobuf:"bytes,1,rep,name=ips,proto3" json:"ips,omitempty"` // The name of the service registry containing the service (e.g. 'Kubernetes'). Registry string `protobuf:"bytes,2,opt,name=registry,proto3" json:"registry,omitempty"` // The k8s service name. Only applies when registry=`Kubernetes` Shortname string `protobuf:"bytes,3,opt,name=shortname,proto3" json:"shortname,omitempty"` // The k8s namespace for the service. Only applies when registry=`Kubernetes` Namespace string `protobuf:"bytes,4,opt,name=namespace,proto3" json:"namespace,omitempty"` // Deprecated. Was added for experimentation only. // // Deprecated: Marked as deprecated in dns/proto/nds.proto. AltHosts []string `protobuf:"bytes,5,rep,name=alt_hosts,json=altHosts,proto3" json:"alt_hosts,omitempty"` // contains filtered or unexported fields }
func (*NameTable_NameInfo) Descriptor
deprecated
func (*NameTable_NameInfo) Descriptor() ([]byte, []int)
Deprecated: Use NameTable_NameInfo.ProtoReflect.Descriptor instead.
func (*NameTable_NameInfo) GetAltHosts
deprecated
func (x *NameTable_NameInfo) GetAltHosts() []string
Deprecated: Marked as deprecated in dns/proto/nds.proto.
func (*NameTable_NameInfo) GetIps ¶
func (x *NameTable_NameInfo) GetIps() []string
func (*NameTable_NameInfo) GetNamespace ¶
func (x *NameTable_NameInfo) GetNamespace() string
func (*NameTable_NameInfo) GetRegistry ¶
func (x *NameTable_NameInfo) GetRegistry() string
func (*NameTable_NameInfo) GetShortname ¶
func (x *NameTable_NameInfo) GetShortname() string
func (*NameTable_NameInfo) ProtoMessage ¶
func (*NameTable_NameInfo) ProtoMessage()
func (*NameTable_NameInfo) ProtoReflect ¶
func (x *NameTable_NameInfo) ProtoReflect() protoreflect.Message
func (*NameTable_NameInfo) Reset ¶
func (x *NameTable_NameInfo) Reset()
func (*NameTable_NameInfo) String ¶
func (x *NameTable_NameInfo) String() string
Click to show internal directories.
Click to hide internal directories.