Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SetGatewaysForProxy (0.54 sec)

  1. pilot/pkg/networking/core/fake.go

    	if len(p.IPAddresses) == 0 {
    		p.IPAddresses = []string{"1.1.1.1"}
    	}
    
    	// Initialize data structures
    	pc := f.PushContext()
    	p.SetSidecarScope(pc)
    	p.SetServiceTargets(f.env.ServiceDiscovery)
    	p.SetGatewaysForProxy(pc)
    	p.DiscoverIPMode()
    	return p
    }
    
    func (f *ConfigGenTest) Listeners(p *model.Proxy) []*listener.Listener {
    	return f.ConfigGen.BuildListeners(p, f.PushContext())
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. pilot/pkg/model/context.go

    }
    
    func (node *Proxy) VersionGreaterAndEqual(inv *IstioVersion) bool {
    	if inv == nil {
    		return true
    	}
    	return node.IstioVersion.Compare(inv) >= 0
    }
    
    // SetGatewaysForProxy merges the Gateway objects associated with this
    // proxy and caches the merged object in the proxy Node. This is a convenience hack so that
    // callers can simply call push.MergedGateways(node) instead of having to
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  3. pilot/pkg/xds/bench_test.go

    	return s, proxy
    }
    
    func initPushContext(env *model.Environment, proxy *model.Proxy) {
    	pushContext := env.PushContext()
    	pushContext.InitContext(env, nil, nil)
    	proxy.SetSidecarScope(pushContext)
    	proxy.SetGatewaysForProxy(pushContext)
    	proxy.SetServiceTargets(env.ServiceDiscovery)
    }
    
    var debugGeneration = env.Register("DEBUG_CONFIG_DUMP", false, "if enabled, print a full config dump of the generated config")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 18:13:40 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  4. pilot/pkg/xds/ads.go

    	if sidecar {
    		proxy.SetSidecarScope(push)
    	}
    	// only compute gateways for "router" type proxy.
    	if gateway && proxy.Type == model.Router {
    		proxy.SetGatewaysForProxy(push)
    	}
    	proxy.LastPushContext = push
    	if request != nil {
    		proxy.LastPushTime = request.Start
    	}
    }
    
    // handleWorkloadHealthcheck processes HealthInformation type Url.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
Back to top