Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 98 for endPort (0.14 sec)

  1. pkg/proxy/ipvs/ipset/ipset.go

    		}
    		if i == 0 {
    			beginPort = num
    			continue
    		}
    		endPort = num
    		// switch when first port number > second port number
    		if beginPort > endPort {
    			endPort = beginPort
    			beginPort = num
    		}
    	}
    	return beginPort, endPort, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 17.1K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/ipset/ipset_test.go

    		portRange string
    		expectErr bool
    		beginPort int
    		endPort   int
    		desc      string
    	}{
    		{ // case[0]
    			portRange: "1-100",
    			expectErr: false,
    			beginPort: 1,
    			endPort:   100,
    		},
    		{ // case[1]
    			portRange: "0-0",
    			expectErr: false,
    			beginPort: 0,
    			endPort:   0,
    		},
    		{ // case[2]
    			portRange: "100-10",
    			expectErr: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 41.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/networking/v1/types.go

    	// 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.
    	// The endPort must be equal or greater than port.
    	// +optional
    	EndPort *int32 `json:"endPort,omitempty" protobuf:"bytes,3,opt,name=endPort"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/networking/v1/zz_generated.deepcopy.go

    		*out = new(corev1.Protocol)
    		**out = **in
    	}
    	if in.Port != nil {
    		in, out := &in.Port, &out.Port
    		*out = new(intstr.IntOrString)
    		**out = **in
    	}
    	if in.EndPort != nil {
    		in, out := &in.EndPort, &out.EndPort
    		*out = new(int32)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 20K bytes
    - Viewed (0)
  5. pkg/apis/networking/validation/validation_test.go

    }
    
    func makePort(proto *api.Protocol, port intstr.IntOrString, endPort int32) networking.NetworkPolicyPort {
    	r := networking.NetworkPolicyPort{
    		Protocol: proto,
    		Port:     nil,
    	}
    	if port != intstr.FromInt32(0) && port != intstr.FromString("") && port != intstr.FromString("0") {
    		r.Port = &port
    	}
    	if endPort != 0 {
    		r.EndPort = utilpointer.Int32(endPort)
    	}
    	return r
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 73.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/networking/v1/generated.proto

      // 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.
      // The endPort must be equal or greater than port.
      // +optional
      optional int32 endPort = 3;
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/networking/v1/types_swagger_doc_generated.go

    	"endPort":  "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. The endPort must be equal or greater than port.",
    }
    
    func (NetworkPolicyPort) SwaggerDoc() map[string]string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  8. pkg/apis/networking/types.go

    	// +optional
    	Port *intstr.IntOrString
    
    	// 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.
    	// The endPort must be equal or greater than port.
    	// +optional
    	EndPort *int32
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:06 UTC 2023
    - 27.7K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/networking/v1/generated.proto

      // 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.
      // The endPort must be equal or greater than port.
      // +optional
      optional int32 endPort = 3;
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  10. pkg/apis/networking/zz_generated.deepcopy.go

    		*out = new(core.Protocol)
    		**out = **in
    	}
    	if in.Port != nil {
    		in, out := &in.Port, &out.Port
    		*out = new(intstr.IntOrString)
    		**out = **in
    	}
    	if in.EndPort != nil {
    		in, out := &in.EndPort, &out.EndPort
    		*out = new(int32)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:58 UTC 2023
    - 25.6K bytes
    - Viewed (0)
Back to top