MCPcopy
hub / github.com/dgraph-io/dgraph / BackupKey

Struct BackupKey

protos/pb/pb.pb.go:5578–5590  ·  view source on GitHub ↗

A key stored in the format used for writing backups.

Source from the content-addressed store, hash-verified

5576
5577// A key stored in the format used for writing backups.
5578type BackupKey struct {
5579 state protoimpl.MessageState
5580 sizeCache protoimpl.SizeCache
5581 unknownFields protoimpl.UnknownFields
5582
5583 Type BackupKey_KeyType `protobuf:"varint,1,opt,name=type,proto3,enum=pb.BackupKey_KeyType" json:"type,omitempty"`
5584 Attr string `protobuf:"bytes,2,opt,name=attr,proto3" json:"attr,omitempty"`
5585 Uid uint64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"`
5586 StartUid uint64 `protobuf:"varint,4,opt,name=start_uid,json=startUid,proto3" json:"start_uid,omitempty"`
5587 Term []byte `protobuf:"bytes,5,opt,name=term,proto3" json:"term,omitempty"`
5588 Count uint32 `protobuf:"varint,6,opt,name=count,proto3" json:"count,omitempty"`
5589 Namespace uint64 `protobuf:"varint,7,opt,name=namespace,proto3" json:"namespace,omitempty"`
5590}
5591
5592func (x *BackupKey) Reset() {
5593 *x = BackupKey{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected