Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for objectNames (0.11 sec)

  1. cmd/object-api-multipart_test.go

    				{
    					Object:   objectNames[0],
    					UploadID: uploadIDs[4],
    				},
    				{
    					Object:   objectNames[1],
    					UploadID: uploadIDs[5],
    				},
    				{
    					Object:   objectNames[2],
    					UploadID: uploadIDs[6],
    				},
    				{
    					Object:   objectNames[3],
    					UploadID: uploadIDs[7],
    				},
    				{
    					Object:   objectNames[4],
    					UploadID: uploadIDs[8],
    				},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  2. cmd/bucket-handlers_test.go

    	}
    
    	getObjectToDeleteList := func(objectNames []string) (objectList []ObjectToDelete) {
    		for _, objectName := range objectNames {
    			objectList = append(objectList, ObjectToDelete{
    				ObjectV: ObjectV{
    					ObjectName: objectName,
    				},
    			})
    		}
    
    		return objectList
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  3. cmd/erasure-object_test.go

    				ObjectV: ObjectV{
    					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])
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  4. cmd/post-policy_test.go

    	return req, nil
    }
    
    func newPostRequestV4WithContentLength(endPoint, bucketName, objectName string, objData []byte, accessKey, secretKey string) (*http.Request, error) {
    	t := UTCNow()
    	region := "us-east-1"
    	policy := buildGenericPolicy(t, accessKey, region, bucketName, objectName, true)
    	return newPostRequestV4Generic(endPoint, bucketName, objectName, objData, accessKey, secretKey, region, t, policy, nil, false, false, false)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  5. cmd/bucket-handlers.go

    	for i := range deleteObjectsReq.Objects {
    		deleteObjectsReq.Objects[i].ObjectName = trimLeadingSlash(deleteObjectsReq.Objects[i].ObjectName)
    		objects[i] = deleteObjectsReq.Objects[i].ObjectV
    	}
    
    	// Make sure to update context to print ObjectNames for multi objects.
    	ctx = updateReqContext(ctx, objects...)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  6. cmd/server_test.go

    	c.Assert(response.StatusCode, http.StatusOK)
    
    	objectName2 := "testObject2"
    	// Unlike the actual PUT object request, the request to Copy Object doesn't contain request body,
    	// empty body with the "X-Amz-Copy-Source" header pointing to the object to copies it in the backend.
    	request, err = newTestRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName2), 0, nil)
    	c.Assert(err, nil)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    		0: {
    			bucketName: bucketName,
    			objectName: objectName,
    			data:       bytesData,
    			dataLen:    len(bytesData),
    			accessKey:  credentials.AccessKey,
    			secretKey:  credentials.SecretKey,
    
    			expectedRespStatus: http.StatusOK,
    		},
    		// Test Case with invalid accessID.
    		1: {
    			bucketName: bucketName,
    			objectName: objectName,
    			data:       bytesData,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 20:10:44 UTC 2024
    - 163.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

                    final Map<String, Object> map = new HashMap<>();
                    final Item item = result.get();
                    final String objectName = item.objectName();
                    map.put("id", encodeId(objectName));
                    map.put("path", prefix);
                    map.put("name", getName(objectName));
                    map.put("hashCode", item.hashCode());
                    map.put("size", item.size());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/lifecycle_test.go

    			objectName:     "foodir/fooobject",
    			expectedAction: NoneAction,
    		},
    		// Prefix not matched
    		{
    			inputConfig:    `<LifecycleConfiguration><Rule><Filter><Prefix>foodir/</Prefix></Filter><Status>Enabled</Status><Expiration><Days>5</Days></Expiration></Rule></LifecycleConfiguration>`,
    			objectName:     "foxdir/fooobject",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  10. cmd/storage-rest_test.go

    	}
    
    	testCases := []struct {
    		volumeName string
    		objectName string
    		expectErr  bool
    	}{
    		{"foo", "myobject", false},
    		// file not found error.
    		{"foo", "yourobject", true},
    	}
    
    	for i, testCase := range testCases {
    		_, err := storage.StatInfoFile(context.Background(), testCase.volumeName, testCase.objectName+"/"+xlStorageFormatFile, false)
    		expectErr := (err != nil)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top