Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 2,708 for PORT (0.2 sec)

  1. pilot/pkg/model/validation_test.go

    					Protocol: service1.Ports[1].Protocol,
    				},
    				Endpoint: &IstioEndpoint{
    					Address:      "192.168.1.2",
    					EndpointPort: uint32(service1.Ports[1].Port),
    				},
    			},
    		},
    		{
    			name: "endpoint port and protocol mismatch",
    			instance: &ServiceInstance{
    				Service: service1,
    				ServicePort: &Port{
    					Name:     "http",
    					Port:     service1.Ports[1].Port + 1,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 23 19:35:35 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. pkg/probe/util.go

    	}
    	if port > 0 && port < 65536 {
    		return port, nil
    	}
    	return port, fmt.Errorf("invalid port number: %v", port)
    }
    
    // findPortByName is a helper function to look up a port in a container by name.
    func findPortByName(container *v1.Container, portName string) (int, error) {
    	for _, port := range container.Ports {
    		if port.Name == portName {
    			return int(port.ContainerPort), nil
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 19 16:51:52 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  3. pkg/config/validation/agent/extensionprovider_test.go

    				Service: "name/space/datadog-agent.com",
    				Port:    8126,
    			},
    			valid: false,
    		},
    		{
    			name: "datadog service with port",
    			config: &meshconfig.MeshConfig_ExtensionProvider_DatadogTracingProvider{
    				Service: "datadog-agent.com:8126",
    				Port:    8126,
    			},
    			valid: false,
    		},
    		{
    			name: "datadog missing port",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/testdata/multicluster/inconsistent-service-2.yaml

      ports:
      - name: tcp-foo
        protocol: TCP
        port: 8080
        targetPort: 8080
    ---
    # Service with extra port in cluster2, should generate warning.
    apiVersion: v1
    kind: Service
    metadata:
      name: extra-port
      namespace: my-namespace
    spec:
      selector:
        app: my-service
      ports:
      - name: tcp-foo
        protocol: TCP
        port: 8080
        targetPort: 8080
      - name: tcp-bar
        protocol: TCP
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. pkg/controller/endpointslicemirroring/reconciler_test.go

    	for _, epPort := range epPorts {
    		portsToBeMatched[epPort.Port] = epPort
    	}
    
    	for _, epsPort := range epsPorts {
    		epPort, ok := portsToBeMatched[*epsPort.Port]
    		if !ok {
    			return false
    		}
    		delete(portsToBeMatched, *epsPort.Port)
    
    		if epPort.Name != *epsPort.Name {
    			return false
    		}
    		if epPort.Port != *epsPort.Port {
    			return false
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  6. pkg/controlplane/reconcilers/lease_test.go

    				{Name: "foo", Port: 8080, Protocol: "TCP"},
    				{Name: "bar", Port: 1000, Protocol: "TCP"},
    				{Name: "baz", Port: 1010, Protocol: "TCP"},
    			},
    			initialState: makeEndpointsArray("foo", []string{"1.2.3.4"},
    				[]corev1.EndpointPort{
    					{Name: "foo", Port: 8080, Protocol: "TCP"},
    					{Name: "bar", Port: 1000, Protocol: "TCP"},
    					{Name: "baz", Port: 1010, Protocol: "TCP"},
    				},
    			),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 28.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/net/HostAndPort.java

       * @param port a port number from [0..65535]
       * @return if parsing was successful, a populated HostAndPort object.
       * @throws IllegalArgumentException if {@code host} contains a port number, or {@code port} is out
       *     of range.
       */
      public static HostAndPort fromParts(String host, int port) {
        checkArgument(isValidPort(port), "Port out of range: %s", port);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Aug 22 20:55:57 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  8. operator/pkg/translate/strategic_port_merge_test.go

    		Name:       "http-port",
    		Port:       80,
    		TargetPort: intstr.IntOrString{IntVal: 8080},
    	}
    	mysqlPort = &v1.ServicePort{
    		Name:     "mysql-port",
    		Protocol: v1.ProtocolTCP,
    		Port:     3306,
    	}
    	istioHealthcheckPort = &v1.ServicePort{
    		Name:     "status-port",
    		Protocol: v1.ProtocolTCP,
    		Port:     15021,
    	}
    	istioMetricsPort = &v1.ServicePort{
    		Name:     "metrics-port",
    		Protocol: v1.ProtocolTCP,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 21 03:06:37 UTC 2021
    - 6.2K bytes
    - Viewed (0)
  9. pkg/registry/core/service/portallocator/operation.go

    		}
    
    		// Try to find the next non allocated port.
    		// If too many ports are full, just reuse one,
    		// since this is just a dummy value.
    		for port := lastPort + 1; port < 100; port++ {
    			err := op.Allocate(port)
    			if err == nil {
    				return port, nil
    			}
    		}
    		op.allocated = append(op.allocated, lastPort+1)
    		return lastPort + 1, nil
    	}
    
    	port, err := op.pa.AllocateNext()
    	if err == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  10. pilot/pkg/model/validation.go

    		}
    	}
    
    	port := instance.ServicePort
    	if port == nil {
    		errs = multierror.Append(errs, fmt.Errorf("missing service port"))
    	} else if instance.Service != nil {
    		expected, ok := instance.Service.Ports.Get(port.Name)
    		if !ok {
    			errs = multierror.Append(errs, fmt.Errorf("missing service port %q", port.Name))
    		} else {
    			if expected.Port != port.Port {
    				errs = multierror.Append(errs,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top