Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for userMetadata (0.08 sec)

  1. cmd/api-response.go

    		}
    		if metaErr == ErrNone {
    			content.UserMetadata = &Metadata{}
    			switch kind, _ := crypto.IsEncrypted(object.UserDefined); kind {
    			case crypto.S3:
    				content.UserMetadata.Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionAES)
    			case crypto.S3KMS:
    				content.UserMetadata.Set(xhttp.AmzServerSideEncryption, xhttp.AmzEncryptionKMS)
    			case crypto.SSEC:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 19:27:06 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  2. cmd/warm-backend-minio.go

    	}
    	res, err := m.client.PutObject(ctx, m.Bucket, m.getDest(object), r, length, minio.PutObjectOptions{
    		StorageClass:         m.StorageClass,
    		PartSize:             uint64(partSize),
    		DisableContentSha256: true,
    		UserMetadata:         meta,
    	})
    	return remoteVersionID(res.VersionID), m.ToObjectError(err, object)
    }
    
    func (m *warmBackendMinIO) 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
    - 4K bytes
    - Viewed (0)
  3. cmd/warm-backend-s3.go

    	res, err := s3.client.PutObject(ctx, s3.Bucket, s3.getDest(object), r, length, minio.PutObjectOptions{
    		SendContentMd5: true,
    		StorageClass:   s3.StorageClass,
    		UserMetadata:   meta,
    	})
    	return remoteVersionID(res.VersionID), s3.ToObjectError(err, object)
    }
    
    func (s3 *warmBackendS3) 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
    - 5.7K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle.go

    	Prefix       string          `xml:"Prefix,omitempty"`
    	StorageClass string          `xml:"StorageClass,omitempty"`
    	Tagging      *tags.Tags      `xml:"Tagging,omitempty"`
    	UserMetadata []MetadataEntry `xml:"UserMetadata"`
    }
    
    // OutputLocation specifies bucket where object needs to be restored
    type OutputLocation struct {
    	S3 S3Location `xml:"S3,omitempty"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    	}
    	if ok {
    		oi.ContentEncoding = ce
    	}
    
    	_, ok = oi.UserDefined[xhttp.AmzStorageClass]
    	if !ok {
    		oi.UserDefined[xhttp.AmzStorageClass] = objInfo.StorageClass
    	}
    
    	for k, v := range objInfo.UserMetadata {
    		oi.UserDefined[k] = v
    	}
    
    	return oi
    }
    
    func (r BatchJobReplicateV1) writeAsArchive(ctx context.Context, objAPI ObjectLayer, remoteClnt *minio.Client, entries []ObjectInfo, prefix string) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    				}
    			}
    		}
    	}
    
    	if sc == "" && (objInfo.StorageClass == storageclass.STANDARD || objInfo.StorageClass == storageclass.RRS) {
    		sc = objInfo.StorageClass
    	}
    	putOpts = minio.PutObjectOptions{
    		UserMetadata:    meta,
    		ContentType:     objInfo.ContentType,
    		ContentEncoding: objInfo.ContentEncoding,
    		Expires:         objInfo.Expires,
    		StorageClass:    sc,
    		Internal: minio.AdvancedPutOptions{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    		// Remove the metadata for remote calls.
    		delete(srcInfo.UserDefined, ReservedMetadataPrefix+"compression")
    		delete(srcInfo.UserDefined, ReservedMetadataPrefix+"actual-size")
    		opts := miniogo.PutObjectOptions{
    			UserMetadata:         srcInfo.UserDefined,
    			ServerSideEncryption: dstOpts.ServerSideEncryption,
    			UserTags:             tag.ToMap(),
    		}
    		remoteObjInfo, rerr := core.PutObject(ctx, dstBucket, dstObject, srcInfo.Reader,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
Back to top