Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Se (0.02 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    			}
    
    			w.WorkloadName, w.WorkloadType = se.Name, workloadapi.WorkloadType_POD // XXX(shashankram): HACK to impersonate pod
    			w.CanonicalName, w.CanonicalRevision = kubelabels.CanonicalService(se.Labels, w.WorkloadName)
    
    			setTunnelProtocol(se.Labels, se.Annotations, w)
    			res = append(res, model.WorkloadInfo{Workload: w, Labels: se.Labels, Source: kind.WorkloadEntry, CreationTime: se.CreationTimestamp.Time})
    		}
    		return res
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/services_test.go

    )
    
    func TestServiceEntryServices(t *testing.T) {
    	cases := []struct {
    		name   string
    		inputs []any
    		se     *networkingclient.ServiceEntry
    		result []*workloadapi.Service
    	}{
    		{
    			name:   "DNS service entry with address",
    			inputs: []any{},
    			se: &networkingclient.ServiceEntry{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "name",
    					Namespace: "ns",
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 05 12:29:55 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. tests/integration/ambient/waypoint_test.go

    func SetWaypoint(t framework.TestContext, svc string, waypoint string) {
    	setWaypointInternal(t, svc, apps.Namespace.Name(), waypoint, true)
    }
    
    func SetWaypointServiceEntry(t framework.TestContext, se, namespace string, waypoint string) {
    	setWaypointInternal(t, se, namespace, waypoint, false)
    }
    
    func setWaypointInternal(t framework.TestContext, name, ns string, waypoint string, service bool) {
    	for _, c := range t.Clusters() {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    		})
    	}
    }
    
    func TestServiceEntryWorkloads(t *testing.T) {
    	cases := []struct {
    		name   string
    		inputs []any
    		se     *networkingclient.ServiceEntry
    		result []*workloadapi.Workload
    	}{
    		{
    			name:   "dns without endpoints",
    			inputs: []any{},
    			se: &networkingclient.ServiceEntry{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "name",
    					Namespace: "ns",
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/peer_authentication_simulation_test.go

          app: foo
      mtls:
        mode: DISABLE
      portLevelMtls:
        9000:
          mode: PERMISSIVE
    ---`
    	sePort8000 := `
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
     name: se
    spec:
     hosts:
     - foo.bar
     endpoints:
     - address: 1.1.1.1
     location: MESH_INTERNAL
     resolution: STATIC
     ports:
     - name: http
       number: 8000
       protocol: HTTP
    ---`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. pilot/pkg/model/gateway.go

    		portNumber, _, _ := ParseGatewayRDSRouteName(r)
    		if _, f := pm[portNumber]; !f {
    			pm[portNumber] = sets.New[int]()
    		}
    		for _, se := range s {
    			if se.Port == nil {
    				continue
    			}
    			pm[portNumber].Insert(int(se.Port.Number))
    		}
    	}
    	return pm
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  7. tests/integration/ambient/baseline_test.go

        - destination:
            host: "{{.Destination}}"
    `).ApplyOrFail(t)
    
    			cfg := config.YAML(`
    {{ $to := .To }}
    apiVersion: networking.istio.io/v1beta1
    kind: ServiceEntry
    metadata:
      name: test-se
    spec:
      hosts:
      - serviceentry.istio.io # not used
      addresses:
      - 111.111.222.222
      ports:
      - number: 80
        name: http
        protocol: HTTP
      resolution: {{.Resolution}}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/cluster_builder_test.go

    		service                  *model.Service
    		port                     *model.Port
    		proxyView                model.ProxyView
    		destRule                 *networking.DestinationRule
    		serviceAcct              []string // SE SAN values
    		enableAutoSni            bool
    		enableVerifyCertAtClient bool
    		expectTLSContext         *tls.UpstreamTlsContext
    	}{
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/sidecar_simulation_test.go

      namespace: istio-system
    spec:
      mtls:
        mode: %s
    `, m)
    }
    
    func TestInbound(t *testing.T) {
    	svc := `
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
      name: se
    spec:
      hosts:
      - foo.bar
      endpoints:
      - address: 1.1.1.1
      location: MESH_INTERNAL
      resolution: STATIC
      ports:
      - name: tcp
        number: 70
        protocol: TCP
      - name: http
    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/config/kube/gateway/conversion.go

    	for _, obj := range ses {
    		if obj.Meta.Name == name {
    			ns := obj.Meta.Namespace
    			if ns == "" {
    				ns = metav1.NamespaceDefault
    			}
    			if ns == namespace {
    				se := obj.Spec.(*istio.ServiceEntry)
    				return se.Hosts
    			}
    		}
    	}
    	return []string{}
    }
    
    func buildMeshAndGatewayRoutes[T any](parentRefs []routeParentReference, convertRules func(mesh bool) T) (T, T) {
    	var meshResult, gwResult T
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
Back to top