forked from TrueCloudLab/frostfs-api-go
Alex Vanin
f69d2ad83c
Due to source code relocation from GitHub. Signed-off-by: Alex Vanin <a.vanin@yadro.com>
20 lines
477 B
Go
20 lines
477 B
Go
package tombstone
|
|
|
|
import (
|
|
refs "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/refs/grpc"
|
|
)
|
|
|
|
// SetExpirationEpoch sets number of tombstone expiration epoch.
|
|
func (x *Tombstone) SetExpirationEpoch(v uint64) {
|
|
x.ExpirationEpoch = v
|
|
}
|
|
|
|
// SetSplitId sets identifier of split object hierarchy.
|
|
func (x *Tombstone) SetSplitId(v []byte) {
|
|
x.SplitId = v
|
|
}
|
|
|
|
// SetMembers sets list of objects to be deleted.
|
|
func (x *Tombstone) SetMembers(v []*refs.ObjectID) {
|
|
x.Members = v
|
|
}
|