Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 36 for serviceInstance (0.82 sec)

  1. tools/bug-report/pkg/testdata/output/multi_line_entries.log

    2020-06-29T23:37:27.287957Z...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Sep 01 20:55:53 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  2. 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)
  3. pilot/pkg/serviceregistry/mock/discovery.go

    func MakeServiceInstance(service *model.Service, port *model.Port, version int, locality model.Locality) *model.ServiceInstance {
    	if service.External() {
    		return nil
    	}
    
    	// we make port 80 same as endpoint port, otherwise, it's distinct
    	target := port.Port
    	if target != 80 {
    		target += 1000
    	}
    
    	return &model.ServiceInstance{
    		Endpoint: &model.IstioEndpoint{
    			Address:         MakeIP(service, version),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 18:40:05 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. pilot/pkg/model/service.go

    			TargetPort:  e.Endpoint.EndpointPort,
    		},
    	}
    }
    
    // DeepCopy creates a copy of ServiceInstance.
    func (instance *ServiceInstance) DeepCopy() *ServiceInstance {
    	return &ServiceInstance{
    		Service:  instance.Service.DeepCopy(),
    		Endpoint: instance.Endpoint.DeepCopy(),
    		ServicePort: &Port{
    			Name:     instance.ServicePort.Name,
    			Port:     instance.ServicePort.Port,
    			Protocol: instance.ServicePort.Protocol,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java

            assertMutable();
            ownServices.add(new FixedInstanceService(this, serviceType, serviceInstance));
            return this;
        }
    
        /**
         * Adds a service instance to this registry. The given object is closed when this registry is closed.
         */
        public DefaultServiceRegistry add(Object serviceInstance) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  6. pilot/pkg/xds/eds_test.go

    		Ports:    ports,
    		Hostname: host.Name("test1"),
    	}
    	s.MemRegistry.AddService(svc)
    	if _, err := ads.Wait(time.Second*10, watchAll...); err != nil {
    		t.Fatal(err)
    	}
    	i := &model.ServiceInstance{
    		Service:     svc,
    		ServicePort: svc.Ports[0],
    		Endpoint: &model.IstioEndpoint{
    			Address:        "1.2.3.4",
    			ServiceAccount: "spiffe://td1/ns/def/sa/def",
    			HealthStatus:   model.UnHealthy,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 20:58:47 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/listener_builder_test.go

    		buildServiceWithPort("test2.com", 81, protocol.Unsupported, tnow),
    		buildServiceWithPort("test3.com", 82, protocol.TCP, tnow),
    	}
    	instances := make([]*model.ServiceInstance, 0, len(services))
    	for _, s := range services {
    		instances = append(instances, &model.ServiceInstance{
    			Service: s,
    			Endpoint: &model.IstioEndpoint{
    				EndpointPort: uint32(s.Ports[0].Port),
    				Address:      "1.1.1.1",
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  8. pilot/pkg/model/fuzz_test.go

    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func FuzzDeepCopyService(f *testing.F) {
    	fuzzDeepCopy[*Service](f)
    }
    
    func FuzzDeepCopyServiceInstance(f *testing.F) {
    	fuzzDeepCopy[*ServiceInstance](f)
    }
    
    func FuzzDeepCopyWorkloadInstance(f *testing.F) {
    	fuzzDeepCopy[*WorkloadInstance](f)
    }
    
    func FuzzDeepCopyIstioEndpoint(f *testing.F) {
    	fuzzDeepCopy[*IstioEndpoint](f)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 10 17:36:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/serviceimportcache_test.go

    		}
    		for _, si := range instances {
    			if si.Service == nil {
    				return fmt.Errorf("proxy ServiceInstance has nil service")
    			}
    			if _, found := expectedHosts[si.Service.Hostname]; !found {
    				return fmt.Errorf("found proxy ServiceInstance for unexpected host: %s", si.Service.Hostname)
    			}
    			delete(expectedHosts, si.Service.Hostname)
    		}
    
    		if len(expectedHosts) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 18:50:38 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ProjectRegistrySpec.groovy

            return NODE_INITIALIZER_REGISTRY
        }
    
        protected <T> void registerService(String path, Class<T> type, T instance) {
            registry.register(ModelRegistrations.serviceInstance(ModelReference.of(path, type), instance).descriptor("register service '$path'").build())
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top