Documentation ¶
Index ¶
- Variables
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)deprecated
- func (x *Entry) GetAttributes() *FuseAttributes
- func (x *Entry) GetChunks() []*FileChunk
- func (x *Entry) GetContent() []byte
- func (x *Entry) GetExtended() map[string][]byte
- func (x *Entry) GetIsDirectory() bool
- func (x *Entry) GetName() string
- func (*Entry) ProtoMessage()
- func (x *Entry) ProtoReflect() protoreflect.Message
- func (x *Entry) Reset()
- func (x *Entry) String() string
- type FileChunk
- func (*FileChunk) Descriptor() ([]byte, []int)deprecated
- func (x *FileChunk) GetChunkid() int64
- func (x *FileChunk) GetContent() []byte
- func (x *FileChunk) GetETag() string
- func (x *FileChunk) GetFid() *FileId
- func (x *FileChunk) GetIsChunkManifest() bool
- func (x *FileChunk) GetIsCompressed() bool
- func (x *FileChunk) GetMtime() int64
- func (x *FileChunk) GetOffset() uint64
- func (x *FileChunk) GetSize() uint64
- func (x *FileChunk) GetVolumeIds() []string
- func (*FileChunk) ProtoMessage()
- func (x *FileChunk) ProtoReflect() protoreflect.Message
- func (x *FileChunk) Reset()
- func (x *FileChunk) String() string
- type FileId
- func (*FileId) Descriptor() ([]byte, []int)deprecated
- func (x *FileId) GetCookie() uint32
- func (x *FileId) GetFileKey() uint64
- func (x *FileId) GetVolumeId() uint32
- func (*FileId) ProtoMessage()
- func (x *FileId) ProtoReflect() protoreflect.Message
- func (x *FileId) Reset()
- func (x *FileId) String() string
- type FuseAttributes
- func (*FuseAttributes) Descriptor() ([]byte, []int)deprecated
- func (x *FuseAttributes) GetCrtime() int64
- func (x *FuseAttributes) GetFileMode() uint32
- func (x *FuseAttributes) GetFileSize() uint64
- func (x *FuseAttributes) GetGid() uint32
- func (x *FuseAttributes) GetInode() uint64
- func (x *FuseAttributes) GetMd5() []byte
- func (x *FuseAttributes) GetMime() string
- func (x *FuseAttributes) GetMtime() int64
- func (x *FuseAttributes) GetRdev() uint32
- func (x *FuseAttributes) GetUid() uint32
- func (*FuseAttributes) ProtoMessage()
- func (x *FuseAttributes) ProtoReflect() protoreflect.Message
- func (x *FuseAttributes) Reset()
- func (x *FuseAttributes) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_rfs_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` IsDirectory bool `protobuf:"varint,2,opt,name=is_directory,json=isDirectory,proto3" json:"is_directory,omitempty"` Chunks []*FileChunk `protobuf:"bytes,3,rep,name=chunks,proto3" json:"chunks,omitempty"` Attributes *FuseAttributes `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"` Extended map[string][]byte `` /* 157-byte string literal not displayed */ Content []byte `protobuf:"bytes,6,opt,name=content,proto3" json:"content,omitempty"` // if not empty, the file content // contains filtered or unexported fields }
func (*Entry) Descriptor
deprecated
func (*Entry) GetAttributes ¶
func (x *Entry) GetAttributes() *FuseAttributes
func (*Entry) GetContent ¶
func (*Entry) GetExtended ¶
func (*Entry) GetIsDirectory ¶
func (*Entry) ProtoMessage ¶
func (*Entry) ProtoMessage()
func (*Entry) ProtoReflect ¶
func (x *Entry) ProtoReflect() protoreflect.Message
type FileChunk ¶
type FileChunk struct { Chunkid int64 `protobuf:"varint,1,opt,name=chunkid,proto3" json:"chunkid,omitempty"` Fid *FileId `protobuf:"bytes,2,opt,name=fid,proto3" json:"fid,omitempty"` VolumeIds []string `protobuf:"bytes,3,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"` Offset uint64 `protobuf:"varint,4,opt,name=offset,proto3" json:"offset,omitempty"` Size uint64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"` Mtime int64 `protobuf:"varint,6,opt,name=mtime,proto3" json:"mtime,omitempty"` ETag string `protobuf:"bytes,7,opt,name=e_tag,json=eTag,proto3" json:"e_tag,omitempty"` IsCompressed bool `protobuf:"varint,8,opt,name=is_compressed,json=isCompressed,proto3" json:"is_compressed,omitempty"` IsChunkManifest bool `protobuf:"varint,9,opt,name=is_chunk_manifest,json=isChunkManifest,proto3" json:"is_chunk_manifest,omitempty"` // content is a list of FileChunks Content []byte `protobuf:"bytes,10,opt,name=content,proto3" json:"content,omitempty"` // if not empty, the chunk content // contains filtered or unexported fields }
func (*FileChunk) Descriptor
deprecated
func (*FileChunk) GetChunkid ¶
func (*FileChunk) GetContent ¶
func (*FileChunk) GetIsChunkManifest ¶
func (*FileChunk) GetIsCompressed ¶
func (*FileChunk) GetVolumeIds ¶
func (*FileChunk) ProtoMessage ¶
func (*FileChunk) ProtoMessage()
func (*FileChunk) ProtoReflect ¶
func (x *FileChunk) ProtoReflect() protoreflect.Message
type FileId ¶
type FileId struct { VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"` FileKey uint64 `protobuf:"varint,2,opt,name=file_key,json=fileKey,proto3" json:"file_key,omitempty"` Cookie uint32 `protobuf:"fixed32,3,opt,name=cookie,proto3" json:"cookie,omitempty"` // contains filtered or unexported fields }
func (*FileId) Descriptor
deprecated
func (*FileId) GetFileKey ¶
func (*FileId) GetVolumeId ¶
func (*FileId) ProtoMessage ¶
func (*FileId) ProtoMessage()
func (*FileId) ProtoReflect ¶
func (x *FileId) ProtoReflect() protoreflect.Message
type FuseAttributes ¶
type FuseAttributes struct { FileSize uint64 `protobuf:"varint,1,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"` Mtime int64 `protobuf:"varint,2,opt,name=mtime,proto3" json:"mtime,omitempty"` // unix time in seconds FileMode uint32 `protobuf:"varint,3,opt,name=file_mode,json=fileMode,proto3" json:"file_mode,omitempty"` Uid uint32 `protobuf:"varint,4,opt,name=uid,proto3" json:"uid,omitempty"` Gid uint32 `protobuf:"varint,5,opt,name=gid,proto3" json:"gid,omitempty"` Crtime int64 `protobuf:"varint,6,opt,name=crtime,proto3" json:"crtime,omitempty"` // unix time in seconds Mime string `protobuf:"bytes,7,opt,name=mime,proto3" json:"mime,omitempty"` Md5 []byte `protobuf:"bytes,8,opt,name=md5,proto3" json:"md5,omitempty"` Rdev uint32 `protobuf:"varint,9,opt,name=rdev,proto3" json:"rdev,omitempty"` Inode uint64 `protobuf:"varint,10,opt,name=inode,proto3" json:"inode,omitempty"` // contains filtered or unexported fields }
func (*FuseAttributes) Descriptor
deprecated
func (*FuseAttributes) Descriptor() ([]byte, []int)
Deprecated: Use FuseAttributes.ProtoReflect.Descriptor instead.
func (*FuseAttributes) GetCrtime ¶
func (x *FuseAttributes) GetCrtime() int64
func (*FuseAttributes) GetFileMode ¶
func (x *FuseAttributes) GetFileMode() uint32
func (*FuseAttributes) GetFileSize ¶
func (x *FuseAttributes) GetFileSize() uint64
func (*FuseAttributes) GetGid ¶
func (x *FuseAttributes) GetGid() uint32
func (*FuseAttributes) GetInode ¶
func (x *FuseAttributes) GetInode() uint64
func (*FuseAttributes) GetMd5 ¶
func (x *FuseAttributes) GetMd5() []byte
func (*FuseAttributes) GetMime ¶
func (x *FuseAttributes) GetMime() string
func (*FuseAttributes) GetMtime ¶
func (x *FuseAttributes) GetMtime() int64
func (*FuseAttributes) GetRdev ¶
func (x *FuseAttributes) GetRdev() uint32
func (*FuseAttributes) GetUid ¶
func (x *FuseAttributes) GetUid() uint32
func (*FuseAttributes) ProtoMessage ¶
func (*FuseAttributes) ProtoMessage()
func (*FuseAttributes) ProtoReflect ¶
func (x *FuseAttributes) ProtoReflect() protoreflect.Message
func (*FuseAttributes) Reset ¶
func (x *FuseAttributes) Reset()
func (*FuseAttributes) String ¶
func (x *FuseAttributes) String() string
Click to show internal directories.
Click to hide internal directories.