Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for eq (0.14 sec)

  1. internal/s3select/sql/value.go

    		if len(left) != len(right) {
    			return false, nil
    		}
    		for i, l := range left {
    			eq, err := l.compareOp(op, &right[i])
    			if !eq || err != nil {
    				return eq, err
    			}
    		}
    		return true, nil
    	case opIneq:
    		for i, l := range left {
    			eq, err := l.compareOp(op, &right[i])
    			if eq || err != nil {
    				return eq, err
    			}
    		}
    		return false, nil
    	default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  2. cmd/post-policy_test.go

    			policy:             `{"expiration": "%s","conditions":[["eq", "$bucket", "` + bucketName + `"], ["starts-with", "$key", "test/"], ["eq", "$x-amz-algorithm", "AWS4-HMAC-SHA256"], ["eq", "$x-amz-date", "%s"], ["eq", "$x-amz-credential", "` + credentials.AccessKey + `/%s/us-east-1/s3/aws4_request"],["eq", "$x-amz-meta-uuid", "1234"]]}`,
    		},
    		// Success case, no multipart filename.
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  3. cmd/postpolicyform.go

    				}
    				// {"acl": "public-read" } is an alternate way to indicate - [ "eq", "$acl", "public-read" ]
    				// In this case we will just collapse this into "eq" for all use cases.
    				parsedPolicy.Conditions.Policies = append(parsedPolicy.Conditions.Policies, struct {
    					Operator string
    					Key      string
    					Value    string
    				}{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
Back to top