Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DestinationRuleByName (0.16 sec)

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

    	var deletedClusters []string
    	var services []*model.Service
    	cfg := proxy.SidecarScope.DestinationRuleByName(updatedDr.Name, updatedDr.Namespace)
    	if cfg == nil {
    		// Destinationrule was deleted. Find matching services from previous destinationrule.
    		prevCfg := proxy.PrevSidecarScope.DestinationRuleByName(updatedDr.Name, updatedDr.Namespace)
    		if prevCfg == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  2. pilot/pkg/model/sidecar.go

    	for _, c := range configs {
    		c := c
    		sc.destinationRulesByNames[types.NamespacedName{Name: c.Name, Namespace: c.Namespace}] = &c
    	}
    }
    
    func (sc *SidecarScope) DestinationRuleByName(name, namespace string) *config.Config {
    	if sc == nil {
    		return nil
    	}
    	return sc.destinationRulesByNames[types.NamespacedName{
    		Name:      name,
    		Namespace: namespace,
    	}]
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 20:32:23 UTC 2024
    - 38.4K bytes
    - Viewed (0)
Back to top