Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 872 for vhosts (0.53 sec)

  1. istioctl/pkg/writer/envoy/configdump/route.go

    								route.Name,
    								vhosts.Name,
    								describeRouteDomains(vhosts.GetDomains()),
    								describeMatch(r.GetMatch()),
    								describeManagement(r.GetMetadata()))
    						}
    					}
    					if len(vhosts.Routes) == 0 {
    						fmt.Fprintf(w, "%v\t%s\t%s\t%s\t%s\n",
    							route.Name,
    							vhosts.Name,
    							describeRouteDomains(vhosts.GetDomains()),
    							"/*",
    							"404")
    					}
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 05:38:17 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/httproute.go

    		} else {
    			for _, vhost := range vhosts {
    				vhost.Domains = slices.FilterInPlace(vhost.Domains, func(domain string) bool {
    					return strings.Contains(domain, ":")
    				})
    				if len(vhost.Domains) > 0 {
    					virtualHosts = append(virtualHosts, vhost)
    				}
    			}
    		}
    	}
    	return virtualHosts
    }
    
    func min(a, b int) int {
    	if a < b {
    		return a
    	}
    	return b
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.7K bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/fess/helper/VirtualHostHelper.java

            final Tuple3<String, String, String>[] vHosts = ComponentUtil.getFessConfig().getVirtualHosts();
            return LaRequestUtil.getOptionalRequest().map(req -> {
                for (final Tuple3<String, String, String> host : vHosts) {
                    final String headerValue = req.getHeader(host.getValue1());
                    if (host.getValue2().equalsIgnoreCase(headerValue)) {
                        return func.apply(host.getValue3());
                    }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/envoy/configdump/listener.go

    		return cluster
    	}
    	vhosts := []string{}
    	for _, vh := range route.GetVirtualHosts() {
    		if describeDomains(vh) == "" {
    			vhosts = append(vhosts, describeRoutes(vh))
    		} else {
    			vhosts = append(vhosts, fmt.Sprintf("%s %s", describeDomains(vh), describeRoutes(vh)))
    		}
    	}
    	return fmt.Sprintf("Inline Route: %s", strings.Join(vhosts, "; "))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/route/route_test.go

    		// it is not attached to a service
    		g.Expect(vhosts).To(HaveLen(2))
    		for _, vhost := range vhosts {
    			g.Expect(vhost.Services).To(HaveLen(1))
    			g.Expect(vhost.Routes).To(HaveLen(1))
    		}
    	})
    
    	t.Run("for virtualservices with with wildcard hosts outside of the serviceregistry (on port 80)", func(t *testing.T) {
    		g := NewWithT(t)
    		cg := core.NewConfigGenTest(t, core.TestOptions{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  6. pilot/test/xdstest/validate.go

    	t.Helper()
    
    	vhosts := sets.New[string]()
    	domains := sets.New[string]()
    	for _, vhost := range l.VirtualHosts {
    		if vhosts.InsertContains(vhost.Name) {
    			t.Errorf("duplicate virtual host found %s", vhost.Name)
    		}
    		for _, domain := range vhost.Domains {
    			if domains.InsertContains(domain) {
    				t.Errorf("duplicate virtual host domain found %s", domain)
    			}
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. 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)
  8. pilot/pkg/networking/grpcgen/lds.go

    //
    // See: xds/internal/httpfilter/rbac
    //
    // TODO: gRPC also supports 'per route override' - not yet clear how to use it, Istio uses path expressions instead and we don't generate
    // vhosts or routes for the inbound listener.
    //
    // For gateways it would make a lot of sense to use this concept, same for moving path prefix at top level ( more scalable, easier for users)
    // This should probably be done for the v2 API.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. pkg/adsc/adsc.go

    		rds[r.Name] = r
    		size += proto.Size(r)
    	}
    	if a.initialLoad == 0 {
    		a.initialLoad = time.Since(a.watchTime)
    		adscLog.Infof("RDS: %d size=%d vhosts=%d routes=%d time=%d", len(configurations), size, vh, rcount, a.initialLoad)
    	} else {
    		adscLog.Infof("RDS: %d size=%d vhosts=%d routes=%d", len(configurations), size, vh, rcount)
    	}
    
    	if adscLog.DebugEnabled() {
    		b, _ := json.MarshalIndent(configurations, " ", " ")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 05 22:18:49 UTC 2024
    - 35K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/listener.go

    }
    
    // buildSidecarOutboundListener builds a single listener and
    // adds it to the listenerMap provided by the caller.  Listeners are added
    // if one doesn't already exist. HTTP listeners on same port are ignored
    // (as vhosts are shipped through RDS).  TCP listeners on same port are
    // allowed only if they have different CIDR matches.
    func (lb *ListenerBuilder) buildSidecarOutboundListener(listenerOpts outboundListenerOpts,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top