Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,220 for PORT (0.03 sec)

  1. 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)
  2. 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)
  3. internal/http/check_port_test.go

    		expectedErr error
    	}{
    		{"", port, fmt.Errorf("listen tcp :%v: bind: address already in use", port)},
    		{"127.0.0.1", port, fmt.Errorf("listen tcp 127.0.0.1:%v: bind: address already in use", port)},
    	}
    
    	for _, testCase := range testCases {
    		err := CheckPortAvailability(testCase.host, strconv.Itoa(testCase.port), TCPOptions{})
    		switch {
    		case testCase.expectedErr == nil:
    			if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 03 21:12:25 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/testdata/route-precedence.yaml.golden

        name: allowed-2.http.1
        route:
        - destination:
            host: svc2.allowed-2.svc.domain.suffix
            port:
              number: 80
      - match:
        - uri:
            prefix: /foo/bar
        name: allowed-2.http.0
        route:
        - destination:
            host: svc2.allowed-2.svc.domain.suffix
            port:
              number: 80
      - match:
        - headers:
            my-header:
              exact: some-value
          uri:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 11 20:21:53 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/kube/testdata/proxyless-custom-image.yaml

                path: /
                port: 8080
              initialDelaySeconds: 1
              periodSeconds: 2
              failureThreshold: 10
            livenessProbe:
              tcpSocket:
                port: tcp-health-port
              initialDelaySeconds: 10
              periodSeconds: 10
              failureThreshold: 10
            startupProbe:
              tcpSocket:
                port: tcp-health-port
              periodSeconds: 1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 17 04:28:06 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/inet/SocketInetAddress.java

        private final InetAddress address;
        private final int port;
    
        public SocketInetAddress(InetAddress address, int port) {
            this.address = address;
            this.port = port;
        }
    
        @Override
        public String getDisplayName() {
            return address + ":" + port;
        }
    
        @Override
        public String toString() {
            return getDisplayName();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. 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)
  8. pkg/proxy/ipvs/ipset/types.go

    const (
    	// HashIPPort represents the `hash:ip,port` type ipset.  The hash:ip,port is similar to hash:ip but
    	// you can store IP address and protocol-port pairs in it.  TCP, SCTP, UDP, UDPLITE, ICMP and ICMPv6 are supported
    	// with port numbers/ICMP(v6) types and other protocol numbers without port information.
    	HashIPPort Type = "hash:ip,port"
    	// HashIPPortIP represents the `hash:ip,port,ip` type ipset.  The hash:ip,port,ip set type uses a hash to store
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/kube/testdata/healthcheck-rewrite.yaml

                path: /
                port: 8080
              initialDelaySeconds: 1
              periodSeconds: 2
              failureThreshold: 10
            livenessProbe:
              tcpSocket:
                port: tcp-health-port
              initialDelaySeconds: 10
              periodSeconds: 10
              failureThreshold: 10
            startupProbe:
              tcpSocket:
                port: tcp-health-port
              periodSeconds: 1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 17 04:28:06 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/conversion.go

    	"istio.io/istio/pkg/config/visibility"
    	"istio.io/istio/pkg/spiffe"
    	"istio.io/istio/pkg/util/sets"
    )
    
    func convertPort(port corev1.ServicePort) *model.Port {
    	return &model.Port{
    		Name:     port.Name,
    		Port:     int(port.Port),
    		Protocol: kube.ConvertProtocol(port.Port, port.Name, port.Protocol, port.AppProtocol),
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top