Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 336 for ports (0.04 sec)

  1. istioctl/pkg/describe/describe_test.go

    		},
    		{
    			port: corev1.ServicePort{
    				AppProtocol: &http,
    				Protocol:    corev1.ProtocolTCP,
    			},
    			expectedProtocol: "HTTP",
    		},
    		{
    			port: corev1.ServicePort{
    				Protocol: corev1.ProtocolTCP,
    				Port:     80,
    			},
    			expectedProtocol: "auto-detect",
    		},
    		{
    			port: corev1.ServicePort{
    				Protocol: corev1.ProtocolUDP,
    				Port:     80,
    			},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  2. cni/pkg/plugin/sidecar_redirect.go

    }
    
    func validatePortList(ports string) error {
    	if _, err := parsePorts(ports); err != nil {
    		return fmt.Errorf("portList %q invalid: %v", ports, err)
    	}
    	return nil
    }
    
    func validatePortListWithWildcard(ports string) error {
    	if ports != "*" {
    		return validatePortList(ports)
    	}
    	return nil
    }
    
    // validateCIDRListWithWildcard validates the includeIPRanges parameter
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/ztunnel/configdump/testdata/dump.json

              "address": "/10.244.2.8",
              "port": {
                "443": 8443
              }
            }
          },
          "subjectAltNames": []
        },
        "/10.96.198.255": {
          "name": "productpage",
          "namespace": "default",
          "hostname": "productpage.default.svc.cluster.local",
          "vips": [
            "/10.96.198.255"
          ],
          "ports": {
            "9080": 9080
          },
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/networking/v1/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;
    
      // endPort indicates that the range of ports from port to endPort if set, inclusive,
      // should be allowed by the policy. This field cannot be defined if the port field
      // is not defined or if the port field is defined as a named (string) port.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  5. istioctl/pkg/validate/validate_test.go

    kind: Service
    metadata:
      name: hello
    spec:
      ports:
        - name: http
          port: 9080`
    	validPortNamingWithSuffixSvc = `
    apiVersion: v1
    kind: Service
    metadata:
      name: hello
    spec:
      ports:
        - name: http-hello
          port: 9080`
    	invalidPortNamingSvc = `
    apiVersion: v1
    kind: Service
    metadata:
      name: hello
    spec:
      ports:
        - name: hello
          port: 9080`
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 02 16:18:14 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/networking/v1beta1/generated.proto

    // IngressPortStatus represents the error condition of a service port
    message IngressPortStatus {
      // port is the port number of the ingress port.
      optional int32 port = 1;
    
      // protocol is the protocol of the ingress port.
      // The supported values are: "TCP", "UDP", "SCTP"
      optional string protocol = 2;
    
      // error is to record the problem with the service port
      // The format of the error shall comply with the following rules:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. istioctl/pkg/workload/workload.go

    	we := wg.Spec.Template
    	ports := []string{}
    	for _, v := range we.Ports {
    		ports = append(ports, fmt.Sprint(v))
    	}
    	// respect the inbound port annotation and capture all traffic if no inbound ports are set
    	portBehavior := "*"
    	if len(ports) > 0 {
    		portBehavior = strings.Join(ports, ",")
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

    // IngressPortStatus represents the error condition of a service port
    message IngressPortStatus {
      // Port is the port number of the ingress port.
      optional int32 port = 1;
    
      // Protocol is the protocol of the ingress port.
      // The supported values are: "TCP", "UDP", "SCTP"
      optional string protocol = 2;
    
      // Error is to record the problem with the service port
      // The format of the error shall comply with the following rules:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  9. cni/pkg/plugin/plugin_test.go

    }
    
    func Test_dedupPorts(t *testing.T) {
    	type args struct {
    		ports []string
    	}
    	tests := []struct {
    		name string
    		args args
    		want []string
    	}{
    		{
    			name: "No duplicates",
    			args: args{ports: []string{"1234", "2345"}},
    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Sequential Duplicates",
    			args: args{ports: []string{"1234", "1234", "2345", "2345"}},
    			want: []string{"1234", "2345"},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. istioctl/pkg/workload/workload_test.go

    		})
    	}
    }
    
    func TestWorkloadEntryToPodPortsMeta(t *testing.T) {
    	cases := []struct {
    		description string
    		ports       map[string]uint32
    		want        string
    	}{
    		{
    			description: "test json marshal",
    			ports: map[string]uint32{
    				"HTTP":  80,
    				"HTTPS": 443,
    			},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top