frostfs-node/pkg/local_object_storage/blobstor/common/put.go

20 lines
424 B
Go
Raw Normal View History

package common
import (
objectSDK "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object"
oid "git.frostfs.info/TrueCloudLab/frostfs-sdk-go/object/id"
)
// PutPrm groups the parameters of Put operation.
type PutPrm struct {
Address oid.Address
Object *objectSDK.Object
RawData []byte
DontCompress bool
}
// PutRes groups the resulting values of Put operation.
type PutRes struct {
StorageID []byte
}