Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for serviceInstance (1.14 sec)

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

    	tests := []struct {
    		name                      string
    		instances                 []*model.ServiceInstance
    		services                  []*model.Service
    		numListenersOnServicePort int
    	}{
    		{
    			name: "gen a listener per IP instance",
    			instances: []*model.ServiceInstance{
    				// This instance is the proxy itself, will not gen a outbound listener for it.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  2. 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)
  3. pilot/pkg/config/kube/gateway/conversion_test.go

    			// Setup a few preconfigured services
    			instances := []*model.ServiceInstance{}
    			for _, svc := range services {
    				instances = append(instances, &model.ServiceInstance{
    					Service:     svc,
    					ServicePort: ports[0],
    					Endpoint:    &model.IstioEndpoint{EndpointPort: 8080},
    				}, &model.ServiceInstance{
    					Service:     svc,
    					ServicePort: ports[1],
    					Endpoint:    &model.IstioEndpoint{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 34.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelRegistrations.java

    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.List;
    
    @ThreadSafe
    public abstract class ModelRegistrations {
    
        public static <T> Builder serviceInstance(ModelReference<T> modelReference, T instance) {
            return bridgedInstance(modelReference, instance)
                .hidden(true);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/sidecar_simulation_test.go

    )
    
    func flattenInstances(il ...[]*model.ServiceInstance) []*model.ServiceInstance {
    	ret := []*model.ServiceInstance{}
    	for _, i := range il {
    		ret = append(ret, i...)
    	}
    	return ret
    }
    
    func makeInstances(proxy *model.Proxy, svc *model.Service, servicePort int, targetPort int) []*model.ServiceInstance {
    	ret := []*model.ServiceInstance{}
    	for _, p := range svc.Ports {
    		if p.Port != servicePort {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  6. pilot/pkg/model/push_context_test.go

    	instancePlainText := &ServiceInstance{
    		Endpoint: &IstioEndpoint{
    			Address:      "192.168.1.2",
    			EndpointPort: 1000000,
    			TLSMode:      DisabledTLSModeLabel,
    		},
    	}
    
    	cases := []struct {
    		name              string
    		serviceNamespace  string
    		servicePort       int
    		serviceResolution Resolution
    		serviceInstances  []*ServiceInstance
    		wanted            MutualTLSMode
    	}{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/controller.go

    		return ""
    	}
    
    	return region + "/" + zone + "/" + subzone // Format: "%s/%s/%s"
    }
    
    func (c *Controller) serviceInstancesFromWorkloadInstances(svc *model.Service, reqSvcPort int) []*model.ServiceInstance {
    	// Run through all the workload instances, select ones that match the service labels
    	// only if this is a kubernetes internal service and of ClientSideLB (eds) type
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  8. tools/bug-report/pkg/testdata/input/ingress.log

    2020-06-29T23:37:27.287957Z...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 03 15:51:03 UTC 2020
    - 11K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_builder_test.go

    	cases := []struct {
    		name      string
    		mesh      *meshconfig.MeshConfig
    		labels    labels.Instance
    		instances []*model.ServiceInstance
    		expected  []*endpoint.LocalityLbEndpoints
    	}{
    		{
    			name: "basics",
    			mesh: testMesh(),
    			instances: []*model.ServiceInstance{
    				{
    					Service:     service,
    					ServicePort: servicePort,
    					Endpoint: &model.IstioEndpoint{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/fake.go

    	ConfigTemplateInput any
    
    	// Services to pre-populate as part of the service discovery
    	Services  []*model.Service
    	Instances []*model.ServiceInstance
    	Gateways  []model.NetworkGateway
    
    	// If provided, this mesh config will be used
    	MeshConfig      *meshconfig.MeshConfig
    	NetworksWatcher mesh.NetworksWatcher
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top