Documentation ¶
Index ¶
- Variables
- type Tombstone
- func (*Tombstone) Descriptor() ([]byte, []int)deprecated
- func (x *Tombstone) GetExpirationEpoch() uint64
- func (x *Tombstone) GetMembers() []*grpc.ObjectID
- func (x *Tombstone) GetSplitId() []byte
- func (*Tombstone) ProtoMessage()
- func (x *Tombstone) ProtoReflect() protoreflect.Message
- func (x *Tombstone) Reset()
- func (x *Tombstone) SetExpirationEpoch(v uint64)
- func (x *Tombstone) SetMembers(v []*refs.ObjectID)
- func (x *Tombstone) SetSplitId(v []byte)
- func (x *Tombstone) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_v2_tombstone_grpc_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Tombstone ¶
type Tombstone struct { // Last NeoFS epoch number of the tombstone lifetime. It's set by tombstone // creator depending on current NeoFS network settings. ExpirationEpoch uint64 `protobuf:"varint,1,opt,name=expiration_epoch,json=expirationEpoch,proto3" json:"expiration_epoch,omitempty"` // 16 byte UUID used to identify the split object hierarchy parts. Must be // unique inside container. All objects participating in the split must // have the same `split_id` value. SplitId []byte `protobuf:"bytes,2,opt,name=split_id,json=splitID,proto3" json:"split_id,omitempty"` // List of objects to be deleted. Members []*grpc.ObjectID `protobuf:"bytes,3,rep,name=members,proto3" json:"members,omitempty"` // contains filtered or unexported fields }
Tombstone keeps record of deleted objects for few epochs until they are purged from the NeoFS network.
func (*Tombstone) Descriptor
deprecated
func (*Tombstone) GetExpirationEpoch ¶
func (*Tombstone) GetMembers ¶
func (*Tombstone) GetSplitId ¶
func (*Tombstone) ProtoMessage ¶
func (*Tombstone) ProtoMessage()
func (*Tombstone) ProtoReflect ¶
func (x *Tombstone) ProtoReflect() protoreflect.Message
func (*Tombstone) SetExpirationEpoch ¶
SetExpirationEpoch sets number of tombstone expiration epoch.
func (*Tombstone) SetMembers ¶
SetMembers sets list of objects to be deleted.
func (*Tombstone) SetSplitId ¶
SetSplitId sets identifier of split object hierarchy.
Click to show internal directories.
Click to hide internal directories.