Documentation
¶
Index ¶
- Variables
- type Acl
- type Batch
- func (*Batch) Descriptor() ([]byte, []int)deprecated
- func (x *Batch) GetAcls() []*Acl
- func (x *Batch) GetChunks() []*Chunk
- func (x *Batch) GetCounters() []*Counter
- func (x *Batch) GetDelfiles() []*DelFile
- func (x *Batch) GetDirstats() []*Stat
- func (x *Batch) GetEdges() []*Edge
- func (x *Batch) GetNodes() []*Node
- func (x *Batch) GetParents() []*Parent
- func (x *Batch) GetQuotas() []*Quota
- func (x *Batch) GetSliceRefs() []*SliceRef
- func (x *Batch) GetSustained() []*Sustained
- func (x *Batch) GetSymlinks() []*Symlink
- func (x *Batch) GetXattrs() []*Xattr
- func (*Batch) ProtoMessage()
- func (x *Batch) ProtoReflect() protoreflect.Message
- func (x *Batch) Reset()
- func (x *Batch) String() string
- type Chunk
- type Counter
- type DelFile
- func (*DelFile) Descriptor() ([]byte, []int)deprecated
- func (x *DelFile) GetExpire() int64
- func (x *DelFile) GetInode() uint64
- func (x *DelFile) GetLength() uint64
- func (*DelFile) ProtoMessage()
- func (x *DelFile) ProtoReflect() protoreflect.Message
- func (x *DelFile) Reset()
- func (x *DelFile) String() string
- type Edge
- func (*Edge) Descriptor() ([]byte, []int)deprecated
- func (x *Edge) GetInode() uint64
- func (x *Edge) GetName() []byte
- func (x *Edge) GetParent() uint64
- func (x *Edge) GetType() uint32
- func (*Edge) ProtoMessage()
- func (x *Edge) ProtoReflect() protoreflect.Message
- func (x *Edge) Reset()
- func (x *Edge) String() string
- type Footer
- func (*Footer) Descriptor() ([]byte, []int)deprecated
- func (x *Footer) GetInfos() map[string]*Footer_SegInfo
- func (x *Footer) GetMagic() uint32
- func (x *Footer) GetVersion() uint32
- func (*Footer) ProtoMessage()
- func (x *Footer) ProtoReflect() protoreflect.Message
- func (x *Footer) Reset()
- func (x *Footer) String() string
- type Footer_SegInfo
- func (*Footer_SegInfo) Descriptor() ([]byte, []int)deprecated
- func (x *Footer_SegInfo) GetNum() uint64
- func (x *Footer_SegInfo) GetOffset() []uint64
- func (*Footer_SegInfo) ProtoMessage()
- func (x *Footer_SegInfo) ProtoReflect() protoreflect.Message
- func (x *Footer_SegInfo) Reset()
- func (x *Footer_SegInfo) String() string
- type Format
- type Node
- type Parent
- type Quota
- func (*Quota) Descriptor() ([]byte, []int)deprecated
- func (x *Quota) GetInode() uint64
- func (x *Quota) GetMaxInodes() int64
- func (x *Quota) GetMaxSpace() int64
- func (x *Quota) GetUsedInodes() int64
- func (x *Quota) GetUsedSpace() int64
- func (*Quota) ProtoMessage()
- func (x *Quota) ProtoReflect() protoreflect.Message
- func (x *Quota) Reset()
- func (x *Quota) String() string
- type SliceRef
- func (*SliceRef) Descriptor() ([]byte, []int)deprecated
- func (x *SliceRef) GetId() uint64
- func (x *SliceRef) GetRefs() int64
- func (x *SliceRef) GetSize() uint32
- func (*SliceRef) ProtoMessage()
- func (x *SliceRef) ProtoReflect() protoreflect.Message
- func (x *SliceRef) Reset()
- func (x *SliceRef) String() string
- type Stat
- func (*Stat) Descriptor() ([]byte, []int)deprecated
- func (x *Stat) GetDataLength() int64
- func (x *Stat) GetInode() uint64
- func (x *Stat) GetUsedInodes() int64
- func (x *Stat) GetUsedSpace() int64
- func (*Stat) ProtoMessage()
- func (x *Stat) ProtoReflect() protoreflect.Message
- func (x *Stat) Reset()
- func (x *Stat) String() string
- type Sustained
- type Symlink
- type Xattr
Constants ¶
This section is empty.
Variables ¶
View Source
var File_pkg_meta_pb_backup_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Acl ¶
type Acl struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // acl.Rule's binary format
// contains filtered or unexported fields
}
func (*Acl) Descriptor
deprecated
func (*Acl) ProtoMessage ¶
func (*Acl) ProtoMessage()
func (*Acl) ProtoReflect ¶
func (x *Acl) ProtoReflect() protoreflect.Message
type Batch ¶
type Batch struct {
Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
Edges []*Edge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"`
Chunks []*Chunk `protobuf:"bytes,3,rep,name=chunks,proto3" json:"chunks,omitempty"`
SliceRefs []*SliceRef `protobuf:"bytes,4,rep,name=sliceRefs,proto3" json:"sliceRefs,omitempty"`
Xattrs []*Xattr `protobuf:"bytes,5,rep,name=xattrs,proto3" json:"xattrs,omitempty"`
Parents []*Parent `protobuf:"bytes,6,rep,name=parents,proto3" json:"parents,omitempty"`
Symlinks []*Symlink `protobuf:"bytes,7,rep,name=symlinks,proto3" json:"symlinks,omitempty"`
Sustained []*Sustained `protobuf:"bytes,8,rep,name=sustained,proto3" json:"sustained,omitempty"`
Delfiles []*DelFile `protobuf:"bytes,9,rep,name=delfiles,proto3" json:"delfiles,omitempty"`
Dirstats []*Stat `protobuf:"bytes,10,rep,name=dirstats,proto3" json:"dirstats,omitempty"`
Quotas []*Quota `protobuf:"bytes,11,rep,name=quotas,proto3" json:"quotas,omitempty"`
Acls []*Acl `protobuf:"bytes,12,rep,name=acls,proto3" json:"acls,omitempty"`
Counters []*Counter `protobuf:"bytes,13,rep,name=counters,proto3" json:"counters,omitempty"`
// contains filtered or unexported fields
}
func (*Batch) Descriptor
deprecated
func (*Batch) GetCounters ¶
func (*Batch) GetDelfiles ¶
func (*Batch) GetDirstats ¶
func (*Batch) GetParents ¶
func (*Batch) GetSliceRefs ¶
func (*Batch) GetSustained ¶
func (*Batch) GetSymlinks ¶
func (*Batch) ProtoMessage ¶
func (*Batch) ProtoMessage()
func (*Batch) ProtoReflect ¶
func (x *Batch) ProtoReflect() protoreflect.Message
type Chunk ¶
type Chunk struct {
Inode uint64 `protobuf:"varint,1,opt,name=inode,proto3" json:"inode,omitempty"`
Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
Slices []byte `protobuf:"bytes,3,opt,name=slices,proto3" json:"slices,omitempty"` // array of meta.slice
// contains filtered or unexported fields
}
func (*Chunk) Descriptor
deprecated
func (*Chunk) ProtoMessage ¶
func (*Chunk) ProtoMessage()
func (*Chunk) ProtoReflect ¶
func (x *Chunk) ProtoReflect() protoreflect.Message
type Counter ¶
type Counter struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*Counter) Descriptor
deprecated
func (*Counter) ProtoMessage ¶
func (*Counter) ProtoMessage()
func (*Counter) ProtoReflect ¶
func (x *Counter) ProtoReflect() protoreflect.Message
type DelFile ¶
type DelFile struct {
Inode uint64 `protobuf:"varint,1,opt,name=inode,proto3" json:"inode,omitempty"`
Length uint64 `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"`
Expire int64 `protobuf:"varint,3,opt,name=expire,proto3" json:"expire,omitempty"`
// contains filtered or unexported fields
}
func (*DelFile) Descriptor
deprecated
func (*DelFile) ProtoMessage ¶
func (*DelFile) ProtoMessage()
func (*DelFile) ProtoReflect ¶
func (x *DelFile) ProtoReflect() protoreflect.Message
type Edge ¶
type Edge struct {
Parent uint64 `protobuf:"varint,1,opt,name=parent,proto3" json:"parent,omitempty"`
Inode uint64 `protobuf:"varint,2,opt,name=inode,proto3" json:"inode,omitempty"`
Name []byte `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Type uint32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
// contains filtered or unexported fields
}
func (*Edge) Descriptor
deprecated
func (*Edge) ProtoMessage ¶
func (*Edge) ProtoMessage()
func (*Edge) ProtoReflect ¶
func (x *Edge) ProtoReflect() protoreflect.Message
type Footer ¶
type Footer struct {
// contains filtered or unexported fields
}
func (*Footer) Descriptor
deprecated
func (*Footer) GetInfos ¶
func (x *Footer) GetInfos() map[string]*Footer_SegInfo
func (*Footer) GetVersion ¶
func (*Footer) ProtoMessage ¶
func (*Footer) ProtoMessage()
func (*Footer) ProtoReflect ¶
func (x *Footer) ProtoReflect() protoreflect.Message
type Footer_SegInfo ¶
type Footer_SegInfo struct {
// contains filtered or unexported fields
}
func (*Footer_SegInfo) Descriptor
deprecated
func (*Footer_SegInfo) Descriptor() ([]byte, []int)
Deprecated: Use Footer_SegInfo.ProtoReflect.Descriptor instead.
func (*Footer_SegInfo) GetNum ¶
func (x *Footer_SegInfo) GetNum() uint64
func (*Footer_SegInfo) GetOffset ¶
func (x *Footer_SegInfo) GetOffset() []uint64
func (*Footer_SegInfo) ProtoMessage ¶
func (*Footer_SegInfo) ProtoMessage()
func (*Footer_SegInfo) ProtoReflect ¶
func (x *Footer_SegInfo) ProtoReflect() protoreflect.Message
func (*Footer_SegInfo) Reset ¶
func (x *Footer_SegInfo) Reset()
func (*Footer_SegInfo) String ¶
func (x *Footer_SegInfo) String() string
type Format ¶
type Format struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // meta.Format's json format
// contains filtered or unexported fields
}
func (*Format) Descriptor
deprecated
func (*Format) ProtoMessage ¶
func (*Format) ProtoMessage()
func (*Format) ProtoReflect ¶
func (x *Format) ProtoReflect() protoreflect.Message
type Node ¶
type Node struct {
Inode uint64 `protobuf:"varint,1,opt,name=inode,proto3" json:"inode,omitempty"`
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // meta.Attr's binary format
// contains filtered or unexported fields
}
func (*Node) Descriptor
deprecated
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type Parent ¶
type Parent struct {
Inode uint64 `protobuf:"varint,1,opt,name=inode,proto3" json:"inode,omitempty"`
Parent uint64 `protobuf:"varint,2,opt,name=parent,proto3" json:"parent,omitempty"`
Cnt int64 `protobuf:"varint,3,opt,name=cnt,proto3" json:"cnt,omitempty"`
// contains filtered or unexported fields
}
for redis and tikv only
func (*Parent) Descriptor
deprecated
func (*Parent) ProtoMessage ¶
func (*Parent) ProtoMessage()
func (*Parent) ProtoReflect ¶
func (x *Parent) ProtoReflect() protoreflect.Message
type Quota ¶
type Quota struct {
Inode uint64 `protobuf:"varint,1,opt,name=inode,proto3" json:"inode,omitempty"`
MaxSpace int64 `protobuf:"varint,2,opt,name=maxSpace,proto3" json:"maxSpace,omitempty"`
MaxInodes int64 `protobuf:"varint,3,opt,name=maxInodes,proto3" json:"maxInodes,omitempty"`
UsedSpace int64 `protobuf:"varint,4,opt,name=usedSpace,proto3" json:"usedSpace,omitempty"`
UsedInodes int64 `protobuf:"varint,5,opt,name=usedInodes,proto3" json:"usedInodes,omitempty"`
// contains filtered or unexported fields
}
func (*Quota) Descriptor
deprecated
func (*Quota) GetMaxInodes ¶
func (*Quota) GetMaxSpace ¶
func (*Quota) GetUsedInodes ¶
func (*Quota) GetUsedSpace ¶
func (*Quota) ProtoMessage ¶
func (*Quota) ProtoMessage()
func (*Quota) ProtoReflect ¶
func (x *Quota) ProtoReflect() protoreflect.Message
type SliceRef ¶
type SliceRef struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Size uint32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
Refs int64 `protobuf:"varint,3,opt,name=refs,proto3" json:"refs,omitempty"`
// contains filtered or unexported fields
}
func (*SliceRef) Descriptor
deprecated
func (*SliceRef) ProtoMessage ¶
func (*SliceRef) ProtoMessage()
func (*SliceRef) ProtoReflect ¶
func (x *SliceRef) ProtoReflect() protoreflect.Message
type Stat ¶
type Stat struct {
Inode uint64 `protobuf:"varint,1,opt,name=inode,proto3" json:"inode,omitempty"`
DataLength int64 `protobuf:"varint,2,opt,name=dataLength,proto3" json:"dataLength,omitempty"`
UsedSpace int64 `protobuf:"varint,3,opt,name=usedSpace,proto3" json:"usedSpace,omitempty"`
UsedInodes int64 `protobuf:"varint,4,opt,name=usedInodes,proto3" json:"usedInodes,omitempty"`
// contains filtered or unexported fields
}
func (*Stat) Descriptor
deprecated
func (*Stat) GetDataLength ¶
func (*Stat) GetUsedInodes ¶
func (*Stat) GetUsedSpace ¶
func (*Stat) ProtoMessage ¶
func (*Stat) ProtoMessage()
func (*Stat) ProtoReflect ¶
func (x *Stat) ProtoReflect() protoreflect.Message
type Sustained ¶
type Sustained struct {
Sid uint64 `protobuf:"varint,1,opt,name=sid,proto3" json:"sid,omitempty"`
Inodes []uint64 `protobuf:"varint,2,rep,packed,name=inodes,proto3" json:"inodes,omitempty"`
// contains filtered or unexported fields
}
func (*Sustained) Descriptor
deprecated
func (*Sustained) ProtoMessage ¶
func (*Sustained) ProtoMessage()
func (*Sustained) ProtoReflect ¶
func (x *Sustained) ProtoReflect() protoreflect.Message
type Symlink ¶
type Symlink struct {
Inode uint64 `protobuf:"varint,1,opt,name=inode,proto3" json:"inode,omitempty"`
Target []byte `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
// contains filtered or unexported fields
}
func (*Symlink) Descriptor
deprecated
func (*Symlink) ProtoMessage ¶
func (*Symlink) ProtoMessage()
func (*Symlink) ProtoReflect ¶
func (x *Symlink) ProtoReflect() protoreflect.Message
type Xattr ¶
type Xattr struct {
Inode uint64 `protobuf:"varint,1,opt,name=inode,proto3" json:"inode,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*Xattr) Descriptor
deprecated
func (*Xattr) ProtoMessage ¶
func (*Xattr) ProtoMessage()
func (*Xattr) ProtoReflect ¶
func (x *Xattr) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.