2022-07-06 13:41:35 +00:00
|
|
|
package common
|
|
|
|
|
|
|
|
import (
|
2023-03-07 13:38:26 +00:00
|
|
|
objectSDK "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
|
|
|
|
oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id"
|
2022-07-06 13:41:35 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// PutPrm groups the parameters of Put operation.
|
|
|
|
type PutPrm struct {
|
2022-07-08 07:09:48 +00:00
|
|
|
Address oid.Address
|
|
|
|
Object *objectSDK.Object
|
|
|
|
RawData []byte
|
|
|
|
DontCompress bool
|
2022-07-06 13:41:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// PutRes groups the resulting values of Put operation.
|
|
|
|
type PutRes struct {
|
2022-07-06 14:09:50 +00:00
|
|
|
StorageID []byte
|
2022-07-06 13:41:35 +00:00
|
|
|
}
|