Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for appendErrors (0.26 sec)

  1. pkg/config/validation/agent/extensionprovider.go

    	}
    	if err := ValidatePort(int(config.Port)); err != nil {
    		errs = AppendErrors(errs, err)
    	}
    	if err := validateExtensionProviderService(config.Service); err != nil {
    		errs = AppendErrors(errs, err)
    	}
    	if err := validateExtensionProviderEnvoyExtAuthzStatusOnError(config.StatusOnError); err != nil {
    		errs = AppendErrors(errs, err)
    	}
    	if config.PathPrefix != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. pkg/config/validation/validation.go

    					errs = appendErrors(errs, security.CheckEmptyValues("Paths", op.Paths))
    					errs = appendErrors(errs, security.CheckEmptyValues("Hosts", op.Hosts))
    					errs = appendErrors(errs, security.CheckEmptyValues("NotPorts", op.NotPorts))
    					errs = appendErrors(errs, security.CheckEmptyValues("NotMethods", op.NotMethods))
    					errs = appendErrors(errs, security.CheckEmptyValues("NotPaths", op.NotPaths))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  3. pkg/config/validation/virtualservice.go

    			errs = appendErrors(errs, validateStringMatchRegexp(match.GetUri(), "uri"))
    			errs = appendErrors(errs, validateStringMatch(match.GetScheme(), "scheme"))
    			errs = appendErrors(errs, validateStringMatch(match.GetMethod(), "method"))
    			errs = appendErrors(errs, validateStringMatch(match.GetAuthority(), "authority"))
    			for _, qp := range match.GetQueryParams() {
    				errs = appendErrors(errs, validateStringMatch(qp, "queryParams"))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:27 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. pkg/config/validation/agent/validation.go

    		errs = AppendErrors(errs, fmt.Errorf("short names (non FQDN) are not allowed"))
    	}
    
    	if err := ValidateWildcardDomain(hostname); err != nil {
    		if !isGateway {
    			errs = AppendErrors(errs, err)
    		}
    
    		// Gateway allows IP as the host string, as well
    		if !netutil.IsValidIPAddress(hostname) {
    			errs = AppendErrors(errs, err)
    		}
    	}
    	// partial wildcard is not allowed
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    type OpenAPISchemaErrorList struct {
    	SchemaErrors field.ErrorList
    	CELErrors    field.ErrorList
    }
    
    // AppendErrors appends all errors in the provided list with the errors of this list.
    func (o *OpenAPISchemaErrorList) AppendErrors(list *OpenAPISchemaErrorList) {
    	if o == nil || list == nil {
    		return
    	}
    	o.SchemaErrors = append(o.SchemaErrors, list.SchemaErrors...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
Back to top