2020-12-10 08:30:14 +00:00
|
|
|
package tombstone
|
|
|
|
|
|
|
|
import (
|
2023-03-07 10:38:56 +00:00
|
|
|
refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc"
|
2020-12-10 08:30:14 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// SetExpirationEpoch sets number of tombstone expiration epoch.
|
|
|
|
func (x *Tombstone) SetExpirationEpoch(v uint64) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.ExpirationEpoch = v
|
2020-12-10 08:30:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetSplitId sets identifier of split object hierarchy.
|
|
|
|
func (x *Tombstone) SetSplitId(v []byte) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.SplitId = v
|
2020-12-10 08:30:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// SetMembers sets list of objects to be deleted.
|
|
|
|
func (x *Tombstone) SetMembers(v []*refs.ObjectID) {
|
2022-03-23 11:42:57 +00:00
|
|
|
x.Members = v
|
2020-12-10 08:30:14 +00:00
|
|
|
}
|