Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for serviceInstance (0.25 sec)

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

    type serviceInstancesStore struct {
    	ip2instance map[string][]*model.ServiceInstance
    	// service instances by hostname -> config
    	instances map[instancesKey]map[configKeyWithParent][]*model.ServiceInstance
    	// instances only for serviceentry
    	instancesBySE map[types.NamespacedName]map[configKey][]*model.ServiceInstance
    	// instancesByHostAndPort tells whether the host has instances.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/serviceentry/store_test.go

    	store := serviceInstancesStore{
    		ip2instance:            map[string][]*model.ServiceInstance{},
    		instances:              map[instancesKey]map[configKeyWithParent][]*model.ServiceInstance{},
    		instancesBySE:          map[types.NamespacedName]map[configKey][]*model.ServiceInstance{},
    		instancesByHostAndPort: sets.Set[hostPort]{},
    	}
    	instances := []*model.ServiceInstance{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/multicluster/service.go

    		}
    		inconsistents, errors := findInconsistencies(clusterServices)
    		if len(inconsistents) > 0 {
    			var serviceInstance *resource.Instance
    			for _, r := range clusterServices {
    				if r != nil {
    					serviceInstance = r
    					break
    				}
    			}
    			message := msg.NewMultiClusterInconsistentService(serviceInstance, fullname.Name.String(),
    				fullname.Namespace.String(), inconsistents, errors)
    
    			c.Report(gvk.Service, message)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/service-provider/src/main/java/org/gradle/internal/service/ServiceRegistration.java

         * @param serviceType The type to make this service visible as.
         * @param serviceInstance The service implementation.
         */
        <T> void add(Class<T> serviceType, T serviceInstance);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. pilot/pkg/model/validation.go

    				fmt.Errorf("invalid service port value %d for %q: %v", port.Port, port.Name, err))
    		}
    	}
    	return errs
    }
    
    // Validate ensures that the service instance is well-defined
    func (instance *ServiceInstance) Validate() error {
    	var errs error
    	if instance.Service == nil {
    		errs = multierror.Append(errs, fmt.Errorf("missing service in the instance"))
    	} else if err := instance.Service.Validate(); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top