Documentation ¶
Index ¶
- type Tombstone
- func (s *Tombstone) FromGRPCMessage(m grpc.Message) error
- func (s *Tombstone) GetExpirationEpoch() uint64
- func (s *Tombstone) GetMembers() []*refs.ObjectID
- func (s *Tombstone) GetSplitID() []byte
- func (s *Tombstone) MarshalJSON() ([]byte, error)
- func (s *Tombstone) SetExpirationEpoch(v uint64)
- func (s *Tombstone) SetMembers(v []*refs.ObjectID)
- func (s *Tombstone) SetSplitID(v []byte)
- func (s *Tombstone) StableMarshal(buf []byte) ([]byte, error)
- func (s *Tombstone) StableSize() (size int)
- func (s *Tombstone) ToGRPCMessage() grpc.Message
- func (s *Tombstone) Unmarshal(data []byte) error
- func (s *Tombstone) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tombstone ¶
type Tombstone struct {
// contains filtered or unexported fields
}
Tombstone is a unified structure of Tombstone message from proto definition.
func (*Tombstone) FromGRPCMessage ¶ added in v1.25.0
func (*Tombstone) GetExpirationEpoch ¶
GetExpirationEpoch returns number of tombstone expiration epoch.
func (*Tombstone) GetMembers ¶
GetMembers returns list of objects to be deleted.
func (*Tombstone) GetSplitID ¶
GetSplitID returns identifier of split object hierarchy.
func (*Tombstone) MarshalJSON ¶
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.
func (*Tombstone) StableMarshal ¶
StableMarshal marshals unified tombstone message in a protobuf compatible way without field order shuffle.
func (*Tombstone) StableSize ¶
StableSize returns size of tombstone message marshalled by StableMarshal function.
func (*Tombstone) ToGRPCMessage ¶ added in v1.25.0
func (*Tombstone) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.