Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for parseBool (0.1 sec)

  1. pkg/config/validation/validation.go

    		}
    		if spec, ok := cfg.Spec.(*security_beta.AuthorizationPolicy); ok {
    			switch spec.Action {
    			case security_beta.AuthorizationPolicy_ALLOW, security_beta.AuthorizationPolicy_DENY:
    				if _, err := strconv.ParseBool(val); err != nil {
    					return fmt.Errorf("%s/%s has annotation %s with invalid value (%s): %v", cfg.Namespace, cfg.Name, annotation.IoIstioDryRun.Name, val, err)
    				}
    			default:
    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. src/database/sql/sql.go

    // *interface{}, *string, *[]byte, or [*RawBytes].
    //
    // For scanning into *bool, the source may be true, false, 1, 0, or
    // string inputs parseable by [strconv.ParseBool].
    //
    // Scan can also convert a cursor returned from a query, such as
    // "select cursor(select * from my_table) from dual", into a
    // [*Rows] value that can itself be scanned from. The parent
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
Back to top