Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for objectNames (0.23 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/auth-handler.go

    			IsOwner:         false,
    			ObjectName:      objectName,
    		}) {
    			return ErrNone
    		}
    		return ErrAccessDenied
    	}
    
    	if globalIAMSys.IsAllowed(policy.Args{
    		AccountName:     cred.AccessKey,
    		Groups:          cred.Groups,
    		Action:          action,
    		BucketName:      bucketName,
    		ConditionValues: getConditionValues(r, "", cred),
    		ObjectName:      objectName,
    		IsOwner:         owner,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  7. cmd/utils_test.go

    		testCase := testCase
    		t.Run("", func(t *testing.T) {
    			bucketName, objectName := path2BucketObject(testCase.path)
    			if bucketName != testCase.bucket {
    				t.Errorf("failed expected bucket name \"%s\", got \"%s\"", testCase.bucket, bucketName)
    			}
    			if objectName != testCase.object {
    				t.Errorf("failed expected bucket name \"%s\", got \"%s\"", testCase.object, objectName)
    			}
    		})
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. cmd/object-api-utils_test.go

    		isValidObjectName := IsValidObjectName(testCase.objectName)
    		if testCase.shouldPass && !isValidObjectName {
    			t.Errorf("Test case %d: Expected \"%s\" to be a valid object name", i+1, testCase.objectName)
    		}
    		if !testCase.shouldPass && isValidObjectName {
    			t.Errorf("Test case %d: Expected object name \"%s\" to be invalid", i+1, testCase.objectName)
    		}
    	}
    }
    
    // Tests getCompleteMultipartMD5
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/storage/StorageClient.java

                        final Item item = result.get();
                        final String objectName = item.objectName();
                        requestDataSet.add(RequestDataBuilder.newRequestData().get().url("storage://" + bucketName + "/" + objectName).build());
                    }
                    throw new ChildUrlsException(requestDataSet, this.getClass().getName() + "#getResponseData");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  10. cmd/object-handlers-common.go

    				BucketName: bucket,
    				Object: ObjectInfo{
    					Name:      dobj.ObjectName,
    					VersionID: dobj.VersionID,
    				},
    				UserAgent: "Internal: [ILM-Expiry]",
    				Host:      globalLocalNodeName,
    			}
    			if errs[i] != nil {
    				evArgs.RespElements = map[string]string{
    					"error": fmt.Sprintf("failed to delete %s(%s), with error %v", dobj.ObjectName, dobj.VersionID, errs[i]),
    				}
    			}
    			sendEvent(evArgs)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top