tombstone

package
v0.0.0-...-0352b5b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tombstone

type Tombstone struct {
	ExpirationEpoch uint64          `json:"expirationEpoch"`
	SplitId         []byte          `json:"splitID"`
	Members         []grpc.ObjectID `json:"members"`
}

func (*Tombstone) EmitProtobuf

func (x *Tombstone) EmitProtobuf(mm *easyproto.MessageMarshaler)

func (*Tombstone) GetExpirationEpoch

func (x *Tombstone) GetExpirationEpoch() uint64

func (*Tombstone) GetMembers

func (x *Tombstone) GetMembers() []grpc.ObjectID

func (*Tombstone) GetSplitId

func (x *Tombstone) GetSplitId() []byte

func (*Tombstone) MarshalEasyJSON

func (x *Tombstone) MarshalEasyJSON(out *jwriter.Writer)

func (*Tombstone) MarshalJSON

func (x *Tombstone) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface.

func (*Tombstone) MarshalProtobuf

func (x *Tombstone) MarshalProtobuf(dst []byte) []byte

MarshalProtobuf implements the encoding.ProtoMarshaler interface.

func (*Tombstone) SetExpirationEpoch

func (x *Tombstone) SetExpirationEpoch(v uint64)

func (*Tombstone) SetMembers

func (x *Tombstone) SetMembers(v []grpc.ObjectID)

func (*Tombstone) SetSplitId

func (x *Tombstone) SetSplitId(v []byte)

func (*Tombstone) StableSize

func (x *Tombstone) StableSize() (size int)

StableSize returns the size of x in protobuf format.

Structures with the same field values have the same binary size.

func (*Tombstone) UnmarshalEasyJSON

func (x *Tombstone) UnmarshalEasyJSON(in *jlexer.Lexer)

func (*Tombstone) UnmarshalJSON

func (x *Tombstone) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaler interface.

func (*Tombstone) UnmarshalProtobuf

func (x *Tombstone) UnmarshalProtobuf(src []byte) (err error)

UnmarshalProtobuf implements the encoding.ProtoUnmarshaler interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL