Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 189 for service2 (0.33 sec)

  1. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryTest.groovy

            final TestService service
    
            ServiceWithDependency(TestService service) {
                this.service = service
            }
        }
    
        private static class ServiceWithMultipleDependencies {
            final List<TestService> services
    
            ServiceWithMultipleDependencies(List<TestService> services) {
                this.services = services
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:53:25 UTC 2024
    - 59.8K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/services/BuildServiceIntegrationTest.groovy

            then:
            output.count("service:") == 6
            outputContains("service: created with value = 5")
            outputContains("service: created with value = 15")
            outputContains("service: value is 6")
            outputContains("service: value is 16")
            outputContains("service: closed with value 6")
            outputContains("service: closed with value 16")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 61K bytes
    - Viewed (0)
  3. pilot/pkg/model/sidecar_test.go

    			if sidecarConfig == nil {
    				services := sidecarScope.EgressListeners[0].services
    				if !reflect.DeepEqual(services, sidecarScope.services) {
    					t.Errorf("services in default egress listener not equals sidecar scope services: %v",
    						cmp.Diff(services, sidecarScope.services, cmpopts.IgnoreFields(AddressMap{}, "mutex")))
    				}
    			}
    
    			for _, s1 := range sidecarScope.services {
    				serviceFound = false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java

            for (Service service : providers) {
                services.add(service.get());
            }
            return new CollectionService(elementClass, services, providers);
        }
    
        private static class CollectionService implements Service {
            private final Type typeArg;
            private final List<Object> services;
            private final List<Service> providers;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/httproute_test.go

    			expectedHosts: map[string]map[string]bool{
    				"allow_any": {
    					"*": true,
    				},
    				"service-A.default.svc.cluster.local:7777": {
    					"service-A.default.svc.cluster.local": true,
    				},
    				"service-A.v2:7777": {
    					"service-A.v2": true,
    				},
    				"service-A.v3:7777": {
    					"service-A.v3": true,
    				},
    			},
    			expectedRoutes: 7,
    			registryOnly:   false,
    		},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  6. pilot/pkg/model/push_context.go

    	}
    }
    
    // AddPublicServices adds the services to context public services - mainly used in tests.
    func (ps *PushContext) AddPublicServices(services []*Service) {
    	ps.ServiceIndex.public = append(ps.ServiceIndex.public, services...)
    }
    
    // AddServiceInstances adds instances to the context service instances - mainly used in tests.
    func (ps *PushContext) AddServiceInstances(service *Service, instances map[int][]*IstioEndpoint) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/route/route.go

    // eventing subsystem to invalidate the computed routes if any service changes/virtual Services change.
    type VirtualHostWrapper struct {
    	// Port is the listener port for outbound sidecar (e.g. service port)
    	Port int
    
    	// Services are the Services from the registry. Each service
    	// in this list should have a virtual host entry
    	Services []*model.Service
    
    	// VirtualServiceHosts is a list of hosts defined in the virtual service
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    func sortServices(services []*model.Service) {
    	sort.Slice(services, func(i, j int) bool { return services[i].Hostname < services[j].Hostname })
    	for _, service := range services {
    		sortPorts(service.Ports)
    	}
    }
    
    func sortServiceTargets(instances []model.ServiceTarget) {
    	sort.Slice(instances, func(i, j int) bool {
    		if instances[i].Service.Hostname == instances[j].Service.Hostname {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/sidecar_simulation_test.go

    			services:  []*model.Service{service},
    			instances: makeInstances(proxy, service, 80, 8080),
    			clusters: map[string][]string{
    				"inbound|8080||": nil,
    			},
    			telemetry: map[string][]string{
    				"inbound|8080||": {string(service.Hostname)},
    			},
    		},
    		{
    			name:     "single service, multiple instance",
    			services: []*model.Service{service},
    			instances: flattenInstances(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/listener.go

    			// The user specified port may or may not match a service port.
    			// If it does not match any service port and the service has only
    			// one port, then we pick a default service port. If service has
    			// multiple ports, we expect the user to provide a virtualService
    			// that will route to a proper Service.
    
    			// Skip ports we cannot bind to
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top