- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 119 for host2 (0.35 sec)
-
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/httproute_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 51.4K 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/model/push_context_test.go
}) cases := []struct { proxyNs string serviceNs string host string wantSubsets []string }{ { proxyNs: "test1", serviceNs: "test1", host: testhost, wantSubsets: []string{"subset1", "subset2"}, }, { proxyNs: "test1", serviceNs: "test2", host: testhost, wantSubsets: []string{"subset1", "subset2"}, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0) -
pilot/pkg/model/push_context.go
type consolidatedDestRules struct { // Map of dest rule host to the list of namespaces to which this destination rule has been exported to exportTo map[host.Name]sets.Set[visibility.Instance] // Map of dest rule host and the merged destination rules for that host. // Only stores specific non-wildcard destination rules specificDestRules map[host.Name][]*ConsolidatedDestRule // Map of dest rule host and the merged destination rules for that host.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 91.8K bytes - Viewed (0) -
pilot/pkg/serviceregistry/serviceentry/controller_test.go
return &c }() stringsToHosts := func(hosts []string) []host.Name { ret := make([]host.Name, len(hosts)) for i, hostname := range hosts { ret[i] = host.Name(hostname) } return ret } cases := []struct { name string current *config.Config new *config.Config added []host.Name deleted []host.Name updated []host.Name
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 15:31:09 UTC 2024 - 92.9K bytes - Viewed (0) -
pilot/pkg/model/sidecar_test.go
}, services: []*Service{serviceA8000}, expected: []*Service{serviceA8000}, namespace: "a", }, { name: "fall back to wildcard namespace", listenerHosts: map[string]hostClassification{ wildcardNamespace: {allHosts: []host.Name{"host"}, exactHosts: sets.New[host.Name]("host")}, "a": {allHosts: []host.Name{"alt"}, exactHosts: sets.New[host.Name]("alt")},
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/config/kube/gateway/conversion.go
} else { host := fmt.Sprintf("%s.%s.svc.%s", 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 {
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/networking/core/sidecar_simulation_test.go
kind: VirtualService metadata: name: alias spec: hosts: - alias.default.svc.cluster.local http: - name: "route1" match: - uri: prefix: "/one" route: - destination: host: concrete.default.svc.cluster.local`, kubeConfig: service, calls: []simulation.Expect{ { // This work, Host is just an opaque hostname match
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 84.7K bytes - Viewed (0) -
tests/integration/ambient/baseline_test.go
name: http protocol: HTTP hosts: ["*"] --- apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: route spec: gateways: - gateway hosts: - "*" http: - match: - uri: exact: /allowed route: - destination: host: "{{.Destination}}" port:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 78.4K bytes - Viewed (0)