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