Documentation ¶
Index ¶
- Variables
- type Chunk
- func (*Chunk) Descriptor() ([]byte, []int)deprecated
- func (x *Chunk) GetFrags() []*Frag
- func (x *Chunk) GetIsReplication() bool
- func (x *Chunk) GetMd5() []byte
- func (x *Chunk) GetOffset() uint64
- func (x *Chunk) GetSize() uint64
- func (*Chunk) ProtoMessage()
- func (x *Chunk) ProtoReflect() protoreflect.Message
- func (x *Chunk) Reset()
- func (x *Chunk) String() string
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)deprecated
- func (x *Entry) GetBucket() string
- func (x *Entry) GetChunks() []*Chunk
- func (x *Entry) GetCtime() int64
- func (x *Entry) GetFileSize() uint64
- func (x *Entry) GetFullPath() string
- func (x *Entry) GetMd5() []byte
- func (x *Entry) GetMine() string
- func (x *Entry) GetMode() uint32
- func (x *Entry) GetMtime() int64
- func (*Entry) ProtoMessage()
- func (x *Entry) ProtoReflect() protoreflect.Message
- func (x *Entry) Reset()
- func (x *Entry) String() string
- type Frag
- func (*Frag) Descriptor() ([]byte, []int)deprecated
- func (x *Frag) GetFid() string
- func (x *Frag) GetId() int64
- func (x *Frag) GetIsDataShard() bool
- func (x *Frag) GetMd5() []byte
- func (x *Frag) GetSize() uint64
- func (*Frag) ProtoMessage()
- func (x *Frag) ProtoReflect() protoreflect.Message
- func (x *Frag) Reset()
- func (x *Frag) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_entry_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Chunk ¶
type Chunk struct { Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` Md5 []byte `protobuf:"bytes,3,opt,name=md5,proto3" json:"md5,omitempty"` IsReplication bool `protobuf:"varint,4,opt,name=is_replication,json=isReplication,proto3" json:"is_replication,omitempty"` Frags []*Frag `protobuf:"bytes,5,rep,name=frags,proto3" json:"frags,omitempty"` // contains filtered or unexported fields }
func (*Chunk) Descriptor
deprecated
func (*Chunk) GetIsReplication ¶
func (*Chunk) ProtoMessage ¶
func (*Chunk) ProtoMessage()
func (*Chunk) ProtoReflect ¶
func (x *Chunk) ProtoReflect() protoreflect.Message
type Entry ¶
type Entry struct { FullPath string `protobuf:"bytes,1,opt,name=full_path,json=fullPath,proto3" json:"full_path,omitempty"` Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"` Mtime int64 `protobuf:"varint,3,opt,name=mtime,proto3" json:"mtime,omitempty"` Ctime int64 `protobuf:"varint,4,opt,name=ctime,proto3" json:"ctime,omitempty"` Mode uint32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"` Mine string `protobuf:"bytes,6,opt,name=mine,proto3" json:"mine,omitempty"` Md5 []byte `protobuf:"bytes,7,opt,name=md5,proto3" json:"md5,omitempty"` FileSize uint64 `protobuf:"varint,8,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` Chunks []*Chunk `protobuf:"bytes,9,rep,name=chunks,proto3" json:"chunks,omitempty"` // contains filtered or unexported fields }
func (*Entry) Descriptor
deprecated
func (*Entry) GetFileSize ¶
func (*Entry) GetFullPath ¶
func (*Entry) ProtoMessage ¶
func (*Entry) ProtoMessage()
func (*Entry) ProtoReflect ¶
func (x *Entry) ProtoReflect() protoreflect.Message
type Frag ¶
type Frag struct { Size uint64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Md5 []byte `protobuf:"bytes,3,opt,name=md5,proto3" json:"md5,omitempty"` IsDataShard bool `protobuf:"varint,4,opt,name=is_data_shard,json=isDataShard,proto3" json:"is_data_shard,omitempty"` Fid string `protobuf:"bytes,5,opt,name=fid,proto3" json:"fid,omitempty"` // contains filtered or unexported fields }
func (*Frag) Descriptor
deprecated
func (*Frag) GetIsDataShard ¶
func (*Frag) ProtoMessage ¶
func (*Frag) ProtoMessage()
func (*Frag) ProtoReflect ¶
func (x *Frag) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.