- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 330 for lmhosts (0.12 sec)
-
pilot/pkg/networking/core/httproute.go
// Add the uniqueHost. vhosts = appendDomainPort(vhosts, uniqueHostname, port) if len(uniqueHostnameParts) == 2 { // This is the case of uniqHostname having namespace already. dnsHostName := uniqueHostname + "." + sharedDNSDomainParts[0] vhosts = appendDomainPort(vhosts, dnsHostName, port) } return vhosts } // portNoAppendPortSuffix is a signal to not append port to vhost
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.go
// that is likely to be already present in the altHosts if _, exists := altHosts[expandedHost]; !exists { table.cname[expandedHost] = cname(expandedHost, h) table.allHosts.Insert(expandedHost) } } } } // Borrowed from https://github.com/coredns/coredns/blob/master/plugin/hosts/hosts.go // a takes a slice of ip string and returns a slice of A RRs.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 16:17:34 UTC 2024 - 23.9K bytes - Viewed (0) -
pilot/pkg/model/sidecar_test.go
}) } ps.ServiceIndex.public = svcList hosts := make([]string, 0) if matchAll { // default/* hosts = append(hosts, "default/*") } else { // default/xx or default/*.xx for i := 0; i < hostNum; i++ { h := "default/" + wildcard + "host-" + strconv.Itoa(i) + ".com" hosts = append(hosts, h) } } istioListener := &networking.IstioEgressListener{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 07 09:38:49 UTC 2024 - 74.3K 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) -
pilot/pkg/networking/core/route/route_test.go
} vhosts := route.BuildSidecarVirtualHostWrapper(nil, node(cg), cg.PushContext(), serviceRegistry, []config.Config{virtualServiceWithGoogleWildcardHost}, 80, wildcardIndex, ) // The service hosts (*.example.org and goodbye.hello.example.org) and the unattached VS host (*.google.com) g.Expect(vhosts).To(HaveLen(3)) for _, vhost := range vhosts {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 88.1K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route.go
wchosts := make([]host.Name, 0) // As a performance optimization, process non wildcard hosts first, so that they can be // looked up directly in the service registry map. for _, hostname := range rule.Hosts { vshost := host.Name(hostname) if vshost.IsWildCarded() { // We'll process wild card hosts later wchosts = append(wchosts, vshost) continue }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 56.1K bytes - Viewed (0) -
pilot/pkg/networking/core/gateway.go
virtualServiceHosts := host.NewNames(virtualService.Spec.(*networking.VirtualService).Hosts) serverHosts := host.NamesForNamespace(server.Hosts, virtualService.Namespace) // We have two cases here: // 1. virtualService hosts are 1.foo.com, 2.foo.com, 3.foo.com and server hosts are ns/*.foo.com // 2. virtualService hosts are *.foo.com, and server hosts are ns/1.foo.com, ns/2.foo.com, ns/3.foo.com
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 46.4K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conversion.go
parent.OriginalReference.Name, ptr.OrDefault(parent.OriginalReference.Namespace, k8s.Namespace(obj.Namespace)), ctx.Domain) vsHosts = []string{host} } routes = augmentTLSPortMatch(routes, parent.OriginalReference.Port, vsHosts) } for i, host := range vsHosts { name := fmt.Sprintf("%s-tls-%d-%s", obj.Name, i, constants.KubernetesGatewayName) filteredRoutes := routes if parent.IsMesh() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 84.7K bytes - Viewed (0) -
pilot/pkg/model/virtualservice_test.go
} hc := hostsByNamespace[ns] hc.allHosts = append(hc.allHosts, svc.Hostname) hostsByNamespace[ns] = hc if !svc.Hostname.IsWildCarded() { hostsByNamespace[ns].exactHosts.Insert(svc.Hostname) } } virtualServiceSpec1 := &networking.VirtualService{ Hosts: []string{"test-private-2.com"},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 60.6K bytes - Viewed (0) -
pilot/pkg/networking/core/gateway_simulation_test.go
}, ) } func TestGatewayConflicts(t *testing.T) { tcpServer := `port: number: 80 name: tcp protocol: TCP hosts: - "foo.bar"` httpServer := `port: number: 80 name: http protocol: HTTP hosts: - "foo.bar"` tlsServer := `hosts: - ./* port: name: https-ingress number: 443 protocol: HTTPS tls: credentialName: sds-credential mode: SIMPLE`
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 10 18:27:40 UTC 2024 - 46.5K bytes - Viewed (0)