Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for endPort (0.09 sec)

  1. 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)
  2. staging/src/k8s.io/api/extensions/v1beta1/types.go

    	// If set, indicates that the range of ports from port to endPort, 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: Mon Nov 27 20:06:29 UTC 2023
    - 61.3K bytes
    - Viewed (0)
Back to top