Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for PortNumber (0.32 sec)

  1. pkg/config/analysis/analyzers/testdata/deprecation.yaml

      namespace: istio-system
    spec:
       # workloadLabels is deprecated
       workloadLabels:
         istio: egressgateway
       # filters is deprecated
       filters:
       - listenerMatch:
           portNumber: 15443
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: productpage
      namespace: foo
    spec:
      hosts:
      - productpage
      http:
      - fault:
          delay:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 17 12:28:05 UTC 2021
    - 1K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/envoyfilter/rc_patch.go

    		}
    
    		// FIXME: Ports on a route can be 0. the API only takes uint32 for ports
    		// We should either make that field in API as a wrapper type or switch to int
    		if rMatch.PortNumber != 0 && int(rMatch.PortNumber) != listenerPort {
    			return false
    		}
    
    		if rMatch.Name != "" && rMatch.Name != rc.Name {
    			return false
    		}
    
    		return true
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/envoyfilter/cluster_patch.go

    		return false
    	}
    
    	// FIXME: Ports on a cluster can be 0. the API only takes uint32 for ports
    	// We should either make that field in API as a wrapper type or switch to int
    	if cMatch.PortNumber != 0 && int(cMatch.PortNumber) != port {
    		return false
    	}
    	return true
    }
    
    func hostContains(hosts []host.Name, service host.Name) bool {
    	for _, h := range hosts {
    		if h == service {
    			return true
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. pilot/pkg/model/gateway_test.go

    	if !hosts.Equals(expectedHosts) {
    		t.Errorf("expected to get: [a.apps.svc.cluster.local,b.apps.svc.cluster.local], got: %s", hosts.String())
    	}
    }
    
    func makeConfig(name, namespace, host, portName, portProtocol string, portNumber uint32, gw string, bind string,
    	mode networking.ServerTLSSettings_TLSmode,
    ) config.Config {
    	c := config.Config{
    		Meta: config.Meta{
    			Name:      name,
    			Namespace: namespace,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 02:36:23 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/gateway/deploymentcontroller_test.go

    					},
    				},
    				Spec: k8s.GatewaySpec{
    					GatewayClassName: k8s.ObjectName(features.GatewayAPIDefaultGatewayClass),
    					Listeners: []k8s.Listener{{
    						Name:     "http",
    						Port:     k8s.PortNumber(80),
    						Protocol: k8s.HTTPProtocolType,
    					}},
    				},
    			},
    			objects:                  defaultObjects,
    			discoveryNamespaceFilter: discoveryNamespacesFilter,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  6. samples/bookinfo/src/ratings/ratings.js

     */
    if (process.env.SERVICE_VERSION === 'v2') {
      if (process.env.DB_TYPE === 'mysql') {
        var mysql = require('mysql')
        var hostName = process.env.MYSQL_DB_HOST
        var portNumber = process.env.MYSQL_DB_PORT
        var username = process.env.MYSQL_DB_USER
        var password = process.env.MYSQL_DB_PASSWORD
      } else {
        var MongoClient = require('mongodb').MongoClient
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Sep 02 00:29:57 UTC 2022
    - 8.8K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/listener_builder_test.go

    				Context: networking.EnvoyFilter_SIDECAR_OUTBOUND,
    				ObjectTypes: &networking.EnvoyFilter_EnvoyConfigObjectMatch_Listener{
    					Listener: &networking.EnvoyFilter_ListenerMatch{
    						PortNumber: 81,
    					},
    				},
    			},
    			Patch: &networking.EnvoyFilter_Patch{
    				Operation: networking.EnvoyFilter_Patch_REMOVE,
    			},
    		},
    		{
    			ApplyTo: networking.EnvoyFilter_LISTENER,
    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/networking/core/envoyfilter/listener_patch.go

    	// FIXME: Ports on a listener can be 0. the API only takes uint32 for ports
    	// We should either make that field in API as a wrapper type or switch to int
    	if lMatch.PortNumber != 0 {
    		sockAddr := listener.Address.GetSocketAddress()
    		if sockAddr == nil || sockAddr.GetPortValue() != lMatch.PortNumber {
    			return false
    		}
    	}
    	return true
    }
    
    // We assume that the parent listener has already been matched
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 15:39:29 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/network_test.go

    						Mode: &passthroughMode,
    						Options: map[v1beta1.AnnotationKey]v1beta1.AnnotationValue{
    							constants.ListenerModeOption: constants.ListenerModeAutoPassthrough,
    						},
    					},
    					Port: v1beta1.PortNumber(customPort),
    				},
    				{
    					Name: "detected-by-number",
    					TLS:  &v1beta1.GatewayTLSConfig{Mode: &passthroughMode},
    					Port: 15443,
    				},
    			},
    		},
    		Status: v1beta1.GatewayStatus{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster.go

    	sidecarScope := proxy.SidecarScope
    	for _, ingressListener := range sidecarScope.Sidecar.Ingress {
    		// LDS would have setup the inbound clusters
    		// as inbound|portNumber|portName|Hostname[or]SidecarScopeID
    		listenPort := &model.Port{
    			Port:     int(ingressListener.Port.Number),
    			Protocol: protocol.Parse(ingressListener.Port.Protocol),
    			Name:     ingressListener.Port.Name,
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
Back to top