Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for MeshExternal (0.41 sec)

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

    				Hostname:     "foo.local.campus.net",
    				MeshExternal: false,
    			},
    			port: 80,
    			node: &model.Proxy{
    				DNSDomain: "local.campus.net",
    			},
    			want: []string{
    				"foo.local.campus.net",
    				"foo",
    			},
    		},
    		{
    			name: "different domains with some shared dns",
    			service: &model.Service{
    				Hostname:     "foo.local.campus.net",
    				MeshExternal: false,
    			},
    			port: 80,
    			node: &model.Proxy{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/mock/discovery.go

    func MakeExternalHTTPService(hostname host.Name, isMeshExternal bool, address string) *model.Service {
    	return &model.Service{
    		CreationTime:   time.Now(),
    		Hostname:       hostname,
    		DefaultAddress: address,
    		MeshExternal:   isMeshExternal,
    		Ports: []*model.Port{{
    			Name:     "http",
    			Port:     80,
    			Protocol: protocol.HTTP,
    		}},
    	}
    }
    
    // MakeExternalHTTPSService creates memory external service
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 18:40:05 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  3. tests/integration/ambient/main_test.go

    	// Sidecar echo services with sidecar
    	Sidecar echo.Instances
    
    	// All echo services
    	All echo.Instances
    	// Echo services that are in the mesh
    	Mesh echo.Instances
    	// Echo services that are not in mesh
    	MeshExternal echo.Instances
    
    	MockExternal echo.Instances
    
    	// WaypointProxies by
    	WaypointProxies map[string]ambient.WaypointProxy
    }
    
    // TestMain defines the entrypoint for pilot tests using a standard Istio installation.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. tests/testdata/config/none.yaml

        protocol: HTTP
    
      location: MESH_INTERNAL
      resolution: STATIC
    
      endpoints:
      - address: 10.11.0.1
        ports:
          httplocal: 7071
    
    ---
    
    # Regular TCP outbound cluster (Default MeshExternal = true, Resolution ClientSideLB)
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
      name: s2
      namespace: none
    spec:
      hosts:
      - s2.external.test.istio.io
    
      ports:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 22 21:13:54 UTC 2020
    - 8.8K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/waypoint.go

    		refs := referencedServices[waypointService.String()]
    		for ref := range refs {
    			// We reference this service. Is it "inbound" for the waypoint or "outbound"?
    			ws, f := waypointServices[host.Name(ref)]
    			if !f || ws.MeshExternal {
    				outboundServices.Insert(ref)
    			}
    		}
    	}
    	res := make([]*model.Service, 0, len(outboundServices))
    	for _, s := range services {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. pilot/pkg/model/service_test.go

    			first:    &Service{Resolution: ClientSideLB},
    			other:    &Service{Resolution: Passthrough},
    			shouldEq: false,
    			name:     "different resolution",
    		},
    		{
    			first:    &Service{MeshExternal: true},
    			other:    &Service{MeshExternal: false},
    			shouldEq: false,
    			name:     "different mesh external setting",
    		},
    	}
    
    	for _, testCase := range cases {
    		t.Run("ServicesEqual: "+testCase.name, func(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_tls.go

    func (cb *ClusterBuilder) buildUpstreamTLSSettings(
    	tls *networking.ClientTLSSettings,
    	serviceAccounts []string,
    	sni string,
    	autoMTLSEnabled bool,
    	meshExternal bool,
    	serviceMTLSMode model.MutualTLSMode,
    ) (*networking.ClientTLSSettings, mtlsContextType) {
    	if tls != nil {
    		if tls.Mode == networking.ClientTLSSettings_DISABLE || tls.Mode == networking.ClientTLSSettings_SIMPLE {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/serviceentry/conversion.go

    	}
    
    	// Based on networking.istio.io/exportTo annotation
    	for k := range svc.Attributes.ExportTo {
    		// k is Private or Public
    		se.ExportTo = append(se.ExportTo, string(k))
    	}
    
    	if svc.MeshExternal {
    		se.Location = networking.ServiceEntry_MESH_EXTERNAL // 0 - default
    	} else {
    		se.Location = networking.ServiceEntry_MESH_INTERNAL
    	}
    
    	// Reverse in convertServices. Note that enum values are different
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    			t.Fatalf("got ports of %dst service, got:\n%#v\nwanted:\n%#v\n", i+1, svcList[i].Ports, exp.Ports)
    		}
    		if svcList[i].MeshExternal != exp.MeshExternal {
    			t.Fatalf("i=%v, MeshExternal==%v, should be %v: externalName='%s'", i+1, exp.MeshExternal, svcList[i].MeshExternal, k8sSvcs[i].Spec.ExternalName)
    		}
    		if svcList[i].Resolution != exp.Resolution {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  10. pilot/pkg/model/service.go

    	// by the caller)
    	Resolution Resolution
    
    	// MeshExternal (if true) indicates that the service is external to the mesh.
    	// These services are defined using Istio's ServiceEntry spec.
    	MeshExternal bool
    
    	// ResourceVersion represents the internal version of this object.
    	ResourceVersion string
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 46.3K bytes
    - Viewed (0)
Back to top