Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 163 for NamespacedName (0.17 sec)

  1. pilot/pkg/serviceregistry/serviceentry/controller.go

    			configKey: key,
    			parent:    namespacedName,
    		}
    		if event == model.EventDelete {
    			s.serviceInstances.deleteServiceEntryInstances(namespacedName, key)
    			s.serviceInstances.deleteInstanceKeys(parentKey, instancesUpdated)
    		} else {
    			s.serviceInstances.updateInstances(parentKey, instancesUpdated)
    			s.serviceInstances.updateServiceEntryInstancesPerConfig(namespacedName, key, instance)
    		}
    		addConfigs(se, services)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  2. pilot/pkg/model/virtualservice.go

    	importedVirtualServices := make([]config.Config, 0)
    	vsset := sets.New[types.NamespacedName]()
    
    	addVirtualService := func(vs config.Config, hc hostClassification) {
    		key := vs.NamespacedName()
    		if vsset.Contains(key) {
    			return
    		}
    
    		rule := vs.Spec.(*networking.VirtualService)
    		useGatewaySemantics := UseGatewaySemantics(vs)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 11:17:03 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. pilot/pkg/model/destination_rule.go

    	p.exportTo[resolvedHost] = exportToSet
    }
    
    func ConvertConsolidatedDestRule(cfg *config.Config) *ConsolidatedDestRule {
    	return &ConsolidatedDestRule{
    		rule: cfg,
    		from: []types.NamespacedName{cfg.NamespacedName()},
    	}
    }
    
    // Equals compare l equals r consolidatedDestRule or not.
    func (l *ConsolidatedDestRule) Equals(r *ConsolidatedDestRule) bool {
    	if l == r {
    		return true
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 07:22:29 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. pkg/test/framework/components/echo/instances.go

    	return i.Config().ClusterLocalFQDN()
    }
    
    func (i Instances) ClusterSetLocalFQDN() string {
    	return i.Config().ClusterSetLocalFQDN()
    }
    
    func (i Instances) NamespacedName() NamespacedName {
    	return i.Config().NamespacedName()
    }
    
    func (i Instances) PortForName(name string) Port {
    	return i.Config().Ports.MustForName(name)
    }
    
    func (i Instances) Config() Config {
    	return i.mustGetFirst().Config()
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 18:26:17 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go

    			return nil, true
    		}
    		namespacedName := strings.Split(labelValue, "/")
    		switch len(namespacedName) {
    		case 1:
    			return &krt.Named{
    				Name:      namespacedName[0],
    				Namespace: defaultNamespace,
    			}, false
    		case 2:
    			return &krt.Named{
    				Name:      namespacedName[1],
    				Namespace: namespacedName[0],
    			}, false
    		default:
    			// malformed label error
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. tests/integration/security/cacert_rotation/main_test.go

    			}
    
    			// Verify traffic works between a and b
    			echotest.New(t, fromAndTo).
    				WithDefaultFilters(1, 1).
    				FromMatch(match.ServiceName(from.NamespacedName())).
    				ToMatch(match.ServiceName(to.NamespacedName())).
    				Run(func(t framework.TestContext, from echo.Instance, to echo.Target) {
    					// Verify mTLS works between a and b
    					opts := echo.CallOptions{
    						To: to,
    						Port: echo.Port{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. pkg/config/model.go

    func (c Config) GetNamespace() string {
    	return c.Namespace
    }
    
    func (c Config) GetCreationTimestamp() time.Time {
    	return c.CreationTimestamp
    }
    
    func (c Config) NamespacedName() kubetypes.NamespacedName {
    	return kubetypes.NamespacedName{
    		Namespace: c.Namespace,
    		Name:      c.Name,
    	}
    }
    
    var _ fmt.Stringer = GroupVersionKind{}
    
    type GroupVersionKind struct {
    	Group   string `json:"group"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/match/matchers_test.go

    func (f fakeInstance) Instances() echo.Instances {
    	return echo.Instances{f}
    }
    
    func (f fakeInstance) ID() resource.ID {
    	panic("implement me")
    }
    
    func (f fakeInstance) NamespacedName() echo.NamespacedName {
    	return f.Config().NamespacedName()
    }
    
    func (f fakeInstance) PortForName(name string) echo.Port {
    	return f.Config().Ports.MustForName(name)
    }
    
    func (f fakeInstance) Config() echo.Config {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/config.go

    	}
    }
    
    // NamespaceName returns the string name of the namespace.
    func (c Config) NamespaceName() string {
    	return c.NamespacedName().NamespaceName()
    }
    
    // NamespacedName returns the namespaced name for the service.
    func (c Config) NamespacedName() NamespacedName {
    	return NamespacedName{
    		Name:      c.Service,
    		Namespace: c.Namespace,
    	}
    }
    
    func (c Config) AccountName() string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  10. tests/integration/ambient/cnirepair/main_test.go

    	}
    
    	apps.All = echos
    	apps.Uncaptured = match.ServiceName(echo.NamespacedName{Name: Uncaptured, Namespace: apps.Namespace}).GetMatches(echos)
    	apps.Captured = match.ServiceName(echo.NamespacedName{Name: Captured, Namespace: apps.Namespace}).GetMatches(echos)
    	apps.Sidecar = match.ServiceName(echo.NamespacedName{Name: Sidecar, Namespace: apps.Namespace}).GetMatches(echos)
    
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 09 09:12:45 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top