Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetDiscoveryAddress (0.17 sec)

  1. pilot/pkg/model/cluster_local.go

    	}
    	for _, s := range defaultClusterLocalServices {
    		defaultClusterLocalHosts = append(defaultClusterLocalHosts, host.Name(s+"."+domainSuffix))
    	}
    
    	if discoveryHost, _, err := e.GetDiscoveryAddress(); err != nil {
    		log.Errorf("failed to make discoveryAddress cluster-local: %v", err)
    	} else {
    		if !strings.HasSuffix(string(discoveryHost), domainSuffix) {
    			discoveryHost += host.Name("." + domainSuffix)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 20 12:54:10 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  2. pilot/pkg/model/context.go

    func (e *Environment) PushContext() *PushContext {
    	e.mutex.RLock()
    	defer e.mutex.RUnlock()
    	return e.pushContext
    }
    
    // GetDiscoveryAddress parses the DiscoveryAddress specified via MeshConfig.
    func (e *Environment) GetDiscoveryAddress() (host.Name, string, error) {
    	proxyConfig := mesh.DefaultProxyConfig()
    	if e.Mesh().DefaultConfig != nil {
    		proxyConfig = e.Mesh().DefaultConfig
    	}
    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/bootstrap/server.go

    	// Initialize workloadTrustBundle after CA has been initialized
    	if err := s.initWorkloadTrustBundle(args); err != nil {
    		return nil, err
    	}
    
    	// Parse and validate Istiod Address.
    	istiodHost, _, err := e.GetDiscoveryAddress()
    	if err != nil {
    		return nil, err
    	}
    
    	// Create Istiod certs and setup watches.
    	if err := s.initIstiodCerts(args, string(istiodHost)); err != nil {
    		return nil, err
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
Back to top