Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for validatePort (0.11 sec)

  1. pkg/config/validation/validation.go

    						errs = appendErrors(errs, fmt.Errorf("`to.operation` must not be empty, found at rule %d", i))
    					}
    					errs = appendErrors(errs, security.ValidatePorts(to.Operation.GetPorts()))
    					errs = appendErrors(errs, security.ValidatePorts(to.Operation.GetNotPorts()))
    					errs = appendErrors(errs, security.CheckEmptyValues("Ports", op.Ports))
    					errs = appendErrors(errs, security.CheckEmptyValues("Methods", op.Methods))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  2. pkg/config/validation/virtualservice.go

    				errs = appendErrors(errs, validateStringMatch(qp, "queryParams"))
    			}
    		}
    	}
    
    	for _, match := range http.Match {
    		if match != nil {
    			if match.Port != 0 {
    				errs = appendErrors(errs, agent.ValidatePort(int(match.Port)))
    			}
    			errs = appendErrors(errs, labels.Instance(match.SourceLabels).Validate())
    			errs = appendErrors(errs, validateGatewayNames(match.Gateways, false))
    			if match.SourceNamespace != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:27 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top