Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for PutObjectMetadata (0.28 sec)

  1. cmd/erasure-sets.go

    	return s.getHashedSet(object).HealObject(ctx, bucket, object, versionID, opts)
    }
    
    // PutObjectMetadata - replace or add metadata to an existing object/version
    func (s *erasureSets) PutObjectMetadata(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error) {
    	er := s.getHashedSet(object)
    	return er.PutObjectMetadata(ctx, bucket, object, opts)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  2. cmd/s3-zip-handlers.go

    			oi.UserDefined[archiveInfoMetadataKey] = zipInfoStr
    			return dsc, nil
    		},
    	}
    
    	// For all other modes use in-place update to update metadata on a specific version.
    	if _, err = objectAPI.PutObjectMetadata(ctx, bucket, object, popts); err != nil {
    		return nil, err
    	}
    
    	return zipInfo, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. cmd/object-api-interface.go

    	// Returns health of the backend
    	Health(ctx context.Context, opts HealthOptions) HealthResult
    
    	// Metadata operations
    	PutObjectMetadata(context.Context, string, string, ObjectOptions) (ObjectInfo, error)
    	DecomTieredObject(context.Context, string, string, FileInfo, ObjectOptions) error
    
    	// ObjectTagging operations
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    	}
    
    	return result
    }
    
    // PutObjectMetadata - replace or add tags to an existing object
    func (z *erasureServerPools) PutObjectMetadata(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error) {
    	object = encodeDirObject(object)
    	if z.SinglePool() {
    		return z.serverPools[0].PutObjectMetadata(ctx, bucket, object, opts)
    	}
    
    	if !opts.NoLock {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    				oi.UserDefined[ReservedMetadataPrefixLower+ReplicationStatus] = dsc.PendingStatus()
    			}
    			return dsc, nil
    		},
    	}
    
    	objInfo, err := objectAPI.PutObjectMetadata(ctx, bucket, object, popts)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    	globalMRFState.addPartialOp(PartialOperation{
    		Bucket:    bucket,
    		Object:    object,
    		VersionID: versionID,
    		Queued:    time.Now(),
    	})
    }
    
    func (er erasureObjects) PutObjectMetadata(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error) {
    	if !opts.NoLock {
    		// Lock the object before updating metadata.
    		lk := er.NewNSLock(bucket, object)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    					}
    				}
    				if ri.UserTags != "" {
    					oi.UserDefined[xhttp.AmzObjectTagging] = ri.UserTags
    				}
    				return dsc, nil
    			},
    		}
    
    		uobjInfo, _ := objectAPI.PutObjectMetadata(ctx, bucket, object, popts)
    		if uobjInfo.Name != "" {
    			objInfo = uobjInfo
    		}
    
    		opType := replication.MetadataReplicationType
    		if rinfos.Action() == replicateAll {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top