Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for appendErrors (0.1 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/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)
Back to top