Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for portNumbers (0.17 sec)

  1. pkg/config/analysis/analyzers/testdata/envoy-filter-replace-operation.yaml

      priority: 10
      configPatches:
        # The first patch adds the Lua filter to the listener/http connection manager
      - applyTo: HTTP_FILTER
        match:
          context: SIDECAR_INBOUND
          listener:
            portNumber: 8080
            filterChain:
              filter:
                name: "envoy.filters.network.http_connection_manager"
                subFilter:
                  name: "envoy.filters.http.router"
        patch:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 31 19:38:42 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/testdata/absolute-envoy-filter-operation.yaml

          app: reviews
      configPatches:
        # The first patch adds the lua filter to the listener/http connection manager
      - applyTo: HTTP_FILTER
        match:
          context: SIDECAR_INBOUND
          listener:
            portNumber: 8080
            filterChain:
              filter:
                name: "envoy.filters.network.http_connection_manager"
                subFilter:
                  name: "envoy.filters.http.router"
        patch:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 28 12:58:54 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. pkg/test/echo/server/endpoint/grpc.go

    			}
    		}
    	}
    
    	id := uuid.New()
    	epLog.WithLabels("message", req.GetMessage(), "headers", md, "id", id).Infof("GRPC Request")
    
    	portNumber := 0
    	if h.Port != nil {
    		portNumber = h.Port.Port
    	}
    
    	ip := "0.0.0.0"
    	if peerInfo, ok := peer.FromContext(ctx); ok {
    		ip, _, _ = net.SplitHostPort(peerInfo.Addr.String())
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 25 17:30:37 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/testdata/envoy-filter-patch-operation.yaml

          app: reviews
      configPatches:
        # The first patch adds the Lua filter to the listener/http connection manager
      - applyTo: HTTP_FILTER
        match:
          context: SIDECAR_INBOUND
          listener:
            portNumber: 8080
            filterChain:
              filter:
                name: "envoy.filters.network.http_connection_manager"
                subFilter:
                  name: "envoy.filters.http.router"
        patch:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 31 19:38:42 UTC 2022
    - 5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top