Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for 123_ (0.12 sec)

  1. cmd/sts-handlers_test.go

       ]
      }
     ]
    }`)
    	err = s.adm.AddCannedPolicy(ctx, policy, policyBytes)
    	if err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	if err = s.adm.AddUser(ctx, "dillon", "dillon-123"); err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	err = s.adm.SetPolicy(ctx, policy, "dillon", false)
    	if err != nil {
    		c.Fatalf("Unable to set policy: %v", err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  2. cmd/post-policy_test.go

    	// Add the credential string, only accept the credential passed.
    	credentialConditionStr := fmt.Sprintf(`["eq", "$x-amz-credential", "%s"]`, credential)
    	// Add the meta-uuid string, set to 1234
    	uuidConditionStr := fmt.Sprintf(`["eq", "$x-amz-meta-uuid", "%s"]`, "1234")
    
    	// Combine all conditions into one string.
    	conditionStr := fmt.Sprintf(`"conditions":[%s, %s, %s, %s, %s, %s, %s]`, bucketConditionStr,
    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/xl-storage_test.go

    	}{
    		// Cases which should pass the test.
    		// passing in valid bucket names.
    		{"lol", true},
    		{"1-this-is-valid", true},
    		{"1-this-too-is-valid-1", true},
    		{"this.works.too.1", true},
    		{"1234567", true},
    		{"123", true},
    		{"s3-eu-west-1.amazonaws.com", true},
    		{"ideas-are-more-powerful-than-guns", true},
    		{"testbucket", true},
    		{"1bucket", true},
    		{"bucket1", true},
    		{"$this-is-not-valid-too", true},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  4. cmd/warm-backend-gcs.go

    		return err
    	}
    
    	reason := googleAPIErr.Errors[0].Reason
    	message := googleAPIErr.Errors[0].Message
    
    	switch reason {
    	case "required":
    		// Anonymous users does not have storage.xyz access to project 123.
    		fallthrough
    	case "keyInvalid":
    		fallthrough
    	case "forbidden":
    		err = PrefixAccessDenied{
    			Bucket: bucket,
    			Object: object,
    		}
    	case "invalid":
    		err = BucketNameInvalid{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  5. cmd/apierrorcode_string.go

    	_ = x[ErrObjectLockConfigurationNotAllowed-119]
    	_ = x[ErrNoSuchObjectLockConfiguration-120]
    	_ = x[ErrObjectLocked-121]
    	_ = x[ErrInvalidRetentionDate-122]
    	_ = x[ErrPastObjectLockRetainDate-123]
    	_ = x[ErrUnknownWORMModeDirective-124]
    	_ = x[ErrBucketTaggingNotFound-125]
    	_ = x[ErrObjectLockInvalidHeaders-126]
    	_ = x[ErrInvalidTagDirective-127]
    	_ = x[ErrPolicyAlreadyAttached-128]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    		},
    
    		// Invalid crc32
    		7: {
    			bucketName:         bucketName,
    			objectName:         objectName,
    			headers:            map[string]string{"x-amz-checksum-crc32": "123"},
    			data:               bytesData,
    			dataLen:            len(bytesData),
    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			expectedRespStatus: http.StatusBadRequest,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top