- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for altHosts (0.2 sec)
-
pkg/dns/client/dns.go
// shortname+. is only for hosts in current namespace var altHosts sets.String if ni.Registry == string(provider.Kubernetes) { altHosts = generateAltHosts(hostname, ni, h.proxyNamespace, h.proxyDomain, h.proxyDomainParts) } else { if !strings.HasSuffix(hostname, ".") { hostname += "." } altHosts = sets.New(hostname) } ipv4, ipv6 := netutil.ParseIPsSplitToV4V6(ni.Ips)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 16:17:34 UTC 2024 - 23.9K bytes - Viewed (0) -
pkg/dns/proto/nds.pb.go
// 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"` } func (x *NameTable_NameInfo) Reset() { *x = NameTable_NameInfo{} if protoimpl.UnsafeEnabled { mi := &file_dns_proto_nds_proto_msgTypes[1]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 02:27:10 UTC 2024 - 10.2K bytes - Viewed (0) -
pilot/pkg/networking/core/httproute.go
for _, a := range service.Attributes.Aliases { all = append(all, a.Hostname.String()) } for _, s := range all { altHosts := GenerateAltVirtualHosts(s, port, node.DNSDomain) domains = appendDomainPort(domains, s, port) domains = append(domains, altHosts...) allAltHosts = append(allAltHosts, altHosts...) } if service.Resolution == model.Passthrough && service.Attributes.ServiceRegistry == provider.Kubernetes {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 32.7K bytes - Viewed (0) -
pkg/dns/client/dns_test.go
expected: sets.New("example.localhost."), }, } nt := d.NameTable() nt = proto.Clone(nt).(*dnsProto.NameTable) d.BuildAlternateHosts(nt, func(althosts map[string]struct{}, ipv4 []netip.Addr, ipv6 []netip.Addr, _ []string) { for host := range althosts { if _, exists := nt.Table[host]; !exists { addresses := make([]string, 0, len(ipv4)+len(ipv6)) for _, addr := range ipv4 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 16:17:34 UTC 2024 - 20.4K bytes - Viewed (0) -
pkg/istio-agent/agent.go
nt := a.localDNSServer.NameTable() nt = proto.Clone(nt).(*dnsProto.NameTable) a.localDNSServer.BuildAlternateHosts(nt, func(althosts map[string]struct{}, ipv4 []netip.Addr, ipv6 []netip.Addr, _ []string) { for host := range althosts { if _, exists := nt.Table[host]; !exists { addresses := make([]string, 0, len(ipv4)+len(ipv6)) for _, addr := range ipv4 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 10:02:56 UTC 2024 - 26.7K bytes - Viewed (0) -
pilot/pkg/model/sidecar.go
} // exact hosts are saved separately for map lookup if !hName.IsWildCarded() { hostsByNamespace[ns].exactHosts.Insert(hName) } // allHosts contains the exact hosts and wildcard hosts, // since SelectVirtualServices will use `Matches` semantic matching. hc := hostsByNamespace[ns] hc.allHosts = append(hc.allHosts, hName)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 20:32:23 UTC 2024 - 38.4K bytes - Viewed (0)