Documentation
¶
Index ¶
- Variables
- type Tombstone
- func (x *Tombstone) ClearExpirationEpoch()
- func (x *Tombstone) ClearSplitId()
- func (x *Tombstone) GetExpirationEpoch() uint64
- func (x *Tombstone) GetMembers() []*grpc.ObjectID
- func (x *Tombstone) GetSplitId() []byte
- func (x *Tombstone) HasExpirationEpoch() bool
- func (x *Tombstone) HasSplitId() bool
- func (*Tombstone) ProtoMessage()
- func (x *Tombstone) ProtoReflect() protoreflect.Message
- func (x *Tombstone) Reset()
- func (x *Tombstone) SetExpirationEpoch(v uint64)
- func (x *Tombstone) SetMembers(v []*grpc.ObjectID)
- func (x *Tombstone) SetSplitId(v []byte)
- func (x *Tombstone) String() string
- type Tombstone_builder
Constants ¶
This section is empty.
Variables ¶
View Source
var File_api_tombstone_grpc_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Tombstone ¶
type Tombstone struct { // Last FrostFS epoch number of the tombstone lifetime. It's set by the // tombstone creator depending on the current FrostFS network settings. A // tombstone object must have the same expiration epoch value in // `__SYSTEM__EXPIRATION_EPOCH` (`__NEOFS__EXPIRATION_EPOCH` is deprecated) // attribute. Otherwise, the tombstone will be rejected by a storage node. ExpirationEpoch *uint64 `protobuf:"varint,1,opt,name=expiration_epoch,json=expirationEpoch" json:"expiration_epoch,omitempty"` // 16 byte UUID used to identify the split object hierarchy parts. Must be // unique inside a 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" json:"split_id,omitempty"` // List of objects to be deleted. Members []*grpc.ObjectID `protobuf:"bytes,3,rep,name=members" json:"members,omitempty"` // contains filtered or unexported fields }
Tombstone keeps record of deleted objects for a few epochs until they are purged from the FrostFS network.
func (*Tombstone) ClearExpirationEpoch ¶
func (x *Tombstone) ClearExpirationEpoch()
func (*Tombstone) ClearSplitId ¶
func (x *Tombstone) ClearSplitId()
func (*Tombstone) GetExpirationEpoch ¶
func (*Tombstone) GetMembers ¶
func (*Tombstone) GetSplitId ¶
func (*Tombstone) HasExpirationEpoch ¶
func (*Tombstone) HasSplitId ¶
func (*Tombstone) ProtoMessage ¶
func (*Tombstone) ProtoMessage()
func (*Tombstone) ProtoReflect ¶
func (x *Tombstone) ProtoReflect() protoreflect.Message
func (*Tombstone) SetExpirationEpoch ¶
func (*Tombstone) SetMembers ¶
func (*Tombstone) SetSplitId ¶
type Tombstone_builder ¶
type Tombstone_builder struct { // Last FrostFS epoch number of the tombstone lifetime. It's set by the // tombstone creator depending on the current FrostFS network settings. A // tombstone object must have the same expiration epoch value in // `__SYSTEM__EXPIRATION_EPOCH` (`__NEOFS__EXPIRATION_EPOCH` is deprecated) // attribute. Otherwise, the tombstone will be rejected by a storage node. ExpirationEpoch *uint64 // 16 byte UUID used to identify the split object hierarchy parts. Must be // unique inside a container. All objects participating in the split must // have the same `split_id` value. SplitId []byte // List of objects to be deleted. Members []*grpc.ObjectID // contains filtered or unexported fields }
func (Tombstone_builder) Build ¶
func (b0 Tombstone_builder) Build() *Tombstone
Click to show internal directories.
Click to hide internal directories.