Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for vid (0.01 sec)

  1. cmd/bucket-policy.go

    			principalType = "AssumedRole"
    		}
    		if username == globalActiveCred.AccessKey {
    			principalType = "Account"
    		}
    	}
    
    	vid := r.Form.Get(xhttp.VersionID)
    	if vid == "" {
    		if u, err := url.Parse(r.Header.Get(xhttp.AmzCopySource)); err == nil {
    			vid = u.Query().Get(xhttp.VersionID)
    		}
    	}
    
    	authType := getRequestAuthType(r)
    	var signatureVersion string
    	switch authType {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  2. cmd/object-api-options.go

    }
    
    func putOpts(ctx context.Context, bucket, object, vid string, hdrs http.Header, metadata map[string]string) (opts ObjectOptions, err error) {
    	versioned := globalBucketVersioningSys.PrefixEnabled(bucket, object)
    	versionSuspended := globalBucketVersioningSys.PrefixSuspended(bucket, object)
    
    	vid = strings.TrimSpace(vid)
    	if vid != "" && vid != nullVersionID {
    		_, err := uuid.Parse(vid)
    		if err != nil {
    			return opts, InvalidVersionID{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. cmd/erasure-healing-common.go

    	vidMap := map[string]int{}
    	for index, metadata := range partsMetadata {
    		if errs[index] != nil {
    			continue
    		}
    		vid := metadata.VersionID
    		if metadata.VersionID == "" {
    			vid = nullVersionID
    		}
    		vidMap[vid]++
    		etags[index] = metadata.Metadata["etag"]
    	}
    
    	for _, count := range vidMap {
    		// do we have enough common versions
    		// that have enough quorum to satisfy
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. cmd/bucket-handlers_test.go

    	deletedObjects := make([]DeletedObject, len(requestList[0].Objects))
    	for i := range requestList[0].Objects {
    		var vid string
    		if isDirObject(requestList[0].Objects[i].ObjectName) {
    			vid = ""
    		}
    		deletedObjects[i] = DeletedObject{
    			ObjectName: requestList[0].Objects[i].ObjectName,
    			VersionID:  vid,
    		}
    	}
    
    	successResponse0 := generateMultiDeleteResponse(requestList[0].Quiet, deletedObjects, nil)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  5. cmd/warm-backend-azure.go

    		AccessTier:  az.tier(), // set tier if specified
    		Metadata:    azMeta,
    	})
    	if err != nil {
    		return "", azureToObjectError(err, az.Bucket, az.getDest(object))
    	}
    	vid := ""
    	if resp.VersionID != nil {
    		vid = *resp.VersionID
    	}
    	return remoteVersionID(vid), nil
    }
    
    func (az *warmBackendAzure) Put(ctx context.Context, object string, r io.Reader, length int64) (remoteVersionID, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. cmd/storage-rest-common.go

    )
    
    const (
    	storageRESTVolume           = "vol"
    	storageRESTVolumes          = "vols"
    	storageRESTDirPath          = "dpath"
    	storageRESTFilePath         = "fp"
    	storageRESTVersionID        = "vid"
    	storageRESTHealing          = "heal"
    	storageRESTTotalVersions    = "tvers"
    	storageRESTSrcVolume        = "svol"
    	storageRESTSrcPath          = "spath"
    	storageRESTDstVolume        = "dvol"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Aug 12 08:38:15 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. docs/site-replication/run-multi-site-ldap.sh

    if [ $? -eq 0 ]; then
    	echo "expected object to be deleted permanently after replication, exiting.."
    	exit_1
    fi
    
    vID=$(./mc stat --no-list minio2/newbucket/README.md --json | jq .versionID)
    if [ $? -ne 0 ]; then
    	echo "expecting object to be present. exiting.."
    	exit_1
    fi
    ./mc tag set --version-id "${vID}" minio2/newbucket/README.md "key=val"
    if [ $? -ne 0 ]; then
    	echo "expecting tag set to be successful. exiting.."
    	exit_1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. docs/site-replication/run-multi-site-minio-idp.sh

    if [ $? -eq 0 ]; then
    	echo "expected object to be deleted permanently after replication, exiting.."
    	exit_1
    fi
    
    vID=$(./mc stat --no-list minio2/newbucket/README.md --json | jq .versionID)
    if [ $? -ne 0 ]; then
    	echo "expecting object to be present. exiting.."
    	exit_1
    fi
    ./mc tag set --version-id "${vID}" minio2/newbucket/README.md "key=val"
    if [ $? -ne 0 ]; then
    	echo "expecting tag set to be successful. exiting.."
    	exit_1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. cmd/object-multipart-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrInvalidCopySource), r.URL)
    		return
    	}
    
    	if vid != "" && vid != nullVersionID {
    		_, err := uuid.Parse(vid)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, VersionNotFound{
    				Bucket:    srcBucket,
    				Object:    srcObject,
    				VersionID: vid,
    			}), r.URL)
    			return
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle.go

    	versionSuspended := globalBucketVersioningSys.PrefixSuspended(bucket, object)
    	vid := strings.TrimSpace(r.Form.Get(xhttp.VersionID))
    	if vid != "" && vid != nullVersionID {
    		_, err := uuid.Parse(vid)
    		if err != nil {
    			s3LogIf(ctx, err)
    			return opts, InvalidVersionID{
    				Bucket:    bucket,
    				Object:    object,
    				VersionID: vid,
    			}
    		}
    		if !versioned && !versionSuspended {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
Back to top