Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 463 for PORT (0.27 sec)

  1. tests/integration/pilot/tunneling_test.go

    }
    
    type testRequestSpec struct {
    	protocol protocol.Instance
    	port     echo.Port
    }
    
    var forwardProxyConfigurations = []forwardproxy.ListenerSettings{
    	{
    		Port:        3128,
    		HTTPVersion: forwardproxy.HTTP1,
    		TLSEnabled:  false,
    	},
    	{
    		Port:        4128,
    		HTTPVersion: forwardproxy.HTTP1,
    		TLSEnabled:  true,
    	},
    	{
    		Port:        5128,
    		HTTPVersion: forwardproxy.HTTP2,
    		TLSEnabled:  false,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    		pl := &workloadapi.PortList{
    			Ports: make([]*workloadapi.Port, 0, len(svc.Ports)),
    		}
    		res[n] = pl
    		for _, port := range svc.Ports {
    			targetPort := port.TargetPort
    			// The svc.Ports represents the workloadapi.Service, which drops the port name info and just has numeric target Port.
    			// TargetPort can be 0 which indicates its a named port. Check if its a named port and replace with the real targetPort if so.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/networkfilter.go

    	networkFilterStack := buildNetworkFiltersStack(port.Protocol, tcpFilter, statPrefix, clusterName)
    
    	return lb.buildCompleteNetworkFilters(class, port.Port, networkFilterStack, includeMx, nil)
    }
    
    func (lb *ListenerBuilder) buildCompleteNetworkFilters(
    	class istionetworking.ListenerClass,
    	port int,
    	networkFilterStack []*listener.Filter,
    	includeMx bool,
    	policySvc *model.Service,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  4. pkg/kubelet/lifecycle/handlers_test.go

    func TestRunHandlerHTTPPort(t *testing.T) {
    	tests := []struct {
    		Name        string
    		Port        intstr.IntOrString
    		ExpectError bool
    		Expected    string
    	}{
    		{
    			Name:     "consistent/with port",
    			Port:     intstr.FromString("70"),
    			Expected: "https://foo:70/bar",
    		}, {
    			Name:        "consistent/without port",
    			Port:        intstr.FromString(""),
    			ExpectError: true,
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  5. pilot/cmd/pilot-agent/status/server_test.go

    			probe: `{"/app-health/hello-world/readyz": {"grpc": {"port": 8888}, "httpGet": {"path": "/", "port": 7777}}}`,
    			err:   "must be one of type httpGet, tcpSocket or gRPC",
    		},
    		// Port is not Int typed (tcpSocket).
    		{
    			probe: `{"/app-health/hello-world/readyz": {"tcpSocket": {"port": "tcp"}}}`,
    			err:   "must be int type",
    		},
    		// Port is not Int typed (httpGet).
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/serviceentry/conversion_test.go

    	}
    	return model.ServiceTarget{
    		Service: svc,
    		Port: model.ServiceInstancePort{
    			ServicePort: &model.Port{
    				Name:     svcPort.Name,
    				Port:     int(svcPort.Number),
    				Protocol: protocol.Parse(svcPort.Protocol),
    			},
    			TargetPort: uint32(port),
    		},
    	}
    }
    
    // nolint: unparam
    func makeInstance(cfg *config.Config, address string, port int,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 39K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/ambient/authorization.go

    						NotDestinationPorts: []uint32{port}, // if the incoming connection does not match this port, deny (notice there's no principals requirement)
    					},
    				},
    			})
    		default:
    			log.Debugf("skipping port %s for PeerAuthentication %s/%s for ambient since it is %s", port, cfg.Namespace, cfg.Name, portMtlsMode)
    			continue
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 16:23:36 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  8. pkg/api/pod/warnings.go

    					fldPath.Child("ports").Index(i), port))
    			}
    			k := fmt.Sprintf("%d/%s", port.ContainerPort, port.Protocol)
    			if others, found := allPorts[k]; found {
    				// Someone else has this protcol+port, but it still might not be a conflict.
    				for _, other := range others {
    					if port.HostIP == other.port.HostIP && port.HostPort == other.port.HostPort {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster.go

    		// For service instances with the same port,
    		// we still need to capture all the instances on this port, as its required to populate telemetry metadata
    		// The first instance will be used as the "primary" instance; this means if we have an conflicts between
    		// Services the first one wins
    		port := int(instance.Port.TargetPort)
    		clustersToBuild[port] = append(clustersToBuild[port], instance)
    	}
    
    	bind := actualLocalHosts[0]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  10. pkg/config/validation/agent/extensionprovider.go

    	if config == nil {
    		return fmt.Errorf("nil EnvoyExternalAuthorizationGrpcProvider")
    	}
    	if err := ValidatePort(int(config.Port)); err != nil {
    		errs = AppendErrors(errs, fmt.Errorf("invalid service port: %v", err))
    	}
    	if err := validateExtensionProviderService(config.Service); err != nil {
    		errs = AppendErrors(errs, err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top