Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for parseBool (0.11 sec)

  1. pkg/kubelet/kubelet_node_status_test.go

    				var err error
    				savedNode, err = applyNodeStatusPatch(tc.existingNode, patchAction.GetPatch())
    				require.NoError(t, err)
    			}
    
    			actualCMAD, _ := strconv.ParseBool(savedNode.Annotations[util.ControllerManagedAttachAnnotation])
    			assert.Equal(t, tc.savedNodeCMAD, actualCMAD, "test [%s]", tc.name)
    		}
    	}
    }
    
    func TestUpdateNewNodeStatusTooLargeReservation(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  2. 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)
  3. 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