Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetProxyConfigNamespace (0.28 sec)

  1. pilot/pkg/model/context.go

    func GetOrDefault(s string, def string) string {
    	return pm.GetOrDefault(s, def)
    }
    
    // GetProxyConfigNamespace extracts the namespace associated with the proxy
    // from the proxy metadata or the proxy ID
    func GetProxyConfigNamespace(proxy *Proxy) string {
    	if proxy == nil {
    		return ""
    	}
    
    	// First look for ISTIO_META_CONFIG_NAMESPACE
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  2. pilot/pkg/xds/ads.go

    	if err != nil {
    		return nil, status.New(codes.InvalidArgument, err.Error()).Err()
    	}
    	// Update the config namespace associated with this proxy
    	proxy.ConfigNamespace = model.GetProxyConfigNamespace(proxy)
    	proxy.XdsNode = node
    	return proxy, nil
    }
    
    // setTopologyLabels sets locality, cluster, network label
    // must be called after `SetWorkloadLabels` and `SetServiceTargets`.
    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