Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Boolean (0.18 sec)

  1. internal/s3select/sql/evaluate.go

    		}
    		return FromFloat(*e.Int), nil
    	case e.Float != nil:
    		return FromFloat(*e.Float), nil
    	case e.String != nil:
    		return FromString(string(*e.String)), nil
    	case e.Boolean != nil:
    		return FromBool(bool(*e.Boolean)), nil
    	case e.Missing:
    		return FromMissing(), nil
    	}
    	return FromNull(), nil
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  2. internal/s3select/sql/parser.go

    	"github.com/alecthomas/participle/lexer"
    )
    
    // Types with custom Capture interface for parsing
    
    // Boolean is a type for a parsed Boolean literal
    type Boolean bool
    
    // Capture interface used by participle
    func (b *Boolean) Capture(values []string) error {
    	*b = Boolean(strings.EqualFold(values[0], "true"))
    	return nil
    }
    
    // LiteralString is a type for parsed SQL string literals
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/expiration.go

    }
    
    // ExpireDeleteMarker represents value of ExpiredObjectDeleteMarker field in Expiration XML element.
    type ExpireDeleteMarker struct {
    	Boolean
    }
    
    // Boolean signifies a boolean XML struct with custom marshaling
    type Boolean struct {
    	val    bool
    	set    bool
    	Unused struct{} // Needed for GOB compatibility
    }
    
    // Expiration - expiration actions for a rule in lifecycle configuration.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 6.6K bytes
    - Viewed (1)
  4. internal/config/browser/help.go

    			Optional:    true,
    			Type:        "boolean",
    		},
    		config.HelpKV{
    			Key:         browserHSTSPreload,
    			Description: `turn 'on' to set Strict-Transport-Security 'preload' directive` + defaultHelpPostfix(browserHSTSPreload),
    			Optional:    true,
    			Type:        "boolean",
    		},
    		config.HelpKV{
    			Key:         browserReferrerPolicy,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jan 01 16:36:33 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  5. internal/config/identity/ldap/ldap.go

    		return "", fmt.Errorf("Unable to find user DN: %w", err)
    	}
    	return validDN, err
    }
    
    // GetValidatedUserDN validates the given user DN. Will error out if conn is nil. The returned
    // boolean is true iff the user DN is found under one of the LDAP user base DNs.
    func (l *Config) GetValidatedUserDN(conn *ldap.Conn, userDN string) (string, bool, error) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  6. docs/iam/access-management-plugin.md

            ""
          ]
        },
        "owner": true,
        "object": "",
        "claims": {},
        "denyOnly": false
      }
    }
    ```
    
    </details>
    
    The response expected by MinIO, is a JSON body with a boolean:
    
    ```json
    {
        "result": true
    }
    ```
    
    The following structure is also accepted:
    
    ```json
    {
        "result": {
            "allow": true
        }
    }
    ```
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Dec 13 22:28:48 GMT 2022
    - 4.4K bytes
    - Viewed (0)
  7. cmd/postpolicyform.go

    			return parsedPolicy, fmt.Errorf("Unknown field %s of type %s found in POST policy form",
    				condt, reflect.TypeOf(condt).String())
    		}
    	}
    	return parsedPolicy, nil
    }
    
    // checkPolicyCond returns a boolean to indicate if a condition is satisfied according
    // to the passed operator
    func checkPolicyCond(op string, input1, input2 string) bool {
    	switch op {
    	case policyCondEqual:
    		return input1 == input2
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  8. docs/bucket/versioning/README.md

            minioClient.makeBucket(MakeBucketArgs.builder().bucket("my-bucketname").build());
            System.out.println("my-bucketname is created successfully");
          }
    
          boolean isVersioningEnabled =
              minioClient.isVersioningEnabled(
                  IsVersioningEnabledArgs.builder().bucket("my-bucketname").build());
          if (isVersioningEnabled) {
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu May 04 21:43:52 GMT 2023
    - 11.9K bytes
    - Viewed (1)
  9. cmd/metacache-stream.go

    // 3. Binary. Blob of metadata. Length 0 on directories.
    // ... Next element.
    //
    // Streams can be assumed to be sorted in ascending order.
    // If the stream ends before a false boolean it can be assumed it was truncated.
    
    const metacacheStreamVersion = 2
    
    // metacacheWriter provides a serializer of metacache objects.
    type metacacheWriter struct {
    	streamErr   error
    	mw          *msgp.Writer
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    		IsOwner:         false,
    	})
    
    	encodedSuccessResponse := encodeResponse(PolicyStatus{
    		IsPublic: func() string {
    			// Silly to have special 'boolean' values yes
    			// but complying with silly implementation
    			// https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketPolicyStatus.html
    			if readable && writable {
    				return "TRUE"
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top