Help us shape the future of Go! Take the 2026 Go Developer Survey

pb

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Acl.ProtoReflect.Descriptor instead.

func (*Acl) GetData

func (x *Acl) GetData() []byte

func (*Acl) GetId

func (x *Acl) GetId() uint32

func (*Acl) ProtoMessage

func (*Acl) ProtoMessage()

func (*Acl) ProtoReflect

func (x *Acl) ProtoReflect() protoreflect.Message

func (*Acl) Reset

func (x *Acl) Reset()

func (*Acl) String

func (x *Acl) String() string

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"`
	Changelogs  []*ChangeLog `protobuf:"bytes,14,rep,name=changelogs,proto3" json:"changelogs,omitempty"`
	UserQuotas  []*Quota     `protobuf:"bytes,15,rep,name=userQuotas,proto3" json:"userQuotas,omitempty"`
	GroupQuotas []*Quota     `protobuf:"bytes,16,rep,name=groupQuotas,proto3" json:"groupQuotas,omitempty"`
	// contains filtered or unexported fields
}

func (*Batch) Descriptor deprecated

func (*Batch) Descriptor() ([]byte, []int)

Deprecated: Use Batch.ProtoReflect.Descriptor instead.

func (*Batch) GetAcls

func (x *Batch) GetAcls() []*Acl

func (*Batch) GetChangelogs added in v0.1.7

func (x *Batch) GetChangelogs() []*ChangeLog

func (*Batch) GetChunks

func (x *Batch) GetChunks() []*Chunk

func (*Batch) GetCounters

func (x *Batch) GetCounters() []*Counter

func (*Batch) GetDelfiles

func (x *Batch) GetDelfiles() []*DelFile

func (*Batch) GetDirstats

func (x *Batch) GetDirstats() []*Stat

func (*Batch) GetEdges

func (x *Batch) GetEdges() []*Edge

func (*Batch) GetGroupQuotas added in v0.1.7

func (x *Batch) GetGroupQuotas() []*Quota

func (*Batch) GetNodes

func (x *Batch) GetNodes() []*Node

func (*Batch) GetParents

func (x *Batch) GetParents() []*Parent

func (*Batch) GetQuotas

func (x *Batch) GetQuotas() []*Quota

func (*Batch) GetSliceRefs

func (x *Batch) GetSliceRefs() []*SliceRef

func (*Batch) GetSustained

func (x *Batch) GetSustained() []*Sustained
func (x *Batch) GetSymlinks() []*Symlink

func (*Batch) GetUserQuotas added in v0.1.7

func (x *Batch) GetUserQuotas() []*Quota

func (*Batch) GetXattrs

func (x *Batch) GetXattrs() []*Xattr

func (*Batch) ProtoMessage

func (*Batch) ProtoMessage()

func (*Batch) ProtoReflect

func (x *Batch) ProtoReflect() protoreflect.Message

func (*Batch) Reset

func (x *Batch) Reset()

func (*Batch) String

func (x *Batch) String() string

type ChangeLog added in v0.1.7

type ChangeLog struct {
	Version int64  `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
	Entry   []byte `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeLog) Descriptor deprecated added in v0.1.7

func (*ChangeLog) Descriptor() ([]byte, []int)

Deprecated: Use ChangeLog.ProtoReflect.Descriptor instead.

func (*ChangeLog) GetEntry added in v0.1.7

func (x *ChangeLog) GetEntry() []byte

func (*ChangeLog) GetVersion added in v0.1.7

func (x *ChangeLog) GetVersion() int64

func (*ChangeLog) ProtoMessage added in v0.1.7

func (*ChangeLog) ProtoMessage()

func (*ChangeLog) ProtoReflect added in v0.1.7

func (x *ChangeLog) ProtoReflect() protoreflect.Message

func (*ChangeLog) Reset added in v0.1.7

func (x *ChangeLog) Reset()

func (*ChangeLog) String added in v0.1.7

func (x *ChangeLog) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Chunk.ProtoReflect.Descriptor instead.

func (*Chunk) GetIndex

func (x *Chunk) GetIndex() uint32

func (*Chunk) GetInode

func (x *Chunk) GetInode() uint64

func (*Chunk) GetSlices

func (x *Chunk) GetSlices() []byte

func (*Chunk) ProtoMessage

func (*Chunk) ProtoMessage()

func (*Chunk) ProtoReflect

func (x *Chunk) ProtoReflect() protoreflect.Message

func (*Chunk) Reset

func (x *Chunk) Reset()

func (*Chunk) String

func (x *Chunk) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Counter.ProtoReflect.Descriptor instead.

func (*Counter) GetKey

func (x *Counter) GetKey() string

func (*Counter) GetValue

func (x *Counter) GetValue() int64

func (*Counter) ProtoMessage

func (*Counter) ProtoMessage()

func (*Counter) ProtoReflect

func (x *Counter) ProtoReflect() protoreflect.Message

func (*Counter) Reset

func (x *Counter) Reset()

func (*Counter) String

func (x *Counter) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use DelFile.ProtoReflect.Descriptor instead.

func (*DelFile) GetExpire

func (x *DelFile) GetExpire() int64

func (*DelFile) GetInode

func (x *DelFile) GetInode() uint64

func (*DelFile) GetLength

func (x *DelFile) GetLength() uint64

func (*DelFile) ProtoMessage

func (*DelFile) ProtoMessage()

func (*DelFile) ProtoReflect

func (x *DelFile) ProtoReflect() protoreflect.Message

func (*DelFile) Reset

func (x *DelFile) Reset()

func (*DelFile) String

func (x *DelFile) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Edge.ProtoReflect.Descriptor instead.

func (*Edge) GetInode

func (x *Edge) GetInode() uint64

func (*Edge) GetName

func (x *Edge) GetName() []byte

func (*Edge) GetParent

func (x *Edge) GetParent() uint64

func (*Edge) GetType

func (x *Edge) GetType() uint32

func (*Edge) ProtoMessage

func (*Edge) ProtoMessage()

func (*Edge) ProtoReflect

func (x *Edge) ProtoReflect() protoreflect.Message

func (*Edge) Reset

func (x *Edge) Reset()

func (*Edge) String

func (x *Edge) String() string
type Footer struct {
	Magic   uint32                     `protobuf:"varint,1,opt,name=magic,proto3" json:"magic,omitempty"`
	Version uint32                     `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	Infos   map[string]*Footer_SegInfo `` /* 151-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Footer) Descriptor deprecated

func (*Footer) Descriptor() ([]byte, []int)

Deprecated: Use Footer.ProtoReflect.Descriptor instead.

func (*Footer) GetInfos

func (x *Footer) GetInfos() map[string]*Footer_SegInfo

func (*Footer) GetMagic

func (x *Footer) GetMagic() uint32

func (*Footer) GetVersion

func (x *Footer) GetVersion() uint32

func (*Footer) ProtoMessage

func (*Footer) ProtoMessage()

func (*Footer) ProtoReflect

func (x *Footer) ProtoReflect() protoreflect.Message

func (*Footer) Reset

func (x *Footer) Reset()

func (*Footer) String

func (x *Footer) String() string
type Footer_SegInfo struct {
	Offset []uint64 `protobuf:"varint,1,rep,packed,name=offset,proto3" json:"offset,omitempty"`
	Num    uint64   `protobuf:"varint,2,opt,name=num,proto3" json:"num,omitempty"`
	// contains filtered or unexported fields
}
func (*Footer_SegInfo) Descriptor() ([]byte, []int)

Deprecated: Use Footer_SegInfo.ProtoReflect.Descriptor instead.

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 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) Descriptor() ([]byte, []int)

Deprecated: Use Format.ProtoReflect.Descriptor instead.

func (*Format) GetData

func (x *Format) GetData() []byte

func (*Format) ProtoMessage

func (*Format) ProtoMessage()

func (*Format) ProtoReflect

func (x *Format) ProtoReflect() protoreflect.Message

func (*Format) Reset

func (x *Format) Reset()

func (*Format) String

func (x *Format) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Node.ProtoReflect.Descriptor instead.

func (*Node) GetData

func (x *Node) GetData() []byte

func (*Node) GetInode

func (x *Node) GetInode() uint64

func (*Node) ProtoMessage

func (*Node) ProtoMessage()

func (*Node) ProtoReflect

func (x *Node) ProtoReflect() protoreflect.Message

func (*Node) Reset

func (x *Node) Reset()

func (*Node) String

func (x *Node) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Parent.ProtoReflect.Descriptor instead.

func (*Parent) GetCnt

func (x *Parent) GetCnt() int64

func (*Parent) GetInode

func (x *Parent) GetInode() uint64

func (*Parent) GetParent

func (x *Parent) GetParent() uint64

func (*Parent) ProtoMessage

func (*Parent) ProtoMessage()

func (*Parent) ProtoReflect

func (x *Parent) ProtoReflect() protoreflect.Message

func (*Parent) Reset

func (x *Parent) Reset()

func (*Parent) String

func (x *Parent) String() string

type Quota

type Quota struct {
	Key        uint64 `protobuf:"varint,1,opt,name=key,proto3" json:"key,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"`
	Type       uint32 `protobuf:"varint,6,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Quota) Descriptor deprecated

func (*Quota) Descriptor() ([]byte, []int)

Deprecated: Use Quota.ProtoReflect.Descriptor instead.

func (*Quota) GetKey added in v0.1.7

func (x *Quota) GetKey() uint64

func (*Quota) GetMaxInodes

func (x *Quota) GetMaxInodes() int64

func (*Quota) GetMaxSpace

func (x *Quota) GetMaxSpace() int64

func (*Quota) GetType added in v0.1.7

func (x *Quota) GetType() uint32

func (*Quota) GetUsedInodes

func (x *Quota) GetUsedInodes() int64

func (*Quota) GetUsedSpace

func (x *Quota) GetUsedSpace() int64

func (*Quota) ProtoMessage

func (*Quota) ProtoMessage()

func (*Quota) ProtoReflect

func (x *Quota) ProtoReflect() protoreflect.Message

func (*Quota) Reset

func (x *Quota) Reset()

func (*Quota) String

func (x *Quota) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use SliceRef.ProtoReflect.Descriptor instead.

func (*SliceRef) GetId

func (x *SliceRef) GetId() uint64

func (*SliceRef) GetRefs

func (x *SliceRef) GetRefs() int64

func (*SliceRef) GetSize

func (x *SliceRef) GetSize() uint32

func (*SliceRef) ProtoMessage

func (*SliceRef) ProtoMessage()

func (*SliceRef) ProtoReflect

func (x *SliceRef) ProtoReflect() protoreflect.Message

func (*SliceRef) Reset

func (x *SliceRef) Reset()

func (*SliceRef) String

func (x *SliceRef) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Stat.ProtoReflect.Descriptor instead.

func (*Stat) GetDataLength

func (x *Stat) GetDataLength() int64

func (*Stat) GetInode

func (x *Stat) GetInode() uint64

func (*Stat) GetUsedInodes

func (x *Stat) GetUsedInodes() int64

func (*Stat) GetUsedSpace

func (x *Stat) GetUsedSpace() int64

func (*Stat) ProtoMessage

func (*Stat) ProtoMessage()

func (*Stat) ProtoReflect

func (x *Stat) ProtoReflect() protoreflect.Message

func (*Stat) Reset

func (x *Stat) Reset()

func (*Stat) String

func (x *Stat) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Sustained.ProtoReflect.Descriptor instead.

func (*Sustained) GetInodes

func (x *Sustained) GetInodes() []uint64

func (*Sustained) GetSid

func (x *Sustained) GetSid() uint64

func (*Sustained) ProtoMessage

func (*Sustained) ProtoMessage()

func (*Sustained) ProtoReflect

func (x *Sustained) ProtoReflect() protoreflect.Message

func (*Sustained) Reset

func (x *Sustained) Reset()

func (*Sustained) String

func (x *Sustained) String() string
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) Descriptor() ([]byte, []int)

Deprecated: Use Symlink.ProtoReflect.Descriptor instead.

func (*Symlink) GetInode

func (x *Symlink) GetInode() uint64

func (*Symlink) GetTarget

func (x *Symlink) GetTarget() []byte

func (*Symlink) ProtoMessage

func (*Symlink) ProtoMessage()

func (*Symlink) ProtoReflect

func (x *Symlink) ProtoReflect() protoreflect.Message

func (*Symlink) Reset

func (x *Symlink) Reset()

func (*Symlink) String

func (x *Symlink) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Xattr.ProtoReflect.Descriptor instead.

func (*Xattr) GetInode

func (x *Xattr) GetInode() uint64

func (*Xattr) GetName

func (x *Xattr) GetName() string

func (*Xattr) GetValue

func (x *Xattr) GetValue() []byte

func (*Xattr) ProtoMessage

func (*Xattr) ProtoMessage()

func (*Xattr) ProtoReflect

func (x *Xattr) ProtoReflect() protoreflect.Message

func (*Xattr) Reset

func (x *Xattr) Reset()

func (*Xattr) String

func (x *Xattr) String() string

Jump to

Keyboard shortcuts

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