Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for ObjectName (0.19 sec)

  1. 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)
  2. 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)
  3. internal/event/rulesmap.go

    func (rulesMap RulesMap) MatchSimple(eventName Name, objectName string) bool {
    	return rulesMap[eventName].MatchSimple(objectName)
    }
    
    // Match - returns TargetIDSet matching object name and event name in rules map.
    func (rulesMap RulesMap) Match(eventName Name, objectName string) TargetIDSet {
    	return rulesMap[eventName].Match(objectName)
    }
    
    // NewRulesMap - creates new rules map with given values.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.6K 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/server_test.go

    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// generate http request for an object upload.
    	// "test-object" is the object name.
    	objectName := "test-object"
    	request, err = newTestSignedRequest(http.MethodPut, getPutObjectURL(s.endPoint, bucketName, objectName),
    		0, nil, s.accessKey, s.secretKey, s.signer)
    	c.Assert(err, nil)
    
    	// execute the request to complete object upload.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 116.3K bytes
    - Viewed (0)
  6. 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)
  7. cmd/bucket-handlers_test.go

    	sha256sum := ""
    	var objectNames []string
    	for i := 0; i < 10; i++ {
    		contentBytes := []byte("hello")
    		objectName := "test-object-" + strconv.Itoa(i)
    		if i == 0 {
    			objectName += "/"
    			contentBytes = []byte{}
    		}
    		// uploading the object.
    		_, err = obj.PutObject(GlobalContext, bucketName, objectName, mustGetPutObjReader(t, bytes.NewReader(contentBytes), int64(len(contentBytes)), "", sha256sum), ObjectOptions{})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java

            private String bucketName;
            private String objectName;
            private StatObjectResponse statObject;
    
            protected StorageURLConnection(final URL url) {
                super(url);
                final String[] values = url.toExternalForm().split("/", 2);
                if (values.length == 2) {
                    bucketName = values[0];
                    objectName = values[1];
                } else {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top