Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for MergeGateways (0.26 sec)

  1. pilot/pkg/model/gateway.go

    // MergeGateways combines multiple gateways targeting the same workload into a single logical Gateway.
    // Note that today any Servers in the combined gateways listening on the same port must have the same protocol.
    // If servers with different protocols attempt to listen on the same port, one of the protocols will be chosen at random.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  2. pilot/pkg/model/gateway_test.go

    			instances := []gatewayWithInstances{}
    			for _, c := range tt.gwConfig {
    				instances = append(instances, gatewayWithInstances{c, true, nil})
    			}
    			mgw := MergeGateways(instances, &Proxy{}, nil)
    			if len(mgw.MergedServers) != tt.mergedServersNum {
    				t.Errorf("Incorrect number of merged servers. Expected: %v Got: %d", tt.mergedServersNum, len(mgw.MergedServers))
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 02:36:23 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. pilot/pkg/model/context.go

    	if node.Type != Router {
    		return
    	}
    	var prevMergedGateway MergedGateway
    	if node.MergedGateway != nil {
    		prevMergedGateway = *node.MergedGateway
    	}
    	node.MergedGateway = ps.mergeGateways(node)
    	node.PrevMergedGateway = &PrevMergedGateway{
    		ContainsAutoPassthroughGateways: prevMergedGateway.ContainsAutoPassthroughGateways,
    		AutoPassthroughSNIHosts:         prevMergedGateway.GetAutoPassthrughGatewaySNIHosts(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/gateway.go

    	// listener port -> host/bind
    	tlsHostsByPort := map[uint32]map[string]string{}
    	for _, port := range mergedGateway.ServerPorts {
    		// Skip ports we cannot bind to. Note that MergeGateways will already translate Service port to
    		// targetPort, which handles the common case of exposing ports like 80 and 443 but listening on
    		// higher numbered ports.
    		if builder.node.IsUnprivileged() && port.Number < 1024 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  5. pilot/pkg/model/push_context.go

    	// This supports the legacy behavior of selecting gateways by pod label selector
    	legacyGatewaySelector bool
    	instances             []ServiceTarget
    }
    
    func (ps *PushContext) mergeGateways(proxy *Proxy) *MergedGateway {
    	// this should never happen
    	if proxy == nil {
    		return nil
    	}
    	gatewayInstances := make([]gatewayWithInstances, 0)
    
    	var configs []config.Config
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
Back to top