Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ObjectNames (0.19 sec)

  1. cmd/bucket-handlers_test.go

    		// if object upload fails stop the test.
    		if err != nil {
    			t.Fatalf("Put Object %d:  Error uploading object: <ERROR> %v", i, err)
    		}
    
    		// object used for the test.
    		objectNames = append(objectNames, objectName)
    	}
    
    	contentBytes := []byte("hello")
    	for _, name := range []string{"private/object", "public/object"} {
    		// Uploading the object with retention enabled
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  2. cmd/erasure-object_test.go

    					ObjectName: testCases[i].object,
    				},
    			}
    		}
    		return names
    	}
    
    	objectNames := toObjectNames(testCases)
    	_, delErrs := obj.DeleteObjects(ctx, bucketName, objectNames, ObjectOptions{})
    
    	for i := range delErrs {
    		if delErrs[i] != nil {
    			t.Errorf("Failed to remove object `%v` with the error: `%v`", objectNames[i], delErrs[i])
    		}
    	}
    
    	for _, test := range testCases {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  3. cmd/post-policy_test.go

    	apiRouter := initTestAPIEndPoints(obj, []string{"PostPolicy"})
    
    	credentials := globalActiveCred
    
    	curTime := UTCNow()
    	curTimePlus5Min := curTime.Add(time.Minute * 5)
    
    	// bucketnames[0].
    	// objectNames[0].
    	// uploadIds [0].
    	// Create bucket before initiating NewMultipartUpload.
    	err := obj.MakeBucket(context.Background(), bucketName, MakeBucketOptions{})
    	if err != nil {
    		// Failed to create newbucket, abort.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top