(putReq *objectstorage.PutObjectRequest, req *objectstorage.CreateMultipartUploadRequest)
| 492 | } |
| 493 | |
| 494 | func (o *Object) applyMultipartUploadOptions(putReq *objectstorage.PutObjectRequest, req *objectstorage.CreateMultipartUploadRequest) { |
| 495 | req.ContentType = putReq.ContentType |
| 496 | req.ContentLanguage = putReq.ContentLanguage |
| 497 | req.ContentEncoding = putReq.ContentEncoding |
| 498 | req.ContentDisposition = putReq.ContentDisposition |
| 499 | req.CacheControl = putReq.CacheControl |
| 500 | req.Metadata = metadataWithOpcPrefix(putReq.OpcMeta) |
| 501 | req.OpcSseCustomerAlgorithm = putReq.OpcSseCustomerAlgorithm |
| 502 | req.OpcSseCustomerKey = putReq.OpcSseCustomerKey |
| 503 | req.OpcSseCustomerKeySha256 = putReq.OpcSseCustomerKeySha256 |
| 504 | req.OpcSseKmsKeyId = putReq.OpcSseKmsKeyId |
| 505 | } |
| 506 | |
| 507 | func (o *Object) applyPartUploadOptions(putReq *objectstorage.PutObjectRequest, req *objectstorage.UploadPartRequest) { |
| 508 | req.OpcSseCustomerAlgorithm = putReq.OpcSseCustomerAlgorithm |
no test coverage detected