Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validateCIDRListWithWildcard (0.2 sec)

  1. cni/pkg/plugin/sidecar_redirect.go

    	return nil
    }
    
    func validatePortListWithWildcard(ports string) error {
    	if ports != "*" {
    		return validatePortList(ports)
    	}
    	return nil
    }
    
    // validateCIDRListWithWildcard validates the includeIPRanges parameter
    func validateCIDRListWithWildcard(ipRanges string) error {
    	if ipRanges != "*" {
    		if e := validateCIDRList(ipRanges); e != nil {
    			return fmt.Errorf("IPRanges invalid: %v", e)
    		}
    	}
    	return nil
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top