Documentation ¶
Index ¶
- Variables
- func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
- func RegisterAuthTokenServiceServer(s grpc.ServiceRegistrar, srv AuthTokenServiceServer)
- func RegisterMetaServiceServer(s grpc.ServiceRegistrar, srv MetaServiceServer)
- type AclInfo
- func (*AclInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AclInfo) GetFlags() uint32
- func (x *AclInfo) GetGroupName() string
- func (x *AclInfo) GetUserName() string
- func (*AclInfo) ProtoMessage()
- func (x *AclInfo) ProtoReflect() protoreflect.Message
- func (x *AclInfo) Reset()
- func (x *AclInfo) String() string
- type Auth
- type AuthError
- type AuthServiceClient
- type AuthServiceServer
- type AuthToken
- type AuthTokenServiceClient
- type AuthTokenServiceServer
- type AvailableSeg
- func (*AvailableSeg) Descriptor() ([]byte, []int)deprecated
- func (x *AvailableSeg) GetBackendSize() uint64
- func (x *AvailableSeg) GetCapacity() uint64
- func (x *AvailableSeg) GetLeader() string
- func (x *AvailableSeg) GetSegId0() uint64
- func (x *AvailableSeg) GetSegId1() uint64
- func (x *AvailableSeg) GetSize() uint64
- func (x *AvailableSeg) GetUnitSize() uint64
- func (*AvailableSeg) ProtoMessage()
- func (x *AvailableSeg) ProtoReflect() protoreflect.Message
- func (x *AvailableSeg) Reset()
- func (x *AvailableSeg) String() string
- type BackendInfo
- func (*BackendInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BackendInfo) GetBackend() []byte
- func (x *BackendInfo) GetBackendType() uint32
- func (*BackendInfo) ProtoMessage()
- func (x *BackendInfo) ProtoReflect() protoreflect.Message
- func (x *BackendInfo) Reset()
- func (x *BackendInfo) String() string
- type BlockInfo
- func (*BlockInfo) Descriptor() ([]byte, []int)deprecated
- func (x *BlockInfo) GetOffset() uint64
- func (x *BlockInfo) GetSegStartAddr() uint64
- func (x *BlockInfo) GetSize() uint64
- func (*BlockInfo) ProtoMessage()
- func (x *BlockInfo) ProtoReflect() protoreflect.Message
- func (x *BlockInfo) Reset()
- func (x *BlockInfo) String() string
- type CheckSegsInfo
- func (*CheckSegsInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CheckSegsInfo) GetCheckSegs() []*NeedCheckSegs
- func (x *CheckSegsInfo) GetFsId() string
- func (x *CheckSegsInfo) GetMachine() string
- func (x *CheckSegsInfo) GetZoneId() string
- func (*CheckSegsInfo) ProtoMessage()
- func (x *CheckSegsInfo) ProtoReflect() protoreflect.Message
- func (x *CheckSegsInfo) Reset()
- func (x *CheckSegsInfo) String() string
- type CheckSegsResp
- func (*CheckSegsResp) Descriptor() ([]byte, []int)deprecated
- func (x *CheckSegsResp) GetBackendSize() uint64
- func (x *CheckSegsResp) GetCapacity() uint64
- func (x *CheckSegsResp) GetSegId0() uint64
- func (x *CheckSegsResp) GetSegId1() uint64
- func (*CheckSegsResp) ProtoMessage()
- func (x *CheckSegsResp) ProtoReflect() protoreflect.Message
- func (x *CheckSegsResp) Reset()
- func (x *CheckSegsResp) String() string
- type CloseFileMsg
- func (*CloseFileMsg) Descriptor() ([]byte, []int)deprecated
- func (x *CloseFileMsg) GetAuth() *AuthToken
- func (x *CloseFileMsg) GetFile() *File
- func (*CloseFileMsg) ProtoMessage()
- func (x *CloseFileMsg) ProtoReflect() protoreflect.Message
- func (x *CloseFileMsg) Reset()
- func (x *CloseFileMsg) String() string
- type CloseFileRet
- type CreateFileInfo
- func (*CreateFileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFileInfo) GetFileName() string
- func (x *CreateFileInfo) GetFileType() uint32
- func (x *CreateFileInfo) GetFsId() string
- func (x *CreateFileInfo) GetGid() uint32
- func (x *CreateFileInfo) GetGroupName() string
- func (x *CreateFileInfo) GetMachine() string
- func (x *CreateFileInfo) GetParentIno() uint64
- func (x *CreateFileInfo) GetPerm() uint32
- func (x *CreateFileInfo) GetUid() uint32
- func (x *CreateFileInfo) GetUserName() string
- func (x *CreateFileInfo) GetZoneId() string
- func (*CreateFileInfo) ProtoMessage()
- func (x *CreateFileInfo) ProtoReflect() protoreflect.Message
- func (x *CreateFileInfo) Reset()
- func (x *CreateFileInfo) String() string
- type CreateFileMsg
- func (*CreateFileMsg) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFileMsg) GetAcl() *AclInfo
- func (x *CreateFileMsg) GetAuth() *AuthToken
- func (x *CreateFileMsg) GetFileInfo() *CreateFileInfo
- func (*CreateFileMsg) ProtoMessage()
- func (x *CreateFileMsg) ProtoReflect() protoreflect.Message
- func (x *CreateFileMsg) Reset()
- func (x *CreateFileMsg) String() string
- type CreateFileRet
- func (*CreateFileRet) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFileRet) GetFile() *FileInfo
- func (x *CreateFileRet) GetLeaderInfo() *LeaderInfo
- func (x *CreateFileRet) GetResult() *MetaError
- func (*CreateFileRet) ProtoMessage()
- func (x *CreateFileRet) ProtoReflect() protoreflect.Message
- func (x *CreateFileRet) Reset()
- func (x *CreateFileRet) String() string
- type CreateFsMsg
- type CreateFsRet
- func (*CreateFsRet) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFsRet) GetFsId() string
- func (x *CreateFsRet) GetResult() *AuthError
- func (x *CreateFsRet) GetUid() int64
- func (*CreateFsRet) ProtoMessage()
- func (x *CreateFsRet) ProtoReflect() protoreflect.Message
- func (x *CreateFsRet) Reset()
- func (x *CreateFsRet) String() string
- type CreateNewFileMsg
- func (*CreateNewFileMsg) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNewFileMsg) GetAcl() *AclInfo
- func (x *CreateNewFileMsg) GetAuth() *AuthToken
- func (x *CreateNewFileMsg) GetFileInfo() *CreateFileInfo
- func (*CreateNewFileMsg) ProtoMessage()
- func (x *CreateNewFileMsg) ProtoReflect() protoreflect.Message
- func (x *CreateNewFileMsg) Reset()
- func (x *CreateNewFileMsg) String() string
- type CreateNewFileRet
- func (*CreateNewFileRet) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNewFileRet) GetFile() *FileInfo
- func (x *CreateNewFileRet) GetLeaderInfo() *LeaderInfo
- func (x *CreateNewFileRet) GetResult() *MetaError
- func (x *CreateNewFileRet) GetSeg() *AvailableSeg
- func (*CreateNewFileRet) ProtoMessage()
- func (x *CreateNewFileRet) ProtoReflect() protoreflect.Message
- func (x *CreateNewFileRet) Reset()
- func (x *CreateNewFileRet) String() string
- type CreateSecretMsg
- type CreateSecretRet
- func (*CreateSecretRet) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSecretRet) GetResult() *AuthError
- func (x *CreateSecretRet) GetSecret() *SecretInfo
- func (*CreateSecretRet) ProtoMessage()
- func (x *CreateSecretRet) ProtoReflect() protoreflect.Message
- func (x *CreateSecretRet) Reset()
- func (x *CreateSecretRet) String() string
- type CreateSegmentMsg
- func (*CreateSegmentMsg) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSegmentMsg) GetAuth() *AuthToken
- func (x *CreateSegmentMsg) GetSeg() *Segment
- func (*CreateSegmentMsg) ProtoMessage()
- func (x *CreateSegmentMsg) ProtoReflect() protoreflect.Message
- func (x *CreateSegmentMsg) Reset()
- func (x *CreateSegmentMsg) String() string
- type CreateSegmentRet
- type DeleteDir
- func (*DeleteDir) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDir) GetDirName() string
- func (x *DeleteDir) GetFsId() string
- func (x *DeleteDir) GetMachine() string
- func (x *DeleteDir) GetParentIno() uint64
- func (x *DeleteDir) GetZoneId() string
- func (*DeleteDir) ProtoMessage()
- func (x *DeleteDir) ProtoReflect() protoreflect.Message
- func (x *DeleteDir) Reset()
- func (x *DeleteDir) String() string
- type DeleteDirMsg
- func (*DeleteDirMsg) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDirMsg) GetAcl() *AclInfo
- func (x *DeleteDirMsg) GetAuth() *AuthToken
- func (x *DeleteDirMsg) GetDir() *DeleteDir
- func (*DeleteDirMsg) ProtoMessage()
- func (x *DeleteDirMsg) ProtoReflect() protoreflect.Message
- func (x *DeleteDirMsg) Reset()
- func (x *DeleteDirMsg) String() string
- type DeleteDirRet
- type DeleteFileInfo
- func (*DeleteFileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFileInfo) GetFsId() string
- func (x *DeleteFileInfo) GetGeneration() uint64
- func (x *DeleteFileInfo) GetIno() uint64
- func (x *DeleteFileInfo) GetMachine() string
- func (x *DeleteFileInfo) GetZoneId() string
- func (*DeleteFileInfo) ProtoMessage()
- func (x *DeleteFileInfo) ProtoReflect() protoreflect.Message
- func (x *DeleteFileInfo) Reset()
- func (x *DeleteFileInfo) String() string
- type DeleteFileMsg
- func (*DeleteFileMsg) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFileMsg) GetAcl() *AclInfo
- func (x *DeleteFileMsg) GetAuth() *AuthToken
- func (x *DeleteFileMsg) GetFile() *DeleteFileInfo
- func (*DeleteFileMsg) ProtoMessage()
- func (x *DeleteFileMsg) ProtoReflect() protoreflect.Message
- func (x *DeleteFileMsg) Reset()
- func (x *DeleteFileMsg) String() string
- type DeleteFileRet
- type DeleteFsMsg
- type DeleteFsRet
- type DeleteSecretMsg
- type DeleteSecretRet
- type DirFileAttr
- func (*DirFileAttr) Descriptor() ([]byte, []int)deprecated
- func (x *DirFileAttr) GetFileName() string
- func (x *DirFileAttr) GetFsId() string
- func (x *DirFileAttr) GetParentIno() uint64
- func (*DirFileAttr) ProtoMessage()
- func (x *DirFileAttr) ProtoReflect() protoreflect.Message
- func (x *DirFileAttr) Reset()
- func (x *DirFileAttr) String() string
- type DirInfo
- func (*DirInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DirInfo) GetFsId() string
- func (x *DirInfo) GetIno() uint64
- func (x *DirInfo) GetOffset() uint64
- func (*DirInfo) ProtoMessage()
- func (x *DirInfo) ProtoReflect() protoreflect.Message
- func (x *DirInfo) Reset()
- func (x *DirInfo) String() string
- type DownloadSecretMsg
- func (*DownloadSecretMsg) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadSecretMsg) GetAuthInfo() *SecretAuth
- func (*DownloadSecretMsg) ProtoMessage()
- func (x *DownloadSecretMsg) ProtoReflect() protoreflect.Message
- func (x *DownloadSecretMsg) Reset()
- func (x *DownloadSecretMsg) String() string
- type DownloadSecretRet
- func (*DownloadSecretRet) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadSecretRet) GetResult() *AuthError
- func (x *DownloadSecretRet) GetSecret() string
- func (*DownloadSecretRet) ProtoMessage()
- func (x *DownloadSecretRet) ProtoReflect() protoreflect.Message
- func (x *DownloadSecretRet) Reset()
- func (x *DownloadSecretRet) String() string
- type File
- func (*File) Descriptor() ([]byte, []int)deprecated
- func (x *File) GetFsId() string
- func (x *File) GetGeneration() uint64
- func (x *File) GetIno() uint64
- func (x *File) GetMachine() string
- func (x *File) GetZoneId() string
- func (*File) ProtoMessage()
- func (x *File) ProtoReflect() protoreflect.Message
- func (x *File) Reset()
- func (x *File) String() string
- type FileAttr
- func (*FileAttr) Descriptor() ([]byte, []int)deprecated
- func (x *FileAttr) GetFsId() string
- func (x *FileAttr) GetGeneration() uint64
- func (x *FileAttr) GetIno() uint64
- func (*FileAttr) ProtoMessage()
- func (x *FileAttr) ProtoReflect() protoreflect.Message
- func (x *FileAttr) Reset()
- func (x *FileAttr) String() string
- type FileAttrInfo
- func (*FileAttrInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FileAttrInfo) GetFileDetail() *FileDetail
- func (x *FileAttrInfo) GetFsId() string
- func (*FileAttrInfo) ProtoMessage()
- func (x *FileAttrInfo) ProtoReflect() protoreflect.Message
- func (x *FileAttrInfo) Reset()
- func (x *FileAttrInfo) String() string
- type FileDetail
- func (*FileDetail) Descriptor() ([]byte, []int)deprecated
- func (x *FileDetail) GetAtime() int64
- func (x *FileDetail) GetBlocksNum() uint64
- func (x *FileDetail) GetCtime() int64
- func (x *FileDetail) GetGeneration() uint64
- func (x *FileDetail) GetGid() uint32
- func (x *FileDetail) GetGroupName() string
- func (x *FileDetail) GetIno() uint64
- func (x *FileDetail) GetMtime() int64
- func (x *FileDetail) GetPerm() uint32
- func (x *FileDetail) GetSize() uint64
- func (x *FileDetail) GetUid() uint32
- func (x *FileDetail) GetUserName() string
- func (*FileDetail) ProtoMessage()
- func (x *FileDetail) ProtoReflect() protoreflect.Message
- func (x *FileDetail) Reset()
- func (x *FileDetail) String() string
- type FileInfo
- func (*FileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *FileInfo) GetAtime() int64
- func (x *FileInfo) GetBlocks() uint64
- func (x *FileInfo) GetCtime() int64
- func (x *FileInfo) GetFileName() string
- func (x *FileInfo) GetFileType() uint32
- func (x *FileInfo) GetFsId() string
- func (x *FileInfo) GetGeneration() uint64
- func (x *FileInfo) GetGid() uint32
- func (x *FileInfo) GetGroupName() string
- func (x *FileInfo) GetIno() uint64
- func (x *FileInfo) GetMtime() int64
- func (x *FileInfo) GetNlink() uint32
- func (x *FileInfo) GetParentIno() uint64
- func (x *FileInfo) GetPerm() uint32
- func (x *FileInfo) GetSize() uint64
- func (x *FileInfo) GetUid() uint32
- func (x *FileInfo) GetUserName() string
- func (*FileInfo) ProtoMessage()
- func (x *FileInfo) ProtoReflect() protoreflect.Message
- func (x *FileInfo) Reset()
- func (x *FileInfo) String() string
- type FileLeader
- func (*FileLeader) Descriptor() ([]byte, []int)deprecated
- func (x *FileLeader) GetFsId() string
- func (x *FileLeader) GetGeneration() uint64
- func (x *FileLeader) GetIno() uint64
- func (x *FileLeader) GetMachine() string
- func (x *FileLeader) GetZoneId() string
- func (*FileLeader) ProtoMessage()
- func (x *FileLeader) ProtoReflect() protoreflect.Message
- func (x *FileLeader) Reset()
- func (x *FileLeader) String() string
- type FsAuth
- type FsInfoAuth
- func (*FsInfoAuth) Descriptor() ([]byte, []int)deprecated
- func (x *FsInfoAuth) GetAk() string
- func (x *FsInfoAuth) GetBody() []byte
- func (x *FsInfoAuth) GetFsId() string
- func (x *FsInfoAuth) GetFsName() string
- func (x *FsInfoAuth) GetScope() string
- func (x *FsInfoAuth) GetSignature() string
- func (x *FsInfoAuth) GetTime() int64
- func (*FsInfoAuth) ProtoMessage()
- func (x *FsInfoAuth) ProtoReflect() protoreflect.Message
- func (x *FsInfoAuth) Reset()
- func (x *FsInfoAuth) String() string
- type GetDirFileAttrMsg
- func (*GetDirFileAttrMsg) Descriptor() ([]byte, []int)deprecated
- func (x *GetDirFileAttrMsg) GetAuth() *AuthToken
- func (x *GetDirFileAttrMsg) GetDirFile() *DirFileAttr
- func (*GetDirFileAttrMsg) ProtoMessage()
- func (x *GetDirFileAttrMsg) ProtoReflect() protoreflect.Message
- func (x *GetDirFileAttrMsg) Reset()
- func (x *GetDirFileAttrMsg) String() string
- type GetDirFileAttrRet
- func (*GetDirFileAttrRet) Descriptor() ([]byte, []int)deprecated
- func (x *GetDirFileAttrRet) GetFile() *FileInfo
- func (x *GetDirFileAttrRet) GetResult() *MetaError
- func (*GetDirFileAttrRet) ProtoMessage()
- func (x *GetDirFileAttrRet) ProtoReflect() protoreflect.Message
- func (x *GetDirFileAttrRet) Reset()
- func (x *GetDirFileAttrRet) String() string
- type GetDirFileInfo
- func (*GetDirFileInfo) Descriptor() ([]byte, []int)deprecated
- func (x *GetDirFileInfo) GetFileName() string
- func (x *GetDirFileInfo) GetFileType() uint32
- func (x *GetDirFileInfo) GetIno() uint64
- func (*GetDirFileInfo) ProtoMessage()
- func (x *GetDirFileInfo) ProtoReflect() protoreflect.Message
- func (x *GetDirFileInfo) Reset()
- func (x *GetDirFileInfo) String() string
- type GetDirFilesMsg
- func (*GetDirFilesMsg) Descriptor() ([]byte, []int)deprecated
- func (x *GetDirFilesMsg) GetAcl() *AclInfo
- func (x *GetDirFilesMsg) GetAuth() *AuthToken
- func (x *GetDirFilesMsg) GetDir() *DirInfo
- func (*GetDirFilesMsg) ProtoMessage()
- func (x *GetDirFilesMsg) ProtoReflect() protoreflect.Message
- func (x *GetDirFilesMsg) Reset()
- func (x *GetDirFilesMsg) String() string
- type GetDirFilesRet
- func (*GetDirFilesRet) Descriptor() ([]byte, []int)deprecated
- func (x *GetDirFilesRet) GetDirFiles() []*GetDirFileInfo
- func (x *GetDirFilesRet) GetOffset() uint64
- func (x *GetDirFilesRet) GetResult() *MetaError
- func (*GetDirFilesRet) ProtoMessage()
- func (x *GetDirFilesRet) ProtoReflect() protoreflect.Message
- func (x *GetDirFilesRet) Reset()
- func (x *GetDirFilesRet) String() string
- type GetFileAttrMsg
- func (*GetFileAttrMsg) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileAttrMsg) GetAuth() *AuthToken
- func (x *GetFileAttrMsg) GetFileAttr() *FileAttr
- func (*GetFileAttrMsg) ProtoMessage()
- func (x *GetFileAttrMsg) ProtoReflect() protoreflect.Message
- func (x *GetFileAttrMsg) Reset()
- func (x *GetFileAttrMsg) String() string
- type GetFileAttrRet
- func (*GetFileAttrRet) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileAttrRet) GetFile() *FileInfo
- func (x *GetFileAttrRet) GetResult() *MetaError
- func (*GetFileAttrRet) ProtoMessage()
- func (x *GetFileAttrRet) ProtoReflect() protoreflect.Message
- func (x *GetFileAttrRet) Reset()
- func (x *GetFileAttrRet) String() string
- type GetFileLeaderMsg
- func (*GetFileLeaderMsg) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileLeaderMsg) GetAuth() *AuthToken
- func (x *GetFileLeaderMsg) GetFileLeader() *FileLeader
- func (*GetFileLeaderMsg) ProtoMessage()
- func (x *GetFileLeaderMsg) ProtoReflect() protoreflect.Message
- func (x *GetFileLeaderMsg) Reset()
- func (x *GetFileLeaderMsg) String() string
- type GetFileLeaderRet
- func (*GetFileLeaderRet) Descriptor() ([]byte, []int)deprecated
- func (x *GetFileLeaderRet) GetLeaderInfo() *LeaderInfo
- func (x *GetFileLeaderRet) GetResult() *MetaError
- func (*GetFileLeaderRet) ProtoMessage()
- func (x *GetFileLeaderRet) ProtoReflect() protoreflect.Message
- func (x *GetFileLeaderRet) Reset()
- func (x *GetFileLeaderRet) String() string
- type GetLockMsg
- func (*GetLockMsg) Descriptor() ([]byte, []int)deprecated
- func (x *GetLockMsg) GetAuth() *AuthToken
- func (x *GetLockMsg) GetResourceInfo() *ResourceInfo
- func (*GetLockMsg) ProtoMessage()
- func (x *GetLockMsg) ProtoReflect() protoreflect.Message
- func (x *GetLockMsg) Reset()
- func (x *GetLockMsg) String() string
- type GetLockRet
- type GetSegmentsMsg
- func (*GetSegmentsMsg) Descriptor() ([]byte, []int)deprecated
- func (x *GetSegmentsMsg) GetAcl() *AclInfo
- func (x *GetSegmentsMsg) GetAuth() *AuthToken
- func (x *GetSegmentsMsg) GetSegs() *Segments
- func (*GetSegmentsMsg) ProtoMessage()
- func (x *GetSegmentsMsg) ProtoReflect() protoreflect.Message
- func (x *GetSegmentsMsg) Reset()
- func (x *GetSegmentsMsg) String() string
- type GetSegmentsRet
- func (*GetSegmentsRet) Descriptor() ([]byte, []int)deprecated
- func (x *GetSegmentsRet) GetNextOffset() uint64
- func (x *GetSegmentsRet) GetResult() *MetaError
- func (x *GetSegmentsRet) GetSegInfo() []*SegmentInfoRet
- func (*GetSegmentsRet) ProtoMessage()
- func (x *GetSegmentsRet) ProtoReflect() protoreflect.Message
- func (x *GetSegmentsRet) Reset()
- func (x *GetSegmentsRet) String() string
- type HeartBeatMsg
- func (*HeartBeatMsg) Descriptor() ([]byte, []int)deprecated
- func (x *HeartBeatMsg) GetAuth() *AuthToken
- func (x *HeartBeatMsg) GetSegsInfo() *CheckSegsInfo
- func (*HeartBeatMsg) ProtoMessage()
- func (x *HeartBeatMsg) ProtoReflect() protoreflect.Message
- func (x *HeartBeatMsg) Reset()
- func (x *HeartBeatMsg) String() string
- type HeartBeatRet
- func (*HeartBeatRet) Descriptor() ([]byte, []int)deprecated
- func (x *HeartBeatRet) GetCheckSegsResp() map[string]*CheckSegsResp
- func (x *HeartBeatRet) GetIncompleteSegsInfo() []*IncompleteSegInfo
- func (x *HeartBeatRet) GetResult() *MetaError
- func (*HeartBeatRet) ProtoMessage()
- func (x *HeartBeatRet) ProtoReflect() protoreflect.Message
- func (x *HeartBeatRet) Reset()
- func (x *HeartBeatRet) String() string
- type IncompleteSegInfo
- func (*IncompleteSegInfo) Descriptor() ([]byte, []int)deprecated
- func (x *IncompleteSegInfo) GetCapacity() uint64
- func (x *IncompleteSegInfo) GetNextOffset() uint64
- func (x *IncompleteSegInfo) GetSegId0() uint64
- func (x *IncompleteSegInfo) GetSegId1() uint64
- func (x *IncompleteSegInfo) GetSize() uint64
- func (x *IncompleteSegInfo) GetUnitSize() uint64
- func (*IncompleteSegInfo) ProtoMessage()
- func (x *IncompleteSegInfo) ProtoReflect() protoreflect.Message
- func (x *IncompleteSegInfo) Reset()
- func (x *IncompleteSegInfo) String() string
- type InitInfo
- func (*InitInfo) Descriptor() ([]byte, []int)deprecated
- func (x *InitInfo) GetAuth() *Auth
- func (x *InitInfo) GetFsName() string
- func (x *InitInfo) GetSkId() uint32
- func (*InitInfo) ProtoMessage()
- func (x *InitInfo) ProtoReflect() protoreflect.Message
- func (x *InitInfo) Reset()
- func (x *InitInfo) String() string
- type InitMsg
- func (*InitMsg) Descriptor() ([]byte, []int)deprecated
- func (x *InitMsg) GetAuth() *FsAuth
- func (x *InitMsg) GetBody() []byte
- func (x *InitMsg) GetInitInfo() *InitInfo
- func (*InitMsg) ProtoMessage()
- func (x *InitMsg) ProtoReflect() protoreflect.Message
- func (x *InitMsg) Reset()
- func (x *InitMsg) String() string
- type InitReq
- func (*InitReq) Descriptor() ([]byte, []int)deprecated
- func (x *InitReq) GetBody() []byte
- func (x *InitReq) GetFsName() string
- func (x *InitReq) GetInstanceId() string
- func (x *InitReq) GetSecretId() uint32
- func (x *InitReq) GetSignature() string
- func (x *InitReq) GetTime() int64
- func (*InitReq) ProtoMessage()
- func (x *InitReq) ProtoReflect() protoreflect.Message
- func (x *InitReq) Reset()
- func (x *InitReq) String() string
- type InitRet
- func (*InitRet) Descriptor() ([]byte, []int)deprecated
- func (x *InitRet) GetBackendInfo() *BackendInfo
- func (x *InitRet) GetFsId() string
- func (x *InitRet) GetResult() *MetaError
- func (x *InitRet) GetToken() *TokenRet
- func (*InitRet) ProtoMessage()
- func (x *InitRet) ProtoReflect() protoreflect.Message
- func (x *InitRet) Reset()
- func (x *InitRet) String() string
- type LeaderInfo
- type ListFsMsg
- type ListFsRet
- func (*ListFsRet) Descriptor() ([]byte, []int)deprecated
- func (x *ListFsRet) GetFsids() []string
- func (x *ListFsRet) GetResult() *AuthError
- func (x *ListFsRet) GetUid() int64
- func (*ListFsRet) ProtoMessage()
- func (x *ListFsRet) ProtoReflect() protoreflect.Message
- func (x *ListFsRet) Reset()
- func (x *ListFsRet) String() string
- type ListSecretMsg
- type ListSecretRet
- func (*ListSecretRet) Descriptor() ([]byte, []int)deprecated
- func (x *ListSecretRet) GetResult() *AuthError
- func (x *ListSecretRet) GetSecrets() []*SecretInfo
- func (*ListSecretRet) ProtoMessage()
- func (x *ListSecretRet) ProtoReflect() protoreflect.Message
- func (x *ListSecretRet) Reset()
- func (x *ListSecretRet) String() string
- type Lock
- func (*Lock) Descriptor() ([]byte, []int)deprecated
- func (x *Lock) GetFsId() string
- func (x *Lock) GetMachine() string
- func (x *Lock) GetResource() string
- func (x *Lock) GetSnowflakeId() string
- func (*Lock) ProtoMessage()
- func (x *Lock) ProtoReflect() protoreflect.Message
- func (x *Lock) Reset()
- func (x *Lock) String() string
- type LockInfo
- type MetaError
- type MetaServiceClient
- type MetaServiceServer
- type MountInfo
- func (*MountInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MountInfo) GetFsId() string
- func (x *MountInfo) GetGid() uint32
- func (x *MountInfo) GetGroupName() string
- func (x *MountInfo) GetMachine() string
- func (x *MountInfo) GetUid() uint32
- func (x *MountInfo) GetUserName() string
- func (x *MountInfo) GetZoneId() string
- func (*MountInfo) ProtoMessage()
- func (x *MountInfo) ProtoReflect() protoreflect.Message
- func (x *MountInfo) Reset()
- func (x *MountInfo) String() string
- type MountMsg
- type MountRet
- type NeedCheckSegs
- func (*NeedCheckSegs) Descriptor() ([]byte, []int)deprecated
- func (x *NeedCheckSegs) GetSegId0() uint64
- func (x *NeedCheckSegs) GetSegId1() uint64
- func (*NeedCheckSegs) ProtoMessage()
- func (x *NeedCheckSegs) ProtoReflect() protoreflect.Message
- func (x *NeedCheckSegs) Reset()
- func (x *NeedCheckSegs) String() string
- type NewSegBlock
- func (*NewSegBlock) Descriptor() ([]byte, []int)deprecated
- func (x *NewSegBlock) GetBackendSize() uint64
- func (x *NewSegBlock) GetSegId0() uint64
- func (x *NewSegBlock) GetSegId1() uint64
- func (*NewSegBlock) ProtoMessage()
- func (x *NewSegBlock) ProtoReflect() protoreflect.Message
- func (x *NewSegBlock) Reset()
- func (x *NewSegBlock) String() string
- type NewToken
- type RefreshAuth
- type RefreshError
- func (*RefreshError) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshError) GetErrCode() int32
- func (x *RefreshError) GetErrMsg() string
- func (*RefreshError) ProtoMessage()
- func (x *RefreshError) ProtoReflect() protoreflect.Message
- func (x *RefreshError) Reset()
- func (x *RefreshError) String() string
- type RefreshTokenMsg
- type RefreshTokenRet
- func (*RefreshTokenRet) Descriptor() ([]byte, []int)deprecated
- func (x *RefreshTokenRet) GetResult() *RefreshError
- func (x *RefreshTokenRet) GetToken() *NewToken
- func (*RefreshTokenRet) ProtoMessage()
- func (x *RefreshTokenRet) ProtoReflect() protoreflect.Message
- func (x *RefreshTokenRet) Reset()
- func (x *RefreshTokenRet) String() string
- type ReleaseLockMsg
- func (*ReleaseLockMsg) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseLockMsg) GetAuth() *AuthToken
- func (x *ReleaseLockMsg) GetLock() *Lock
- func (*ReleaseLockMsg) ProtoMessage()
- func (x *ReleaseLockMsg) ProtoReflect() protoreflect.Message
- func (x *ReleaseLockMsg) Reset()
- func (x *ReleaseLockMsg) String() string
- type ReleaseLockRet
- type RenameFileMsg
- func (*RenameFileMsg) Descriptor() ([]byte, []int)deprecated
- func (x *RenameFileMsg) GetAcl() *AclInfo
- func (x *RenameFileMsg) GetAuth() *AuthToken
- func (x *RenameFileMsg) GetFileName() string
- func (x *RenameFileMsg) GetFsId() string
- func (x *RenameFileMsg) GetGeneration() uint64
- func (x *RenameFileMsg) GetIno() uint64
- func (x *RenameFileMsg) GetMachine() string
- func (x *RenameFileMsg) GetNewFileName() string
- func (x *RenameFileMsg) GetNewParentIno() uint64
- func (x *RenameFileMsg) GetParentIno() uint64
- func (x *RenameFileMsg) GetZoneId() string
- func (*RenameFileMsg) ProtoMessage()
- func (x *RenameFileMsg) ProtoReflect() protoreflect.Message
- func (x *RenameFileMsg) Reset()
- func (x *RenameFileMsg) String() string
- type RenameFileRet
- type ResourceInfo
- func (*ResourceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ResourceInfo) GetFsId() string
- func (x *ResourceInfo) GetMachine() string
- func (x *ResourceInfo) GetResource() string
- func (*ResourceInfo) ProtoMessage()
- func (x *ResourceInfo) ProtoReflect() protoreflect.Message
- func (x *ResourceInfo) Reset()
- func (x *ResourceInfo) String() string
- type SecretAuth
- func (*SecretAuth) Descriptor() ([]byte, []int)deprecated
- func (x *SecretAuth) GetAk() string
- func (x *SecretAuth) GetBody() []byte
- func (x *SecretAuth) GetFsId() string
- func (x *SecretAuth) GetFsName() string
- func (x *SecretAuth) GetSecretId() uint32
- func (x *SecretAuth) GetSignature() string
- func (x *SecretAuth) GetTime() int64
- func (*SecretAuth) ProtoMessage()
- func (x *SecretAuth) ProtoReflect() protoreflect.Message
- func (x *SecretAuth) Reset()
- func (x *SecretAuth) String() string
- type SecretInfo
- func (*SecretInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SecretInfo) GetCreateTime() int64
- func (x *SecretInfo) GetSecret() string
- func (x *SecretInfo) GetSecretId() uint32
- func (x *SecretInfo) GetStatus() uint32
- func (*SecretInfo) ProtoMessage()
- func (x *SecretInfo) ProtoReflect() protoreflect.Message
- func (x *SecretInfo) Reset()
- func (x *SecretInfo) String() string
- type SegBlockInfo
- func (*SegBlockInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SegBlockInfo) GetFsId() string
- func (x *SegBlockInfo) GetNewSeg() *NewSegBlock
- func (x *SegBlockInfo) GetZoneId() string
- func (*SegBlockInfo) ProtoMessage()
- func (x *SegBlockInfo) ProtoReflect() protoreflect.Message
- func (x *SegBlockInfo) Reset()
- func (x *SegBlockInfo) String() string
- type Segment
- func (*Segment) Descriptor() ([]byte, []int)deprecated
- func (x *Segment) GetFsId() string
- func (x *Segment) GetGeneration() uint64
- func (x *Segment) GetIno() uint64
- func (x *Segment) GetMachine() string
- func (x *Segment) GetSegInfo() *SegmentInfo
- func (x *Segment) GetZoneId() string
- func (*Segment) ProtoMessage()
- func (x *Segment) ProtoReflect() protoreflect.Message
- func (x *Segment) Reset()
- func (x *Segment) String() string
- type SegmentBlocks
- func (*SegmentBlocks) Descriptor() ([]byte, []int)deprecated
- func (x *SegmentBlocks) GetCapacity() uint64
- func (x *SegmentBlocks) GetInsertBlocks() []*BlockInfo
- func (x *SegmentBlocks) GetIsUpdateBackendSize() bool
- func (x *SegmentBlocks) GetRemoveBlocks() []*BlockInfo
- func (x *SegmentBlocks) GetSegId0() uint64
- func (x *SegmentBlocks) GetSegId1() uint64
- func (x *SegmentBlocks) GetUnitSize() uint64
- func (*SegmentBlocks) ProtoMessage()
- func (x *SegmentBlocks) ProtoReflect() protoreflect.Message
- func (x *SegmentBlocks) Reset()
- func (x *SegmentBlocks) String() string
- type SegmentInfo
- func (*SegmentInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SegmentInfo) GetBlocks() []*BlockInfo
- func (x *SegmentInfo) GetCapacity() uint64
- func (x *SegmentInfo) GetSegId0() uint64
- func (x *SegmentInfo) GetSegId1() uint64
- func (x *SegmentInfo) GetUnitSize() uint64
- func (*SegmentInfo) ProtoMessage()
- func (x *SegmentInfo) ProtoReflect() protoreflect.Message
- func (x *SegmentInfo) Reset()
- func (x *SegmentInfo) String() string
- type SegmentInfoRet
- func (*SegmentInfoRet) Descriptor() ([]byte, []int)deprecated
- func (x *SegmentInfoRet) GetBackendSize() uint64
- func (x *SegmentInfoRet) GetBlocks() []*BlockInfo
- func (x *SegmentInfoRet) GetCapacity() uint64
- func (x *SegmentInfoRet) GetLeader() string
- func (x *SegmentInfoRet) GetSegId0() uint64
- func (x *SegmentInfoRet) GetSegId1() uint64
- func (x *SegmentInfoRet) GetSize() uint64
- func (x *SegmentInfoRet) GetUnitSize() uint64
- func (*SegmentInfoRet) ProtoMessage()
- func (x *SegmentInfoRet) ProtoReflect() protoreflect.Message
- func (x *SegmentInfoRet) Reset()
- func (x *SegmentInfoRet) String() string
- type Segments
- func (*Segments) Descriptor() ([]byte, []int)deprecated
- func (x *Segments) GetFsId() string
- func (x *Segments) GetGeneration() uint64
- func (x *Segments) GetIno() uint64
- func (x *Segments) GetMachine() string
- func (x *Segments) GetNum() uint64
- func (x *Segments) GetOffset() uint64
- func (x *Segments) GetZoneId() string
- func (*Segments) ProtoMessage()
- func (x *Segments) ProtoReflect() protoreflect.Message
- func (x *Segments) Reset()
- func (x *Segments) String() string
- type SetFileAttrMsg
- func (*SetFileAttrMsg) Descriptor() ([]byte, []int)deprecated
- func (x *SetFileAttrMsg) GetAuth() *AuthToken
- func (x *SetFileAttrMsg) GetFileAttr() *FileAttrInfo
- func (x *SetFileAttrMsg) GetGroupName() string
- func (x *SetFileAttrMsg) GetUserName() string
- func (*SetFileAttrMsg) ProtoMessage()
- func (x *SetFileAttrMsg) ProtoReflect() protoreflect.Message
- func (x *SetFileAttrMsg) Reset()
- func (x *SetFileAttrMsg) String() string
- type SetFileAttrRet
- func (*SetFileAttrRet) Descriptor() ([]byte, []int)deprecated
- func (x *SetFileAttrRet) GetFileInfo() *FileInfo
- func (x *SetFileAttrRet) GetResult() *MetaError
- func (*SetFileAttrRet) ProtoMessage()
- func (x *SetFileAttrRet) ProtoReflect() protoreflect.Message
- func (x *SetFileAttrRet) Reset()
- func (x *SetFileAttrRet) String() string
- type Token
- type TokenInfo
- type TokenResp
- func (*TokenResp) Descriptor() ([]byte, []int)deprecated
- func (x *TokenResp) GetFsId() string
- func (x *TokenResp) GetResult() *AuthError
- func (x *TokenResp) GetToken() *TokenInfo
- func (*TokenResp) ProtoMessage()
- func (x *TokenResp) ProtoReflect() protoreflect.Message
- func (x *TokenResp) Reset()
- func (x *TokenResp) String() string
- type TokenRet
- type UnimplementedAuthServiceServer
- func (UnimplementedAuthServiceServer) AuthenticateInit(context.Context, *InitReq) (*TokenResp, error)
- func (UnimplementedAuthServiceServer) CreateFs(context.Context, *CreateFsMsg) (*CreateFsRet, error)
- func (UnimplementedAuthServiceServer) CreateFsSecret(context.Context, *CreateSecretMsg) (*CreateSecretRet, error)
- func (UnimplementedAuthServiceServer) DeleteFs(context.Context, *DeleteFsMsg) (*DeleteFsRet, error)
- func (UnimplementedAuthServiceServer) DeleteFsSecret(context.Context, *DeleteSecretMsg) (*DeleteSecretRet, error)
- func (UnimplementedAuthServiceServer) DownloadFsSecret(context.Context, *DownloadSecretMsg) (*DownloadSecretRet, error)
- func (UnimplementedAuthServiceServer) ListFs(context.Context, *ListFsMsg) (*ListFsRet, error)
- func (UnimplementedAuthServiceServer) ListFsSecret(context.Context, *ListSecretMsg) (*ListSecretRet, error)
- func (UnimplementedAuthServiceServer) ValidateAccessToken(context.Context, *Token) (*ValidateAccessRet, error)
- func (UnimplementedAuthServiceServer) ValidateRefreshToken(context.Context, *Token) (*ValidateRefreshRet, error)
- type UnimplementedAuthTokenServiceServer
- type UnimplementedMetaServiceServer
- func (UnimplementedMetaServiceServer) CloseFile(context.Context, *CloseFileMsg) (*CloseFileRet, error)
- func (UnimplementedMetaServiceServer) CreateFile(context.Context, *CreateFileMsg) (*CreateFileRet, error)
- func (UnimplementedMetaServiceServer) CreateNewFile(context.Context, *CreateNewFileMsg) (*CreateNewFileRet, error)
- func (UnimplementedMetaServiceServer) CreateSegment(context.Context, *CreateSegmentMsg) (*CreateSegmentRet, error)
- func (UnimplementedMetaServiceServer) DeleteDir(context.Context, *DeleteDirMsg) (*DeleteDirRet, error)
- func (UnimplementedMetaServiceServer) DeleteFile(context.Context, *DeleteFileMsg) (*DeleteFileRet, error)
- func (UnimplementedMetaServiceServer) GetDirFileAttr(context.Context, *GetDirFileAttrMsg) (*GetDirFileAttrRet, error)
- func (UnimplementedMetaServiceServer) GetDirFiles(context.Context, *GetDirFilesMsg) (*GetDirFilesRet, error)
- func (UnimplementedMetaServiceServer) GetFileAttr(context.Context, *GetFileAttrMsg) (*GetFileAttrRet, error)
- func (UnimplementedMetaServiceServer) GetFileLeader(context.Context, *GetFileLeaderMsg) (*GetFileLeaderRet, error)
- func (UnimplementedMetaServiceServer) GetLock(context.Context, *GetLockMsg) (*GetLockRet, error)
- func (UnimplementedMetaServiceServer) GetSegments(context.Context, *GetSegmentsMsg) (*GetSegmentsRet, error)
- func (UnimplementedMetaServiceServer) HeartBeat(context.Context, *HeartBeatMsg) (*HeartBeatRet, error)
- func (UnimplementedMetaServiceServer) Init(context.Context, *InitMsg) (*InitRet, error)
- func (UnimplementedMetaServiceServer) Mount(context.Context, *MountMsg) (*MountRet, error)
- func (UnimplementedMetaServiceServer) ReleaseLock(context.Context, *ReleaseLockMsg) (*ReleaseLockRet, error)
- func (UnimplementedMetaServiceServer) RenameFile(context.Context, *RenameFileMsg) (*RenameFileRet, error)
- func (UnimplementedMetaServiceServer) SetFileAttr(context.Context, *SetFileAttrMsg) (*SetFileAttrRet, error)
- func (UnimplementedMetaServiceServer) UpdateSegBlockInfo(context.Context, *UpdateSegBlockInfoMsg) (*UpdateSegBlockInfoRet, error)
- func (UnimplementedMetaServiceServer) UpdateSegments(context.Context, *UpdateSegmentsMsg) (*UpdateSegmentsRet, error)
- type UnsafeAuthServiceServer
- type UnsafeAuthTokenServiceServer
- type UnsafeMetaServiceServer
- type UpdateSegBlockInfoMsg
- func (*UpdateSegBlockInfoMsg) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSegBlockInfoMsg) GetAuth() *AuthToken
- func (x *UpdateSegBlockInfoMsg) GetSegBlock() *SegBlockInfo
- func (*UpdateSegBlockInfoMsg) ProtoMessage()
- func (x *UpdateSegBlockInfoMsg) ProtoReflect() protoreflect.Message
- func (x *UpdateSegBlockInfoMsg) Reset()
- func (x *UpdateSegBlockInfoMsg) String() string
- type UpdateSegBlockInfoRet
- func (*UpdateSegBlockInfoRet) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSegBlockInfoRet) GetResult() *MetaError
- func (*UpdateSegBlockInfoRet) ProtoMessage()
- func (x *UpdateSegBlockInfoRet) ProtoReflect() protoreflect.Message
- func (x *UpdateSegBlockInfoRet) Reset()
- func (x *UpdateSegBlockInfoRet) String() string
- type UpdateSegmentsInfo
- func (*UpdateSegmentsInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSegmentsInfo) GetFsId() string
- func (x *UpdateSegmentsInfo) GetGeneration() uint64
- func (x *UpdateSegmentsInfo) GetIno() uint64
- func (x *UpdateSegmentsInfo) GetLeader() string
- func (x *UpdateSegmentsInfo) GetSegBlocks() []*SegmentBlocks
- func (x *UpdateSegmentsInfo) GetWriteType() uint32
- func (x *UpdateSegmentsInfo) GetZoneId() string
- func (*UpdateSegmentsInfo) ProtoMessage()
- func (x *UpdateSegmentsInfo) ProtoReflect() protoreflect.Message
- func (x *UpdateSegmentsInfo) Reset()
- func (x *UpdateSegmentsInfo) String() string
- type UpdateSegmentsMsg
- func (*UpdateSegmentsMsg) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSegmentsMsg) GetAuth() *AuthToken
- func (x *UpdateSegmentsMsg) GetSeg() *UpdateSegmentsInfo
- func (*UpdateSegmentsMsg) ProtoMessage()
- func (x *UpdateSegmentsMsg) ProtoReflect() protoreflect.Message
- func (x *UpdateSegmentsMsg) Reset()
- func (x *UpdateSegmentsMsg) String() string
- type UpdateSegmentsRet
- func (*UpdateSegmentsRet) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSegmentsRet) GetResult() *MetaError
- func (*UpdateSegmentsRet) ProtoMessage()
- func (x *UpdateSegmentsRet) ProtoReflect() protoreflect.Message
- func (x *UpdateSegmentsRet) Reset()
- func (x *UpdateSegmentsRet) String() string
- type UserAuth
- func (*UserAuth) Descriptor() ([]byte, []int)deprecated
- func (x *UserAuth) GetAk() string
- func (x *UserAuth) GetBody() []byte
- func (x *UserAuth) GetSignature() string
- func (x *UserAuth) GetTime() int64
- func (*UserAuth) ProtoMessage()
- func (x *UserAuth) ProtoReflect() protoreflect.Message
- func (x *UserAuth) Reset()
- func (x *UserAuth) String() string
- type ValidateAccessRet
- func (*ValidateAccessRet) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateAccessRet) GetResult() *AuthError
- func (*ValidateAccessRet) ProtoMessage()
- func (x *ValidateAccessRet) ProtoReflect() protoreflect.Message
- func (x *ValidateAccessRet) Reset()
- func (x *ValidateAccessRet) String() string
- type ValidateRefreshRet
- func (*ValidateRefreshRet) Descriptor() ([]byte, []int)deprecated
- func (x *ValidateRefreshRet) GetResult() *AuthError
- func (x *ValidateRefreshRet) GetToken() *TokenInfo
- func (*ValidateRefreshRet) ProtoMessage()
- func (x *ValidateRefreshRet) ProtoReflect() protoreflect.Message
- func (x *ValidateRefreshRet) Reset()
- func (x *ValidateRefreshRet) String() string
Constants ¶
This section is empty.
Variables ¶
var AuthService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "protobuf.AuthService", HandlerType: (*AuthServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateFs", Handler: _AuthService_CreateFs_Handler, }, { MethodName: "DeleteFs", Handler: _AuthService_DeleteFs_Handler, }, { MethodName: "ListFs", Handler: _AuthService_ListFs_Handler, }, { MethodName: "CreateFsSecret", Handler: _AuthService_CreateFsSecret_Handler, }, { MethodName: "ListFsSecret", Handler: _AuthService_ListFsSecret_Handler, }, { MethodName: "DownloadFsSecret", Handler: _AuthService_DownloadFsSecret_Handler, }, { MethodName: "DeleteFsSecret", Handler: _AuthService_DeleteFsSecret_Handler, }, { MethodName: "AuthenticateInit", Handler: _AuthService_AuthenticateInit_Handler, }, { MethodName: "ValidateAccessToken", Handler: _AuthService_ValidateAccessToken_Handler, }, { MethodName: "ValidateRefreshToken", Handler: _AuthService_ValidateRefreshToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "authservice.proto", }
AuthService_ServiceDesc is the grpc.ServiceDesc for AuthService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var AuthTokenService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "authtoken.AuthTokenService", HandlerType: (*AuthTokenServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "RefreshToken", Handler: _AuthTokenService_RefreshToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "authtoken.proto", }
AuthTokenService_ServiceDesc is the grpc.ServiceDesc for AuthTokenService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_authservice_proto protoreflect.FileDescriptor
var File_authtoken_proto protoreflect.FileDescriptor
var File_metaservice_proto protoreflect.FileDescriptor
var MetaService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "metaservice.MetaService", HandlerType: (*MetaServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Init", Handler: _MetaService_Init_Handler, }, { MethodName: "Mount", Handler: _MetaService_Mount_Handler, }, { MethodName: "GetDirFiles", Handler: _MetaService_GetDirFiles_Handler, }, { MethodName: "GetDirFileAttr", Handler: _MetaService_GetDirFileAttr_Handler, }, { MethodName: "CreateFile", Handler: _MetaService_CreateFile_Handler, }, { MethodName: "GetFileLeader", Handler: _MetaService_GetFileLeader_Handler, }, { MethodName: "GetFileAttr", Handler: _MetaService_GetFileAttr_Handler, }, { MethodName: "DeleteDir", Handler: _MetaService_DeleteDir_Handler, }, { MethodName: "SetFileAttr", Handler: _MetaService_SetFileAttr_Handler, }, { MethodName: "DeleteFile", Handler: _MetaService_DeleteFile_Handler, }, { MethodName: "RenameFile", Handler: _MetaService_RenameFile_Handler, }, { MethodName: "GetLock", Handler: _MetaService_GetLock_Handler, }, { MethodName: "ReleaseLock", Handler: _MetaService_ReleaseLock_Handler, }, { MethodName: "CreateSegment", Handler: _MetaService_CreateSegment_Handler, }, { MethodName: "UpdateSegments", Handler: _MetaService_UpdateSegments_Handler, }, { MethodName: "GetSegments", Handler: _MetaService_GetSegments_Handler, }, { MethodName: "UpdateSegBlockInfo", Handler: _MetaService_UpdateSegBlockInfo_Handler, }, { MethodName: "HeartBeat", Handler: _MetaService_HeartBeat_Handler, }, { MethodName: "CloseFile", Handler: _MetaService_CloseFile_Handler, }, { MethodName: "CreateNewFile", Handler: _MetaService_CreateNewFile_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "metaservice.proto", }
MetaService_ServiceDesc is the grpc.ServiceDesc for MetaService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAuthServiceServer ¶
func RegisterAuthServiceServer(s grpc.ServiceRegistrar, srv AuthServiceServer)
func RegisterAuthTokenServiceServer ¶
func RegisterAuthTokenServiceServer(s grpc.ServiceRegistrar, srv AuthTokenServiceServer)
func RegisterMetaServiceServer ¶
func RegisterMetaServiceServer(s grpc.ServiceRegistrar, srv MetaServiceServer)
Types ¶
type AclInfo ¶
type AclInfo struct { UserName string `protobuf:"bytes,1,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` GroupName string `protobuf:"bytes,2,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` Flags uint32 `protobuf:"varint,3,opt,name=flags,proto3" json:"flags,omitempty"` // contains filtered or unexported fields }
func (*AclInfo) Descriptor
deprecated
func (*AclInfo) GetGroupName ¶
func (*AclInfo) GetUserName ¶
func (*AclInfo) ProtoMessage ¶
func (*AclInfo) ProtoMessage()
func (*AclInfo) ProtoReflect ¶
func (x *AclInfo) ProtoReflect() protoreflect.Message
type Auth ¶
type Auth struct { Scope string `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"` // contains filtered or unexported fields }
func (*Auth) Descriptor
deprecated
func (*Auth) ProtoMessage ¶
func (*Auth) ProtoMessage()
func (*Auth) ProtoReflect ¶
func (x *Auth) ProtoReflect() protoreflect.Message
type AuthError ¶
type AuthError struct { ErrCode int32 `protobuf:"varint,1,opt,name=err_code,json=errCode,proto3" json:"err_code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"` // contains filtered or unexported fields }
func (*AuthError) Descriptor
deprecated
func (*AuthError) GetErrCode ¶
func (*AuthError) ProtoMessage ¶
func (*AuthError) ProtoMessage()
func (*AuthError) ProtoReflect ¶
func (x *AuthError) ProtoReflect() protoreflect.Message
type AuthServiceClient ¶
type AuthServiceClient interface { // create fs CreateFs(ctx context.Context, in *CreateFsMsg, opts ...grpc.CallOption) (*CreateFsRet, error) // delete fs DeleteFs(ctx context.Context, in *DeleteFsMsg, opts ...grpc.CallOption) (*DeleteFsRet, error) // list fs ListFs(ctx context.Context, in *ListFsMsg, opts ...grpc.CallOption) (*ListFsRet, error) // create fs secret CreateFsSecret(ctx context.Context, in *CreateSecretMsg, opts ...grpc.CallOption) (*CreateSecretRet, error) // list fs secret ListFsSecret(ctx context.Context, in *ListSecretMsg, opts ...grpc.CallOption) (*ListSecretRet, error) // download fs secret DownloadFsSecret(ctx context.Context, in *DownloadSecretMsg, opts ...grpc.CallOption) (*DownloadSecretRet, error) // Delete fs secret DeleteFsSecret(ctx context.Context, in *DeleteSecretMsg, opts ...grpc.CallOption) (*DeleteSecretRet, error) // client instance authentication AuthenticateInit(ctx context.Context, in *InitReq, opts ...grpc.CallOption) (*TokenResp, error) // access_token validation ValidateAccessToken(ctx context.Context, in *Token, opts ...grpc.CallOption) (*ValidateAccessRet, error) // refresh_token validation ValidateRefreshToken(ctx context.Context, in *Token, opts ...grpc.CallOption) (*ValidateRefreshRet, error) }
AuthServiceClient is the client API for AuthService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAuthServiceClient ¶
func NewAuthServiceClient(cc grpc.ClientConnInterface) AuthServiceClient
type AuthServiceServer ¶
type AuthServiceServer interface { // create fs CreateFs(context.Context, *CreateFsMsg) (*CreateFsRet, error) // delete fs DeleteFs(context.Context, *DeleteFsMsg) (*DeleteFsRet, error) // list fs ListFs(context.Context, *ListFsMsg) (*ListFsRet, error) // create fs secret CreateFsSecret(context.Context, *CreateSecretMsg) (*CreateSecretRet, error) // list fs secret ListFsSecret(context.Context, *ListSecretMsg) (*ListSecretRet, error) // download fs secret DownloadFsSecret(context.Context, *DownloadSecretMsg) (*DownloadSecretRet, error) // Delete fs secret DeleteFsSecret(context.Context, *DeleteSecretMsg) (*DeleteSecretRet, error) // client instance authentication AuthenticateInit(context.Context, *InitReq) (*TokenResp, error) // access_token validation ValidateAccessToken(context.Context, *Token) (*ValidateAccessRet, error) // refresh_token validation ValidateRefreshToken(context.Context, *Token) (*ValidateRefreshRet, error) // contains filtered or unexported methods }
AuthServiceServer is the server API for AuthService service. All implementations must embed UnimplementedAuthServiceServer for forward compatibility
type AuthToken ¶
type AuthToken struct { Authorization string `protobuf:"bytes,1,opt,name=authorization,proto3" json:"authorization,omitempty"` // contains filtered or unexported fields }
func (*AuthToken) Descriptor
deprecated
func (*AuthToken) GetAuthorization ¶
func (*AuthToken) ProtoMessage ¶
func (*AuthToken) ProtoMessage()
func (*AuthToken) ProtoReflect ¶
func (x *AuthToken) ProtoReflect() protoreflect.Message
type AuthTokenServiceClient ¶
type AuthTokenServiceClient interface { // refresh token RefreshToken(ctx context.Context, in *RefreshTokenMsg, opts ...grpc.CallOption) (*RefreshTokenRet, error) }
AuthTokenServiceClient is the client API for AuthTokenService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAuthTokenServiceClient ¶
func NewAuthTokenServiceClient(cc grpc.ClientConnInterface) AuthTokenServiceClient
type AuthTokenServiceServer ¶
type AuthTokenServiceServer interface { // refresh token RefreshToken(context.Context, *RefreshTokenMsg) (*RefreshTokenRet, error) // contains filtered or unexported methods }
AuthTokenServiceServer is the server API for AuthTokenService service. All implementations must embed UnimplementedAuthTokenServiceServer for forward compatibility
type AvailableSeg ¶
type AvailableSeg struct { SegId0 uint64 `protobuf:"varint,1,opt,name=seg_id0,json=segId0,proto3" json:"seg_id0,omitempty"` SegId1 uint64 `protobuf:"varint,2,opt,name=seg_id1,json=segId1,proto3" json:"seg_id1,omitempty"` Leader string `protobuf:"bytes,3,opt,name=leader,proto3" json:"leader,omitempty"` BackendSize uint64 `protobuf:"varint,4,opt,name=backend_size,json=backendSize,proto3" json:"backend_size,omitempty"` Capacity uint64 `protobuf:"varint,5,opt,name=capacity,proto3" json:"capacity,omitempty"` UnitSize uint64 `protobuf:"varint,6,opt,name=unit_size,json=unitSize,proto3" json:"unit_size,omitempty"` Size uint64 `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*AvailableSeg) Descriptor
deprecated
func (*AvailableSeg) Descriptor() ([]byte, []int)
Deprecated: Use AvailableSeg.ProtoReflect.Descriptor instead.
func (*AvailableSeg) GetBackendSize ¶
func (x *AvailableSeg) GetBackendSize() uint64
func (*AvailableSeg) GetCapacity ¶
func (x *AvailableSeg) GetCapacity() uint64
func (*AvailableSeg) GetLeader ¶
func (x *AvailableSeg) GetLeader() string
func (*AvailableSeg) GetSegId0 ¶
func (x *AvailableSeg) GetSegId0() uint64
func (*AvailableSeg) GetSegId1 ¶
func (x *AvailableSeg) GetSegId1() uint64
func (*AvailableSeg) GetSize ¶
func (x *AvailableSeg) GetSize() uint64
func (*AvailableSeg) GetUnitSize ¶
func (x *AvailableSeg) GetUnitSize() uint64
func (*AvailableSeg) ProtoMessage ¶
func (*AvailableSeg) ProtoMessage()
func (*AvailableSeg) ProtoReflect ¶
func (x *AvailableSeg) ProtoReflect() protoreflect.Message
func (*AvailableSeg) Reset ¶
func (x *AvailableSeg) Reset()
func (*AvailableSeg) String ¶
func (x *AvailableSeg) String() string
type BackendInfo ¶
type BackendInfo struct { BackendType uint32 `protobuf:"varint,1,opt,name=backend_type,json=backendType,proto3" json:"backend_type,omitempty"` Backend []byte `protobuf:"bytes,2,opt,name=backend,proto3" json:"backend,omitempty"` // contains filtered or unexported fields }
func (*BackendInfo) Descriptor
deprecated
func (*BackendInfo) Descriptor() ([]byte, []int)
Deprecated: Use BackendInfo.ProtoReflect.Descriptor instead.
func (*BackendInfo) GetBackend ¶
func (x *BackendInfo) GetBackend() []byte
func (*BackendInfo) GetBackendType ¶
func (x *BackendInfo) GetBackendType() uint32
func (*BackendInfo) ProtoMessage ¶
func (*BackendInfo) ProtoMessage()
func (*BackendInfo) ProtoReflect ¶
func (x *BackendInfo) ProtoReflect() protoreflect.Message
func (*BackendInfo) Reset ¶
func (x *BackendInfo) Reset()
func (*BackendInfo) String ¶
func (x *BackendInfo) String() string
type BlockInfo ¶
type BlockInfo struct { Offset uint64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` SegStartAddr uint64 `protobuf:"varint,2,opt,name=seg_start_addr,json=segStartAddr,proto3" json:"seg_start_addr,omitempty"` Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*BlockInfo) Descriptor
deprecated
func (*BlockInfo) GetSegStartAddr ¶
func (*BlockInfo) ProtoMessage ¶
func (*BlockInfo) ProtoMessage()
func (*BlockInfo) ProtoReflect ¶
func (x *BlockInfo) ProtoReflect() protoreflect.Message
type CheckSegsInfo ¶
type CheckSegsInfo struct { ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` FsId string `protobuf:"bytes,2,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` Machine string `protobuf:"bytes,3,opt,name=machine,proto3" json:"machine,omitempty"` CheckSegs []*NeedCheckSegs `protobuf:"bytes,4,rep,name=check_segs,json=checkSegs,proto3" json:"check_segs,omitempty"` // contains filtered or unexported fields }
func (*CheckSegsInfo) Descriptor
deprecated
func (*CheckSegsInfo) Descriptor() ([]byte, []int)
Deprecated: Use CheckSegsInfo.ProtoReflect.Descriptor instead.
func (*CheckSegsInfo) GetCheckSegs ¶
func (x *CheckSegsInfo) GetCheckSegs() []*NeedCheckSegs
func (*CheckSegsInfo) GetFsId ¶
func (x *CheckSegsInfo) GetFsId() string
func (*CheckSegsInfo) GetMachine ¶
func (x *CheckSegsInfo) GetMachine() string
func (*CheckSegsInfo) GetZoneId ¶
func (x *CheckSegsInfo) GetZoneId() string
func (*CheckSegsInfo) ProtoMessage ¶
func (*CheckSegsInfo) ProtoMessage()
func (*CheckSegsInfo) ProtoReflect ¶
func (x *CheckSegsInfo) ProtoReflect() protoreflect.Message
func (*CheckSegsInfo) Reset ¶
func (x *CheckSegsInfo) Reset()
func (*CheckSegsInfo) String ¶
func (x *CheckSegsInfo) String() string
type CheckSegsResp ¶
type CheckSegsResp struct { SegId0 uint64 `protobuf:"varint,1,opt,name=seg_id0,json=segId0,proto3" json:"seg_id0,omitempty"` SegId1 uint64 `protobuf:"varint,2,opt,name=seg_id1,json=segId1,proto3" json:"seg_id1,omitempty"` Capacity uint64 `protobuf:"varint,3,opt,name=capacity,proto3" json:"capacity,omitempty"` BackendSize uint64 `protobuf:"varint,4,opt,name=backend_size,json=backendSize,proto3" json:"backend_size,omitempty"` // contains filtered or unexported fields }
func (*CheckSegsResp) Descriptor
deprecated
func (*CheckSegsResp) Descriptor() ([]byte, []int)
Deprecated: Use CheckSegsResp.ProtoReflect.Descriptor instead.
func (*CheckSegsResp) GetBackendSize ¶
func (x *CheckSegsResp) GetBackendSize() uint64
func (*CheckSegsResp) GetCapacity ¶
func (x *CheckSegsResp) GetCapacity() uint64
func (*CheckSegsResp) GetSegId0 ¶
func (x *CheckSegsResp) GetSegId0() uint64
func (*CheckSegsResp) GetSegId1 ¶
func (x *CheckSegsResp) GetSegId1() uint64
func (*CheckSegsResp) ProtoMessage ¶
func (*CheckSegsResp) ProtoMessage()
func (*CheckSegsResp) ProtoReflect ¶
func (x *CheckSegsResp) ProtoReflect() protoreflect.Message
func (*CheckSegsResp) Reset ¶
func (x *CheckSegsResp) Reset()
func (*CheckSegsResp) String ¶
func (x *CheckSegsResp) String() string
type CloseFileMsg ¶
type CloseFileMsg struct { Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` File *File `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` // contains filtered or unexported fields }
func (*CloseFileMsg) Descriptor
deprecated
func (*CloseFileMsg) Descriptor() ([]byte, []int)
Deprecated: Use CloseFileMsg.ProtoReflect.Descriptor instead.
func (*CloseFileMsg) GetAuth ¶
func (x *CloseFileMsg) GetAuth() *AuthToken
func (*CloseFileMsg) GetFile ¶
func (x *CloseFileMsg) GetFile() *File
func (*CloseFileMsg) ProtoMessage ¶
func (*CloseFileMsg) ProtoMessage()
func (*CloseFileMsg) ProtoReflect ¶
func (x *CloseFileMsg) ProtoReflect() protoreflect.Message
func (*CloseFileMsg) Reset ¶
func (x *CloseFileMsg) Reset()
func (*CloseFileMsg) String ¶
func (x *CloseFileMsg) String() string
type CloseFileRet ¶
type CloseFileRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*CloseFileRet) Descriptor
deprecated
func (*CloseFileRet) Descriptor() ([]byte, []int)
Deprecated: Use CloseFileRet.ProtoReflect.Descriptor instead.
func (*CloseFileRet) GetResult ¶
func (x *CloseFileRet) GetResult() *MetaError
func (*CloseFileRet) ProtoMessage ¶
func (*CloseFileRet) ProtoMessage()
func (*CloseFileRet) ProtoReflect ¶
func (x *CloseFileRet) ProtoReflect() protoreflect.Message
func (*CloseFileRet) Reset ¶
func (x *CloseFileRet) Reset()
func (*CloseFileRet) String ¶
func (x *CloseFileRet) String() string
type CreateFileInfo ¶
type CreateFileInfo struct { ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` Machine string `protobuf:"bytes,2,opt,name=machine,proto3" json:"machine,omitempty"` FsId string `protobuf:"bytes,3,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` ParentIno uint64 `protobuf:"varint,4,opt,name=parent_ino,json=parentIno,proto3" json:"parent_ino,omitempty"` FileName string `protobuf:"bytes,5,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` FileType uint32 `protobuf:"varint,6,opt,name=file_type,json=fileType,proto3" json:"file_type,omitempty"` Perm uint32 `protobuf:"varint,7,opt,name=perm,proto3" json:"perm,omitempty"` Uid uint32 `protobuf:"varint,8,opt,name=uid,proto3" json:"uid,omitempty"` Gid uint32 `protobuf:"varint,9,opt,name=gid,proto3" json:"gid,omitempty"` UserName string `protobuf:"bytes,10,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` GroupName string `protobuf:"bytes,11,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // contains filtered or unexported fields }
func (*CreateFileInfo) Descriptor
deprecated
func (*CreateFileInfo) Descriptor() ([]byte, []int)
Deprecated: Use CreateFileInfo.ProtoReflect.Descriptor instead.
func (*CreateFileInfo) GetFileName ¶
func (x *CreateFileInfo) GetFileName() string
func (*CreateFileInfo) GetFileType ¶
func (x *CreateFileInfo) GetFileType() uint32
func (*CreateFileInfo) GetFsId ¶
func (x *CreateFileInfo) GetFsId() string
func (*CreateFileInfo) GetGid ¶
func (x *CreateFileInfo) GetGid() uint32
func (*CreateFileInfo) GetGroupName ¶
func (x *CreateFileInfo) GetGroupName() string
func (*CreateFileInfo) GetMachine ¶
func (x *CreateFileInfo) GetMachine() string
func (*CreateFileInfo) GetParentIno ¶
func (x *CreateFileInfo) GetParentIno() uint64
func (*CreateFileInfo) GetPerm ¶
func (x *CreateFileInfo) GetPerm() uint32
func (*CreateFileInfo) GetUid ¶
func (x *CreateFileInfo) GetUid() uint32
func (*CreateFileInfo) GetUserName ¶
func (x *CreateFileInfo) GetUserName() string
func (*CreateFileInfo) GetZoneId ¶
func (x *CreateFileInfo) GetZoneId() string
func (*CreateFileInfo) ProtoMessage ¶
func (*CreateFileInfo) ProtoMessage()
func (*CreateFileInfo) ProtoReflect ¶
func (x *CreateFileInfo) ProtoReflect() protoreflect.Message
func (*CreateFileInfo) Reset ¶
func (x *CreateFileInfo) Reset()
func (*CreateFileInfo) String ¶
func (x *CreateFileInfo) String() string
type CreateFileMsg ¶
type CreateFileMsg struct { Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` FileInfo *CreateFileInfo `protobuf:"bytes,2,opt,name=file_info,json=fileInfo,proto3" json:"file_info,omitempty"` Acl *AclInfo `protobuf:"bytes,3,opt,name=acl,proto3" json:"acl,omitempty"` // contains filtered or unexported fields }
func (*CreateFileMsg) Descriptor
deprecated
func (*CreateFileMsg) Descriptor() ([]byte, []int)
Deprecated: Use CreateFileMsg.ProtoReflect.Descriptor instead.
func (*CreateFileMsg) GetAcl ¶
func (x *CreateFileMsg) GetAcl() *AclInfo
func (*CreateFileMsg) GetAuth ¶
func (x *CreateFileMsg) GetAuth() *AuthToken
func (*CreateFileMsg) GetFileInfo ¶
func (x *CreateFileMsg) GetFileInfo() *CreateFileInfo
func (*CreateFileMsg) ProtoMessage ¶
func (*CreateFileMsg) ProtoMessage()
func (*CreateFileMsg) ProtoReflect ¶
func (x *CreateFileMsg) ProtoReflect() protoreflect.Message
func (*CreateFileMsg) Reset ¶
func (x *CreateFileMsg) Reset()
func (*CreateFileMsg) String ¶
func (x *CreateFileMsg) String() string
type CreateFileRet ¶
type CreateFileRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` File *FileInfo `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` LeaderInfo *LeaderInfo `protobuf:"bytes,3,opt,name=leader_info,json=leaderInfo,proto3" json:"leader_info,omitempty"` // contains filtered or unexported fields }
func (*CreateFileRet) Descriptor
deprecated
func (*CreateFileRet) Descriptor() ([]byte, []int)
Deprecated: Use CreateFileRet.ProtoReflect.Descriptor instead.
func (*CreateFileRet) GetFile ¶
func (x *CreateFileRet) GetFile() *FileInfo
func (*CreateFileRet) GetLeaderInfo ¶
func (x *CreateFileRet) GetLeaderInfo() *LeaderInfo
func (*CreateFileRet) GetResult ¶
func (x *CreateFileRet) GetResult() *MetaError
func (*CreateFileRet) ProtoMessage ¶
func (*CreateFileRet) ProtoMessage()
func (*CreateFileRet) ProtoReflect ¶
func (x *CreateFileRet) ProtoReflect() protoreflect.Message
func (*CreateFileRet) Reset ¶
func (x *CreateFileRet) Reset()
func (*CreateFileRet) String ¶
func (x *CreateFileRet) String() string
type CreateFsMsg ¶
type CreateFsMsg struct { AuthInfo *FsInfoAuth `protobuf:"bytes,1,opt,name=auth_info,json=authInfo,proto3" json:"auth_info,omitempty"` // contains filtered or unexported fields }
func (*CreateFsMsg) Descriptor
deprecated
func (*CreateFsMsg) Descriptor() ([]byte, []int)
Deprecated: Use CreateFsMsg.ProtoReflect.Descriptor instead.
func (*CreateFsMsg) GetAuthInfo ¶
func (x *CreateFsMsg) GetAuthInfo() *FsInfoAuth
func (*CreateFsMsg) ProtoMessage ¶
func (*CreateFsMsg) ProtoMessage()
func (*CreateFsMsg) ProtoReflect ¶
func (x *CreateFsMsg) ProtoReflect() protoreflect.Message
func (*CreateFsMsg) Reset ¶
func (x *CreateFsMsg) Reset()
func (*CreateFsMsg) String ¶
func (x *CreateFsMsg) String() string
type CreateFsRet ¶
type CreateFsRet struct { Result *AuthError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` FsId string `protobuf:"bytes,2,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
func (*CreateFsRet) Descriptor
deprecated
func (*CreateFsRet) Descriptor() ([]byte, []int)
Deprecated: Use CreateFsRet.ProtoReflect.Descriptor instead.
func (*CreateFsRet) GetFsId ¶
func (x *CreateFsRet) GetFsId() string
func (*CreateFsRet) GetResult ¶
func (x *CreateFsRet) GetResult() *AuthError
func (*CreateFsRet) GetUid ¶
func (x *CreateFsRet) GetUid() int64
func (*CreateFsRet) ProtoMessage ¶
func (*CreateFsRet) ProtoMessage()
func (*CreateFsRet) ProtoReflect ¶
func (x *CreateFsRet) ProtoReflect() protoreflect.Message
func (*CreateFsRet) Reset ¶
func (x *CreateFsRet) Reset()
func (*CreateFsRet) String ¶
func (x *CreateFsRet) String() string
type CreateNewFileMsg ¶
type CreateNewFileMsg struct { Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` FileInfo *CreateFileInfo `protobuf:"bytes,2,opt,name=file_info,json=fileInfo,proto3" json:"file_info,omitempty"` Acl *AclInfo `protobuf:"bytes,3,opt,name=acl,proto3" json:"acl,omitempty"` // contains filtered or unexported fields }
func (*CreateNewFileMsg) Descriptor
deprecated
func (*CreateNewFileMsg) Descriptor() ([]byte, []int)
Deprecated: Use CreateNewFileMsg.ProtoReflect.Descriptor instead.
func (*CreateNewFileMsg) GetAcl ¶
func (x *CreateNewFileMsg) GetAcl() *AclInfo
func (*CreateNewFileMsg) GetAuth ¶
func (x *CreateNewFileMsg) GetAuth() *AuthToken
func (*CreateNewFileMsg) GetFileInfo ¶
func (x *CreateNewFileMsg) GetFileInfo() *CreateFileInfo
func (*CreateNewFileMsg) ProtoMessage ¶
func (*CreateNewFileMsg) ProtoMessage()
func (*CreateNewFileMsg) ProtoReflect ¶
func (x *CreateNewFileMsg) ProtoReflect() protoreflect.Message
func (*CreateNewFileMsg) Reset ¶
func (x *CreateNewFileMsg) Reset()
func (*CreateNewFileMsg) String ¶
func (x *CreateNewFileMsg) String() string
type CreateNewFileRet ¶
type CreateNewFileRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` File *FileInfo `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` LeaderInfo *LeaderInfo `protobuf:"bytes,3,opt,name=leader_info,json=leaderInfo,proto3" json:"leader_info,omitempty"` Seg *AvailableSeg `protobuf:"bytes,4,opt,name=seg,proto3" json:"seg,omitempty"` // contains filtered or unexported fields }
func (*CreateNewFileRet) Descriptor
deprecated
func (*CreateNewFileRet) Descriptor() ([]byte, []int)
Deprecated: Use CreateNewFileRet.ProtoReflect.Descriptor instead.
func (*CreateNewFileRet) GetFile ¶
func (x *CreateNewFileRet) GetFile() *FileInfo
func (*CreateNewFileRet) GetLeaderInfo ¶
func (x *CreateNewFileRet) GetLeaderInfo() *LeaderInfo
func (*CreateNewFileRet) GetResult ¶
func (x *CreateNewFileRet) GetResult() *MetaError
func (*CreateNewFileRet) GetSeg ¶
func (x *CreateNewFileRet) GetSeg() *AvailableSeg
func (*CreateNewFileRet) ProtoMessage ¶
func (*CreateNewFileRet) ProtoMessage()
func (*CreateNewFileRet) ProtoReflect ¶
func (x *CreateNewFileRet) ProtoReflect() protoreflect.Message
func (*CreateNewFileRet) Reset ¶
func (x *CreateNewFileRet) Reset()
func (*CreateNewFileRet) String ¶
func (x *CreateNewFileRet) String() string
type CreateSecretMsg ¶
type CreateSecretMsg struct { AuthInfo *SecretAuth `protobuf:"bytes,1,opt,name=auth_info,json=authInfo,proto3" json:"auth_info,omitempty"` // contains filtered or unexported fields }
func (*CreateSecretMsg) Descriptor
deprecated
func (*CreateSecretMsg) Descriptor() ([]byte, []int)
Deprecated: Use CreateSecretMsg.ProtoReflect.Descriptor instead.
func (*CreateSecretMsg) GetAuthInfo ¶
func (x *CreateSecretMsg) GetAuthInfo() *SecretAuth
func (*CreateSecretMsg) ProtoMessage ¶
func (*CreateSecretMsg) ProtoMessage()
func (*CreateSecretMsg) ProtoReflect ¶
func (x *CreateSecretMsg) ProtoReflect() protoreflect.Message
func (*CreateSecretMsg) Reset ¶
func (x *CreateSecretMsg) Reset()
func (*CreateSecretMsg) String ¶
func (x *CreateSecretMsg) String() string
type CreateSecretRet ¶
type CreateSecretRet struct { Result *AuthError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Secret *SecretInfo `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*CreateSecretRet) Descriptor
deprecated
func (*CreateSecretRet) Descriptor() ([]byte, []int)
Deprecated: Use CreateSecretRet.ProtoReflect.Descriptor instead.
func (*CreateSecretRet) GetResult ¶
func (x *CreateSecretRet) GetResult() *AuthError
func (*CreateSecretRet) GetSecret ¶
func (x *CreateSecretRet) GetSecret() *SecretInfo
func (*CreateSecretRet) ProtoMessage ¶
func (*CreateSecretRet) ProtoMessage()
func (*CreateSecretRet) ProtoReflect ¶
func (x *CreateSecretRet) ProtoReflect() protoreflect.Message
func (*CreateSecretRet) Reset ¶
func (x *CreateSecretRet) Reset()
func (*CreateSecretRet) String ¶
func (x *CreateSecretRet) String() string
type CreateSegmentMsg ¶
type CreateSegmentMsg struct { Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` Seg *Segment `protobuf:"bytes,2,opt,name=seg,proto3" json:"seg,omitempty"` // contains filtered or unexported fields }
func (*CreateSegmentMsg) Descriptor
deprecated
func (*CreateSegmentMsg) Descriptor() ([]byte, []int)
Deprecated: Use CreateSegmentMsg.ProtoReflect.Descriptor instead.
func (*CreateSegmentMsg) GetAuth ¶
func (x *CreateSegmentMsg) GetAuth() *AuthToken
func (*CreateSegmentMsg) GetSeg ¶
func (x *CreateSegmentMsg) GetSeg() *Segment
func (*CreateSegmentMsg) ProtoMessage ¶
func (*CreateSegmentMsg) ProtoMessage()
func (*CreateSegmentMsg) ProtoReflect ¶
func (x *CreateSegmentMsg) ProtoReflect() protoreflect.Message
func (*CreateSegmentMsg) Reset ¶
func (x *CreateSegmentMsg) Reset()
func (*CreateSegmentMsg) String ¶
func (x *CreateSegmentMsg) String() string
type CreateSegmentRet ¶
type CreateSegmentRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*CreateSegmentRet) Descriptor
deprecated
func (*CreateSegmentRet) Descriptor() ([]byte, []int)
Deprecated: Use CreateSegmentRet.ProtoReflect.Descriptor instead.
func (*CreateSegmentRet) GetResult ¶
func (x *CreateSegmentRet) GetResult() *MetaError
func (*CreateSegmentRet) ProtoMessage ¶
func (*CreateSegmentRet) ProtoMessage()
func (*CreateSegmentRet) ProtoReflect ¶
func (x *CreateSegmentRet) ProtoReflect() protoreflect.Message
func (*CreateSegmentRet) Reset ¶
func (x *CreateSegmentRet) Reset()
func (*CreateSegmentRet) String ¶
func (x *CreateSegmentRet) String() string
type DeleteDir ¶
type DeleteDir struct { FsId string `protobuf:"bytes,1,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` ParentIno uint64 `protobuf:"varint,2,opt,name=parent_ino,json=parentIno,proto3" json:"parent_ino,omitempty"` DirName string `protobuf:"bytes,3,opt,name=dir_name,json=dirName,proto3" json:"dir_name,omitempty"` ZoneId string `protobuf:"bytes,4,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` Machine string `protobuf:"bytes,5,opt,name=machine,proto3" json:"machine,omitempty"` // contains filtered or unexported fields }
func (*DeleteDir) Descriptor
deprecated
func (*DeleteDir) GetDirName ¶
func (*DeleteDir) GetMachine ¶
func (*DeleteDir) GetParentIno ¶
func (*DeleteDir) ProtoMessage ¶
func (*DeleteDir) ProtoMessage()
func (*DeleteDir) ProtoReflect ¶
func (x *DeleteDir) ProtoReflect() protoreflect.Message
type DeleteDirMsg ¶
type DeleteDirMsg struct { Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` Dir *DeleteDir `protobuf:"bytes,2,opt,name=dir,proto3" json:"dir,omitempty"` Acl *AclInfo `protobuf:"bytes,3,opt,name=acl,proto3" json:"acl,omitempty"` // contains filtered or unexported fields }
func (*DeleteDirMsg) Descriptor
deprecated
func (*DeleteDirMsg) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDirMsg.ProtoReflect.Descriptor instead.
func (*DeleteDirMsg) GetAcl ¶
func (x *DeleteDirMsg) GetAcl() *AclInfo
func (*DeleteDirMsg) GetAuth ¶
func (x *DeleteDirMsg) GetAuth() *AuthToken
func (*DeleteDirMsg) GetDir ¶
func (x *DeleteDirMsg) GetDir() *DeleteDir
func (*DeleteDirMsg) ProtoMessage ¶
func (*DeleteDirMsg) ProtoMessage()
func (*DeleteDirMsg) ProtoReflect ¶
func (x *DeleteDirMsg) ProtoReflect() protoreflect.Message
func (*DeleteDirMsg) Reset ¶
func (x *DeleteDirMsg) Reset()
func (*DeleteDirMsg) String ¶
func (x *DeleteDirMsg) String() string
type DeleteDirRet ¶
type DeleteDirRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*DeleteDirRet) Descriptor
deprecated
func (*DeleteDirRet) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDirRet.ProtoReflect.Descriptor instead.
func (*DeleteDirRet) GetResult ¶
func (x *DeleteDirRet) GetResult() *MetaError
func (*DeleteDirRet) ProtoMessage ¶
func (*DeleteDirRet) ProtoMessage()
func (*DeleteDirRet) ProtoReflect ¶
func (x *DeleteDirRet) ProtoReflect() protoreflect.Message
func (*DeleteDirRet) Reset ¶
func (x *DeleteDirRet) Reset()
func (*DeleteDirRet) String ¶
func (x *DeleteDirRet) String() string
type DeleteFileInfo ¶
type DeleteFileInfo struct { FsId string `protobuf:"bytes,1,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` Ino uint64 `protobuf:"varint,2,opt,name=ino,proto3" json:"ino,omitempty"` Generation uint64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` ZoneId string `protobuf:"bytes,4,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` Machine string `protobuf:"bytes,5,opt,name=machine,proto3" json:"machine,omitempty"` // contains filtered or unexported fields }
func (*DeleteFileInfo) Descriptor
deprecated
func (*DeleteFileInfo) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFileInfo.ProtoReflect.Descriptor instead.
func (*DeleteFileInfo) GetFsId ¶
func (x *DeleteFileInfo) GetFsId() string
func (*DeleteFileInfo) GetGeneration ¶
func (x *DeleteFileInfo) GetGeneration() uint64
func (*DeleteFileInfo) GetIno ¶
func (x *DeleteFileInfo) GetIno() uint64
func (*DeleteFileInfo) GetMachine ¶
func (x *DeleteFileInfo) GetMachine() string
func (*DeleteFileInfo) GetZoneId ¶
func (x *DeleteFileInfo) GetZoneId() string
func (*DeleteFileInfo) ProtoMessage ¶
func (*DeleteFileInfo) ProtoMessage()
func (*DeleteFileInfo) ProtoReflect ¶
func (x *DeleteFileInfo) ProtoReflect() protoreflect.Message
func (*DeleteFileInfo) Reset ¶
func (x *DeleteFileInfo) Reset()
func (*DeleteFileInfo) String ¶
func (x *DeleteFileInfo) String() string
type DeleteFileMsg ¶
type DeleteFileMsg struct { Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` File *DeleteFileInfo `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` Acl *AclInfo `protobuf:"bytes,3,opt,name=acl,proto3" json:"acl,omitempty"` // contains filtered or unexported fields }
func (*DeleteFileMsg) Descriptor
deprecated
func (*DeleteFileMsg) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFileMsg.ProtoReflect.Descriptor instead.
func (*DeleteFileMsg) GetAcl ¶
func (x *DeleteFileMsg) GetAcl() *AclInfo
func (*DeleteFileMsg) GetAuth ¶
func (x *DeleteFileMsg) GetAuth() *AuthToken
func (*DeleteFileMsg) GetFile ¶
func (x *DeleteFileMsg) GetFile() *DeleteFileInfo
func (*DeleteFileMsg) ProtoMessage ¶
func (*DeleteFileMsg) ProtoMessage()
func (*DeleteFileMsg) ProtoReflect ¶
func (x *DeleteFileMsg) ProtoReflect() protoreflect.Message
func (*DeleteFileMsg) Reset ¶
func (x *DeleteFileMsg) Reset()
func (*DeleteFileMsg) String ¶
func (x *DeleteFileMsg) String() string
type DeleteFileRet ¶
type DeleteFileRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*DeleteFileRet) Descriptor
deprecated
func (*DeleteFileRet) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFileRet.ProtoReflect.Descriptor instead.
func (*DeleteFileRet) GetResult ¶
func (x *DeleteFileRet) GetResult() *MetaError
func (*DeleteFileRet) ProtoMessage ¶
func (*DeleteFileRet) ProtoMessage()
func (*DeleteFileRet) ProtoReflect ¶
func (x *DeleteFileRet) ProtoReflect() protoreflect.Message
func (*DeleteFileRet) Reset ¶
func (x *DeleteFileRet) Reset()
func (*DeleteFileRet) String ¶
func (x *DeleteFileRet) String() string
type DeleteFsMsg ¶
type DeleteFsMsg struct { AuthInfo *FsInfoAuth `protobuf:"bytes,1,opt,name=auth_info,json=authInfo,proto3" json:"auth_info,omitempty"` // contains filtered or unexported fields }
func (*DeleteFsMsg) Descriptor
deprecated
func (*DeleteFsMsg) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFsMsg.ProtoReflect.Descriptor instead.
func (*DeleteFsMsg) GetAuthInfo ¶
func (x *DeleteFsMsg) GetAuthInfo() *FsInfoAuth
func (*DeleteFsMsg) ProtoMessage ¶
func (*DeleteFsMsg) ProtoMessage()
func (*DeleteFsMsg) ProtoReflect ¶
func (x *DeleteFsMsg) ProtoReflect() protoreflect.Message
func (*DeleteFsMsg) Reset ¶
func (x *DeleteFsMsg) Reset()
func (*DeleteFsMsg) String ¶
func (x *DeleteFsMsg) String() string
type DeleteFsRet ¶
type DeleteFsRet struct { Result *AuthError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*DeleteFsRet) Descriptor
deprecated
func (*DeleteFsRet) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFsRet.ProtoReflect.Descriptor instead.
func (*DeleteFsRet) GetResult ¶
func (x *DeleteFsRet) GetResult() *AuthError
func (*DeleteFsRet) ProtoMessage ¶
func (*DeleteFsRet) ProtoMessage()
func (*DeleteFsRet) ProtoReflect ¶
func (x *DeleteFsRet) ProtoReflect() protoreflect.Message
func (*DeleteFsRet) Reset ¶
func (x *DeleteFsRet) Reset()
func (*DeleteFsRet) String ¶
func (x *DeleteFsRet) String() string
type DeleteSecretMsg ¶
type DeleteSecretMsg struct { AuthInfo *SecretAuth `protobuf:"bytes,1,opt,name=auth_info,json=authInfo,proto3" json:"auth_info,omitempty"` // contains filtered or unexported fields }
func (*DeleteSecretMsg) Descriptor
deprecated
func (*DeleteSecretMsg) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSecretMsg.ProtoReflect.Descriptor instead.
func (*DeleteSecretMsg) GetAuthInfo ¶
func (x *DeleteSecretMsg) GetAuthInfo() *SecretAuth
func (*DeleteSecretMsg) ProtoMessage ¶
func (*DeleteSecretMsg) ProtoMessage()
func (*DeleteSecretMsg) ProtoReflect ¶
func (x *DeleteSecretMsg) ProtoReflect() protoreflect.Message
func (*DeleteSecretMsg) Reset ¶
func (x *DeleteSecretMsg) Reset()
func (*DeleteSecretMsg) String ¶
func (x *DeleteSecretMsg) String() string
type DeleteSecretRet ¶
type DeleteSecretRet struct { Result *AuthError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*DeleteSecretRet) Descriptor
deprecated
func (*DeleteSecretRet) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSecretRet.ProtoReflect.Descriptor instead.
func (*DeleteSecretRet) GetResult ¶
func (x *DeleteSecretRet) GetResult() *AuthError
func (*DeleteSecretRet) ProtoMessage ¶
func (*DeleteSecretRet) ProtoMessage()
func (*DeleteSecretRet) ProtoReflect ¶
func (x *DeleteSecretRet) ProtoReflect() protoreflect.Message
func (*DeleteSecretRet) Reset ¶
func (x *DeleteSecretRet) Reset()
func (*DeleteSecretRet) String ¶
func (x *DeleteSecretRet) String() string
type DirFileAttr ¶
type DirFileAttr struct { FsId string `protobuf:"bytes,1,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` ParentIno uint64 `protobuf:"varint,2,opt,name=parent_ino,json=parentIno,proto3" json:"parent_ino,omitempty"` FileName string `protobuf:"bytes,3,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` // contains filtered or unexported fields }
func (*DirFileAttr) Descriptor
deprecated
func (*DirFileAttr) Descriptor() ([]byte, []int)
Deprecated: Use DirFileAttr.ProtoReflect.Descriptor instead.
func (*DirFileAttr) GetFileName ¶
func (x *DirFileAttr) GetFileName() string
func (*DirFileAttr) GetFsId ¶
func (x *DirFileAttr) GetFsId() string
func (*DirFileAttr) GetParentIno ¶
func (x *DirFileAttr) GetParentIno() uint64
func (*DirFileAttr) ProtoMessage ¶
func (*DirFileAttr) ProtoMessage()
func (*DirFileAttr) ProtoReflect ¶
func (x *DirFileAttr) ProtoReflect() protoreflect.Message
func (*DirFileAttr) Reset ¶
func (x *DirFileAttr) Reset()
func (*DirFileAttr) String ¶
func (x *DirFileAttr) String() string
type DirInfo ¶
type DirInfo struct { FsId string `protobuf:"bytes,1,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` Ino uint64 `protobuf:"varint,2,opt,name=ino,proto3" json:"ino,omitempty"` Offset uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` // contains filtered or unexported fields }
func (*DirInfo) Descriptor
deprecated
func (*DirInfo) ProtoMessage ¶
func (*DirInfo) ProtoMessage()
func (*DirInfo) ProtoReflect ¶
func (x *DirInfo) ProtoReflect() protoreflect.Message
type DownloadSecretMsg ¶
type DownloadSecretMsg struct { AuthInfo *SecretAuth `protobuf:"bytes,1,opt,name=auth_info,json=authInfo,proto3" json:"auth_info,omitempty"` // contains filtered or unexported fields }
func (*DownloadSecretMsg) Descriptor
deprecated
func (*DownloadSecretMsg) Descriptor() ([]byte, []int)
Deprecated: Use DownloadSecretMsg.ProtoReflect.Descriptor instead.
func (*DownloadSecretMsg) GetAuthInfo ¶
func (x *DownloadSecretMsg) GetAuthInfo() *SecretAuth
func (*DownloadSecretMsg) ProtoMessage ¶
func (*DownloadSecretMsg) ProtoMessage()
func (*DownloadSecretMsg) ProtoReflect ¶
func (x *DownloadSecretMsg) ProtoReflect() protoreflect.Message
func (*DownloadSecretMsg) Reset ¶
func (x *DownloadSecretMsg) Reset()
func (*DownloadSecretMsg) String ¶
func (x *DownloadSecretMsg) String() string
type DownloadSecretRet ¶
type DownloadSecretRet struct { Result *AuthError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*DownloadSecretRet) Descriptor
deprecated
func (*DownloadSecretRet) Descriptor() ([]byte, []int)
Deprecated: Use DownloadSecretRet.ProtoReflect.Descriptor instead.
func (*DownloadSecretRet) GetResult ¶
func (x *DownloadSecretRet) GetResult() *AuthError
func (*DownloadSecretRet) GetSecret ¶
func (x *DownloadSecretRet) GetSecret() string
func (*DownloadSecretRet) ProtoMessage ¶
func (*DownloadSecretRet) ProtoMessage()
func (*DownloadSecretRet) ProtoReflect ¶
func (x *DownloadSecretRet) ProtoReflect() protoreflect.Message
func (*DownloadSecretRet) Reset ¶
func (x *DownloadSecretRet) Reset()
func (*DownloadSecretRet) String ¶
func (x *DownloadSecretRet) String() string
type File ¶
type File struct { ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` Machine string `protobuf:"bytes,2,opt,name=machine,proto3" json:"machine,omitempty"` FsId string `protobuf:"bytes,3,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` Ino uint64 `protobuf:"varint,4,opt,name=ino,proto3" json:"ino,omitempty"` Generation uint64 `protobuf:"varint,5,opt,name=generation,proto3" json:"generation,omitempty"` // contains filtered or unexported fields }
func (*File) Descriptor
deprecated
func (*File) GetGeneration ¶
func (*File) GetMachine ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
func (*File) ProtoReflect ¶
func (x *File) ProtoReflect() protoreflect.Message
type FileAttr ¶
type FileAttr struct { FsId string `protobuf:"bytes,1,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` Ino uint64 `protobuf:"varint,2,opt,name=ino,proto3" json:"ino,omitempty"` Generation uint64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` // contains filtered or unexported fields }
func (*FileAttr) Descriptor
deprecated
func (*FileAttr) GetGeneration ¶
func (*FileAttr) ProtoMessage ¶
func (*FileAttr) ProtoMessage()
func (*FileAttr) ProtoReflect ¶
func (x *FileAttr) ProtoReflect() protoreflect.Message
type FileAttrInfo ¶
type FileAttrInfo struct { FsId string `protobuf:"bytes,1,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` FileDetail *FileDetail `protobuf:"bytes,2,opt,name=file_detail,json=fileDetail,proto3" json:"file_detail,omitempty"` // contains filtered or unexported fields }
func (*FileAttrInfo) Descriptor
deprecated
func (*FileAttrInfo) Descriptor() ([]byte, []int)
Deprecated: Use FileAttrInfo.ProtoReflect.Descriptor instead.
func (*FileAttrInfo) GetFileDetail ¶
func (x *FileAttrInfo) GetFileDetail() *FileDetail
func (*FileAttrInfo) GetFsId ¶
func (x *FileAttrInfo) GetFsId() string
func (*FileAttrInfo) ProtoMessage ¶
func (*FileAttrInfo) ProtoMessage()
func (*FileAttrInfo) ProtoReflect ¶
func (x *FileAttrInfo) ProtoReflect() protoreflect.Message
func (*FileAttrInfo) Reset ¶
func (x *FileAttrInfo) Reset()
func (*FileAttrInfo) String ¶
func (x *FileAttrInfo) String() string
type FileDetail ¶
type FileDetail struct { Ino uint64 `protobuf:"varint,1,opt,name=ino,proto3" json:"ino,omitempty"` Generation uint64 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"` Size *uint64 `protobuf:"varint,3,opt,name=size,proto3,oneof" json:"size,omitempty"` Ctime *int64 `protobuf:"varint,4,opt,name=ctime,proto3,oneof" json:"ctime,omitempty"` Mtime *int64 `protobuf:"varint,5,opt,name=mtime,proto3,oneof" json:"mtime,omitempty"` Atime *int64 `protobuf:"varint,6,opt,name=atime,proto3,oneof" json:"atime,omitempty"` Perm *uint32 `protobuf:"varint,7,opt,name=perm,proto3,oneof" json:"perm,omitempty"` Uid *uint32 `protobuf:"varint,8,opt,name=uid,proto3,oneof" json:"uid,omitempty"` Gid *uint32 `protobuf:"varint,9,opt,name=gid,proto3,oneof" json:"gid,omitempty"` UserName *string `protobuf:"bytes,10,opt,name=user_name,json=userName,proto3,oneof" json:"user_name,omitempty"` GroupName *string `protobuf:"bytes,11,opt,name=group_name,json=groupName,proto3,oneof" json:"group_name,omitempty"` BlocksNum *uint64 `protobuf:"varint,12,opt,name=blocks_num,json=blocksNum,proto3,oneof" json:"blocks_num,omitempty"` // contains filtered or unexported fields }
func (*FileDetail) Descriptor
deprecated
func (*FileDetail) Descriptor() ([]byte, []int)
Deprecated: Use FileDetail.ProtoReflect.Descriptor instead.
func (*FileDetail) GetAtime ¶
func (x *FileDetail) GetAtime() int64
func (*FileDetail) GetBlocksNum ¶
func (x *FileDetail) GetBlocksNum() uint64
func (*FileDetail) GetCtime ¶
func (x *FileDetail) GetCtime() int64
func (*FileDetail) GetGeneration ¶
func (x *FileDetail) GetGeneration() uint64
func (*FileDetail) GetGid ¶
func (x *FileDetail) GetGid() uint32
func (*FileDetail) GetGroupName ¶
func (x *FileDetail) GetGroupName() string
func (*FileDetail) GetIno ¶
func (x *FileDetail) GetIno() uint64
func (*FileDetail) GetMtime ¶
func (x *FileDetail) GetMtime() int64
func (*FileDetail) GetPerm ¶
func (x *FileDetail) GetPerm() uint32
func (*FileDetail) GetSize ¶
func (x *FileDetail) GetSize() uint64
func (*FileDetail) GetUid ¶
func (x *FileDetail) GetUid() uint32
func (*FileDetail) GetUserName ¶
func (x *FileDetail) GetUserName() string
func (*FileDetail) ProtoMessage ¶
func (*FileDetail) ProtoMessage()
func (*FileDetail) ProtoReflect ¶
func (x *FileDetail) ProtoReflect() protoreflect.Message
func (*FileDetail) Reset ¶
func (x *FileDetail) Reset()
func (*FileDetail) String ¶
func (x *FileDetail) String() string
type FileInfo ¶
type FileInfo struct { Ino uint64 `protobuf:"varint,1,opt,name=ino,proto3" json:"ino,omitempty"` Generation uint64 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"` FsId string `protobuf:"bytes,3,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` ParentIno uint64 `protobuf:"varint,4,opt,name=parent_ino,json=parentIno,proto3" json:"parent_ino,omitempty"` FileName string `protobuf:"bytes,5,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` Size uint64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` FileType uint32 `protobuf:"varint,7,opt,name=file_type,json=fileType,proto3" json:"file_type,omitempty"` Ctime int64 `protobuf:"varint,8,opt,name=ctime,proto3" json:"ctime,omitempty"` Mtime int64 `protobuf:"varint,9,opt,name=mtime,proto3" json:"mtime,omitempty"` Atime int64 `protobuf:"varint,10,opt,name=atime,proto3" json:"atime,omitempty"` Perm uint32 `protobuf:"varint,11,opt,name=perm,proto3" json:"perm,omitempty"` Nlink uint32 `protobuf:"varint,12,opt,name=nlink,proto3" json:"nlink,omitempty"` Uid uint32 `protobuf:"varint,13,opt,name=uid,proto3" json:"uid,omitempty"` Gid uint32 `protobuf:"varint,14,opt,name=gid,proto3" json:"gid,omitempty"` Blocks uint64 `protobuf:"varint,15,opt,name=blocks,proto3" json:"blocks,omitempty"` UserName string `protobuf:"bytes,16,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` GroupName string `protobuf:"bytes,17,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // contains filtered or unexported fields }
func (*FileInfo) Descriptor
deprecated
func (*FileInfo) GetFileName ¶
func (*FileInfo) GetFileType ¶
func (*FileInfo) GetGeneration ¶
func (*FileInfo) GetGroupName ¶
func (*FileInfo) GetParentIno ¶
func (*FileInfo) GetUserName ¶
func (*FileInfo) ProtoMessage ¶
func (*FileInfo) ProtoMessage()
func (*FileInfo) ProtoReflect ¶
func (x *FileInfo) ProtoReflect() protoreflect.Message
type FileLeader ¶
type FileLeader struct { ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` FsId string `protobuf:"bytes,2,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` Ino uint64 `protobuf:"varint,3,opt,name=ino,proto3" json:"ino,omitempty"` Generation uint64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"` Machine string `protobuf:"bytes,5,opt,name=machine,proto3" json:"machine,omitempty"` // contains filtered or unexported fields }
func (*FileLeader) Descriptor
deprecated
func (*FileLeader) Descriptor() ([]byte, []int)
Deprecated: Use FileLeader.ProtoReflect.Descriptor instead.
func (*FileLeader) GetFsId ¶
func (x *FileLeader) GetFsId() string
func (*FileLeader) GetGeneration ¶
func (x *FileLeader) GetGeneration() uint64
func (*FileLeader) GetIno ¶
func (x *FileLeader) GetIno() uint64
func (*FileLeader) GetMachine ¶
func (x *FileLeader) GetMachine() string
func (*FileLeader) GetZoneId ¶
func (x *FileLeader) GetZoneId() string
func (*FileLeader) ProtoMessage ¶
func (*FileLeader) ProtoMessage()
func (*FileLeader) ProtoReflect ¶
func (x *FileLeader) ProtoReflect() protoreflect.Message
func (*FileLeader) Reset ¶
func (x *FileLeader) Reset()
func (*FileLeader) String ¶
func (x *FileLeader) String() string
type FsAuth ¶
type FsAuth struct { Authorization string `protobuf:"bytes,1,opt,name=authorization,proto3" json:"authorization,omitempty"` AuthDate int64 `protobuf:"varint,2,opt,name=auth_date,json=authDate,proto3" json:"auth_date,omitempty"` // contains filtered or unexported fields }
func (*FsAuth) Descriptor
deprecated
func (*FsAuth) GetAuthDate ¶
func (*FsAuth) GetAuthorization ¶
func (*FsAuth) ProtoMessage ¶
func (*FsAuth) ProtoMessage()
func (*FsAuth) ProtoReflect ¶
func (x *FsAuth) ProtoReflect() protoreflect.Message
type FsInfoAuth ¶
type FsInfoAuth struct { Ak string `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` Time int64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"` Signature string `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` FsName string `protobuf:"bytes,5,opt,name=fs_name,json=fsName,proto3" json:"fs_name,omitempty"` Scope string `protobuf:"bytes,6,opt,name=scope,proto3" json:"scope,omitempty"` FsId string `protobuf:"bytes,7,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` // contains filtered or unexported fields }
func (*FsInfoAuth) Descriptor
deprecated
func (*FsInfoAuth) Descriptor() ([]byte, []int)
Deprecated: Use FsInfoAuth.ProtoReflect.Descriptor instead.
func (*FsInfoAuth) GetAk ¶
func (x *FsInfoAuth) GetAk() string
func (*FsInfoAuth) GetBody ¶
func (x *FsInfoAuth) GetBody() []byte
func (*FsInfoAuth) GetFsId ¶
func (x *FsInfoAuth) GetFsId() string
func (*FsInfoAuth) GetFsName ¶
func (x *FsInfoAuth) GetFsName() string
func (*FsInfoAuth) GetScope ¶
func (x *FsInfoAuth) GetScope() string
func (*FsInfoAuth) GetSignature ¶
func (x *FsInfoAuth) GetSignature() string
func (*FsInfoAuth) GetTime ¶
func (x *FsInfoAuth) GetTime() int64
func (*FsInfoAuth) ProtoMessage ¶
func (*FsInfoAuth) ProtoMessage()
func (*FsInfoAuth) ProtoReflect ¶
func (x *FsInfoAuth) ProtoReflect() protoreflect.Message
func (*FsInfoAuth) Reset ¶
func (x *FsInfoAuth) Reset()
func (*FsInfoAuth) String ¶
func (x *FsInfoAuth) String() string
type GetDirFileAttrMsg ¶
type GetDirFileAttrMsg struct { Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` DirFile *DirFileAttr `protobuf:"bytes,2,opt,name=dir_file,json=dirFile,proto3" json:"dir_file,omitempty"` // contains filtered or unexported fields }
func (*GetDirFileAttrMsg) Descriptor
deprecated
func (*GetDirFileAttrMsg) Descriptor() ([]byte, []int)
Deprecated: Use GetDirFileAttrMsg.ProtoReflect.Descriptor instead.
func (*GetDirFileAttrMsg) GetAuth ¶
func (x *GetDirFileAttrMsg) GetAuth() *AuthToken
func (*GetDirFileAttrMsg) GetDirFile ¶
func (x *GetDirFileAttrMsg) GetDirFile() *DirFileAttr
func (*GetDirFileAttrMsg) ProtoMessage ¶
func (*GetDirFileAttrMsg) ProtoMessage()
func (*GetDirFileAttrMsg) ProtoReflect ¶
func (x *GetDirFileAttrMsg) ProtoReflect() protoreflect.Message
func (*GetDirFileAttrMsg) Reset ¶
func (x *GetDirFileAttrMsg) Reset()
func (*GetDirFileAttrMsg) String ¶
func (x *GetDirFileAttrMsg) String() string
type GetDirFileAttrRet ¶
type GetDirFileAttrRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` File *FileInfo `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` // contains filtered or unexported fields }
func (*GetDirFileAttrRet) Descriptor
deprecated
func (*GetDirFileAttrRet) Descriptor() ([]byte, []int)
Deprecated: Use GetDirFileAttrRet.ProtoReflect.Descriptor instead.
func (*GetDirFileAttrRet) GetFile ¶
func (x *GetDirFileAttrRet) GetFile() *FileInfo
func (*GetDirFileAttrRet) GetResult ¶
func (x *GetDirFileAttrRet) GetResult() *MetaError
func (*GetDirFileAttrRet) ProtoMessage ¶
func (*GetDirFileAttrRet) ProtoMessage()
func (*GetDirFileAttrRet) ProtoReflect ¶
func (x *GetDirFileAttrRet) ProtoReflect() protoreflect.Message
func (*GetDirFileAttrRet) Reset ¶
func (x *GetDirFileAttrRet) Reset()
func (*GetDirFileAttrRet) String ¶
func (x *GetDirFileAttrRet) String() string
type GetDirFileInfo ¶
type GetDirFileInfo struct { Ino uint64 `protobuf:"varint,1,opt,name=ino,proto3" json:"ino,omitempty"` FileName string `protobuf:"bytes,2,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` FileType uint32 `protobuf:"varint,3,opt,name=file_type,json=fileType,proto3" json:"file_type,omitempty"` // contains filtered or unexported fields }
func (*GetDirFileInfo) Descriptor
deprecated
func (*GetDirFileInfo) Descriptor() ([]byte, []int)
Deprecated: Use GetDirFileInfo.ProtoReflect.Descriptor instead.
func (*GetDirFileInfo) GetFileName ¶
func (x *GetDirFileInfo) GetFileName() string
func (*GetDirFileInfo) GetFileType ¶
func (x *GetDirFileInfo) GetFileType() uint32
func (*GetDirFileInfo) GetIno ¶
func (x *GetDirFileInfo) GetIno() uint64
func (*GetDirFileInfo) ProtoMessage ¶
func (*GetDirFileInfo) ProtoMessage()
func (*GetDirFileInfo) ProtoReflect ¶
func (x *GetDirFileInfo) ProtoReflect() protoreflect.Message
func (*GetDirFileInfo) Reset ¶
func (x *GetDirFileInfo) Reset()
func (*GetDirFileInfo) String ¶
func (x *GetDirFileInfo) String() string
type GetDirFilesMsg ¶
type GetDirFilesMsg struct { Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` Dir *DirInfo `protobuf:"bytes,2,opt,name=dir,proto3" json:"dir,omitempty"` Acl *AclInfo `protobuf:"bytes,3,opt,name=acl,proto3" json:"acl,omitempty"` // contains filtered or unexported fields }
func (*GetDirFilesMsg) Descriptor
deprecated
func (*GetDirFilesMsg) Descriptor() ([]byte, []int)
Deprecated: Use GetDirFilesMsg.ProtoReflect.Descriptor instead.
func (*GetDirFilesMsg) GetAcl ¶
func (x *GetDirFilesMsg) GetAcl() *AclInfo
func (*GetDirFilesMsg) GetAuth ¶
func (x *GetDirFilesMsg) GetAuth() *AuthToken
func (*GetDirFilesMsg) GetDir ¶
func (x *GetDirFilesMsg) GetDir() *DirInfo
func (*GetDirFilesMsg) ProtoMessage ¶
func (*GetDirFilesMsg) ProtoMessage()
func (*GetDirFilesMsg) ProtoReflect ¶
func (x *GetDirFilesMsg) ProtoReflect() protoreflect.Message
func (*GetDirFilesMsg) Reset ¶
func (x *GetDirFilesMsg) Reset()
func (*GetDirFilesMsg) String ¶
func (x *GetDirFilesMsg) String() string
type GetDirFilesRet ¶
type GetDirFilesRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` DirFiles []*GetDirFileInfo `protobuf:"bytes,3,rep,name=dir_files,json=dirFiles,proto3" json:"dir_files,omitempty"` // contains filtered or unexported fields }
func (*GetDirFilesRet) Descriptor
deprecated
func (*GetDirFilesRet) Descriptor() ([]byte, []int)
Deprecated: Use GetDirFilesRet.ProtoReflect.Descriptor instead.
func (*GetDirFilesRet) GetDirFiles ¶
func (x *GetDirFilesRet) GetDirFiles() []*GetDirFileInfo
func (*GetDirFilesRet) GetOffset ¶
func (x *GetDirFilesRet) GetOffset() uint64
func (*GetDirFilesRet) GetResult ¶
func (x *GetDirFilesRet) GetResult() *MetaError
func (*GetDirFilesRet) ProtoMessage ¶
func (*GetDirFilesRet) ProtoMessage()
func (*GetDirFilesRet) ProtoReflect ¶
func (x *GetDirFilesRet) ProtoReflect() protoreflect.Message
func (*GetDirFilesRet) Reset ¶
func (x *GetDirFilesRet) Reset()
func (*GetDirFilesRet) String ¶
func (x *GetDirFilesRet) String() string
type GetFileAttrMsg ¶
type GetFileAttrMsg struct { Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` FileAttr *FileAttr `protobuf:"bytes,2,opt,name=file_attr,json=fileAttr,proto3" json:"file_attr,omitempty"` // contains filtered or unexported fields }
func (*GetFileAttrMsg) Descriptor
deprecated
func (*GetFileAttrMsg) Descriptor() ([]byte, []int)
Deprecated: Use GetFileAttrMsg.ProtoReflect.Descriptor instead.
func (*GetFileAttrMsg) GetAuth ¶
func (x *GetFileAttrMsg) GetAuth() *AuthToken
func (*GetFileAttrMsg) GetFileAttr ¶
func (x *GetFileAttrMsg) GetFileAttr() *FileAttr
func (*GetFileAttrMsg) ProtoMessage ¶
func (*GetFileAttrMsg) ProtoMessage()
func (*GetFileAttrMsg) ProtoReflect ¶
func (x *GetFileAttrMsg) ProtoReflect() protoreflect.Message
func (*GetFileAttrMsg) Reset ¶
func (x *GetFileAttrMsg) Reset()
func (*GetFileAttrMsg) String ¶
func (x *GetFileAttrMsg) String() string
type GetFileAttrRet ¶
type GetFileAttrRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` File *FileInfo `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"` // contains filtered or unexported fields }
func (*GetFileAttrRet) Descriptor
deprecated
func (*GetFileAttrRet) Descriptor() ([]byte, []int)
Deprecated: Use GetFileAttrRet.ProtoReflect.Descriptor instead.
func (*GetFileAttrRet) GetFile ¶
func (x *GetFileAttrRet) GetFile() *FileInfo
func (*GetFileAttrRet) GetResult ¶
func (x *GetFileAttrRet) GetResult() *MetaError
func (*GetFileAttrRet) ProtoMessage ¶
func (*GetFileAttrRet) ProtoMessage()
func (*GetFileAttrRet) ProtoReflect ¶
func (x *GetFileAttrRet) ProtoReflect() protoreflect.Message
func (*GetFileAttrRet) Reset ¶
func (x *GetFileAttrRet) Reset()
func (*GetFileAttrRet) String ¶
func (x *GetFileAttrRet) String() string
type GetFileLeaderMsg ¶
type GetFileLeaderMsg struct { Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` FileLeader *FileLeader `protobuf:"bytes,2,opt,name=file_leader,json=fileLeader,proto3" json:"file_leader,omitempty"` // contains filtered or unexported fields }
func (*GetFileLeaderMsg) Descriptor
deprecated
func (*GetFileLeaderMsg) Descriptor() ([]byte, []int)
Deprecated: Use GetFileLeaderMsg.ProtoReflect.Descriptor instead.
func (*GetFileLeaderMsg) GetAuth ¶
func (x *GetFileLeaderMsg) GetAuth() *AuthToken
func (*GetFileLeaderMsg) GetFileLeader ¶
func (x *GetFileLeaderMsg) GetFileLeader() *FileLeader
func (*GetFileLeaderMsg) ProtoMessage ¶
func (*GetFileLeaderMsg) ProtoMessage()
func (*GetFileLeaderMsg) ProtoReflect ¶
func (x *GetFileLeaderMsg) ProtoReflect() protoreflect.Message
func (*GetFileLeaderMsg) Reset ¶
func (x *GetFileLeaderMsg) Reset()
func (*GetFileLeaderMsg) String ¶
func (x *GetFileLeaderMsg) String() string
type GetFileLeaderRet ¶
type GetFileLeaderRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` LeaderInfo *LeaderInfo `protobuf:"bytes,2,opt,name=leader_info,json=leaderInfo,proto3" json:"leader_info,omitempty"` // contains filtered or unexported fields }
func (*GetFileLeaderRet) Descriptor
deprecated
func (*GetFileLeaderRet) Descriptor() ([]byte, []int)
Deprecated: Use GetFileLeaderRet.ProtoReflect.Descriptor instead.
func (*GetFileLeaderRet) GetLeaderInfo ¶
func (x *GetFileLeaderRet) GetLeaderInfo() *LeaderInfo
func (*GetFileLeaderRet) GetResult ¶
func (x *GetFileLeaderRet) GetResult() *MetaError
func (*GetFileLeaderRet) ProtoMessage ¶
func (*GetFileLeaderRet) ProtoMessage()
func (*GetFileLeaderRet) ProtoReflect ¶
func (x *GetFileLeaderRet) ProtoReflect() protoreflect.Message
func (*GetFileLeaderRet) Reset ¶
func (x *GetFileLeaderRet) Reset()
func (*GetFileLeaderRet) String ¶
func (x *GetFileLeaderRet) String() string
type GetLockMsg ¶
type GetLockMsg struct { Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` ResourceInfo *ResourceInfo `protobuf:"bytes,2,opt,name=resource_info,json=resourceInfo,proto3" json:"resource_info,omitempty"` // contains filtered or unexported fields }
func (*GetLockMsg) Descriptor
deprecated
func (*GetLockMsg) Descriptor() ([]byte, []int)
Deprecated: Use GetLockMsg.ProtoReflect.Descriptor instead.
func (*GetLockMsg) GetAuth ¶
func (x *GetLockMsg) GetAuth() *AuthToken
func (*GetLockMsg) GetResourceInfo ¶
func (x *GetLockMsg) GetResourceInfo() *ResourceInfo
func (*GetLockMsg) ProtoMessage ¶
func (*GetLockMsg) ProtoMessage()
func (*GetLockMsg) ProtoReflect ¶
func (x *GetLockMsg) ProtoReflect() protoreflect.Message
func (*GetLockMsg) Reset ¶
func (x *GetLockMsg) Reset()
func (*GetLockMsg) String ¶
func (x *GetLockMsg) String() string
type GetLockRet ¶
type GetLockRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Lock *LockInfo `protobuf:"bytes,2,opt,name=lock,proto3" json:"lock,omitempty"` // contains filtered or unexported fields }
func (*GetLockRet) Descriptor
deprecated
func (*GetLockRet) Descriptor() ([]byte, []int)
Deprecated: Use GetLockRet.ProtoReflect.Descriptor instead.
func (*GetLockRet) GetLock ¶
func (x *GetLockRet) GetLock() *LockInfo
func (*GetLockRet) GetResult ¶
func (x *GetLockRet) GetResult() *MetaError
func (*GetLockRet) ProtoMessage ¶
func (*GetLockRet) ProtoMessage()
func (*GetLockRet) ProtoReflect ¶
func (x *GetLockRet) ProtoReflect() protoreflect.Message
func (*GetLockRet) Reset ¶
func (x *GetLockRet) Reset()
func (*GetLockRet) String ¶
func (x *GetLockRet) String() string
type GetSegmentsMsg ¶
type GetSegmentsMsg struct { Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` Segs *Segments `protobuf:"bytes,2,opt,name=segs,proto3" json:"segs,omitempty"` Acl *AclInfo `protobuf:"bytes,3,opt,name=acl,proto3" json:"acl,omitempty"` // contains filtered or unexported fields }
func (*GetSegmentsMsg) Descriptor
deprecated
func (*GetSegmentsMsg) Descriptor() ([]byte, []int)
Deprecated: Use GetSegmentsMsg.ProtoReflect.Descriptor instead.
func (*GetSegmentsMsg) GetAcl ¶
func (x *GetSegmentsMsg) GetAcl() *AclInfo
func (*GetSegmentsMsg) GetAuth ¶
func (x *GetSegmentsMsg) GetAuth() *AuthToken
func (*GetSegmentsMsg) GetSegs ¶
func (x *GetSegmentsMsg) GetSegs() *Segments
func (*GetSegmentsMsg) ProtoMessage ¶
func (*GetSegmentsMsg) ProtoMessage()
func (*GetSegmentsMsg) ProtoReflect ¶
func (x *GetSegmentsMsg) ProtoReflect() protoreflect.Message
func (*GetSegmentsMsg) Reset ¶
func (x *GetSegmentsMsg) Reset()
func (*GetSegmentsMsg) String ¶
func (x *GetSegmentsMsg) String() string
type GetSegmentsRet ¶
type GetSegmentsRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` SegInfo []*SegmentInfoRet `protobuf:"bytes,2,rep,name=seg_info,json=segInfo,proto3" json:"seg_info,omitempty"` NextOffset uint64 `protobuf:"varint,3,opt,name=next_offset,json=nextOffset,proto3" json:"next_offset,omitempty"` // contains filtered or unexported fields }
func (*GetSegmentsRet) Descriptor
deprecated
func (*GetSegmentsRet) Descriptor() ([]byte, []int)
Deprecated: Use GetSegmentsRet.ProtoReflect.Descriptor instead.
func (*GetSegmentsRet) GetNextOffset ¶
func (x *GetSegmentsRet) GetNextOffset() uint64
func (*GetSegmentsRet) GetResult ¶
func (x *GetSegmentsRet) GetResult() *MetaError
func (*GetSegmentsRet) GetSegInfo ¶
func (x *GetSegmentsRet) GetSegInfo() []*SegmentInfoRet
func (*GetSegmentsRet) ProtoMessage ¶
func (*GetSegmentsRet) ProtoMessage()
func (*GetSegmentsRet) ProtoReflect ¶
func (x *GetSegmentsRet) ProtoReflect() protoreflect.Message
func (*GetSegmentsRet) Reset ¶
func (x *GetSegmentsRet) Reset()
func (*GetSegmentsRet) String ¶
func (x *GetSegmentsRet) String() string
type HeartBeatMsg ¶
type HeartBeatMsg struct { Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` SegsInfo *CheckSegsInfo `protobuf:"bytes,2,opt,name=segs_info,json=segsInfo,proto3" json:"segs_info,omitempty"` // contains filtered or unexported fields }
func (*HeartBeatMsg) Descriptor
deprecated
func (*HeartBeatMsg) Descriptor() ([]byte, []int)
Deprecated: Use HeartBeatMsg.ProtoReflect.Descriptor instead.
func (*HeartBeatMsg) GetAuth ¶
func (x *HeartBeatMsg) GetAuth() *AuthToken
func (*HeartBeatMsg) GetSegsInfo ¶
func (x *HeartBeatMsg) GetSegsInfo() *CheckSegsInfo
func (*HeartBeatMsg) ProtoMessage ¶
func (*HeartBeatMsg) ProtoMessage()
func (*HeartBeatMsg) ProtoReflect ¶
func (x *HeartBeatMsg) ProtoReflect() protoreflect.Message
func (*HeartBeatMsg) Reset ¶
func (x *HeartBeatMsg) Reset()
func (*HeartBeatMsg) String ¶
func (x *HeartBeatMsg) String() string
type HeartBeatRet ¶
type HeartBeatRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` IncompleteSegsInfo []*IncompleteSegInfo `protobuf:"bytes,2,rep,name=incomplete_segs_info,json=incompleteSegsInfo,proto3" json:"incomplete_segs_info,omitempty"` CheckSegsResp map[string]*CheckSegsResp `` /* 190-byte string literal not displayed */ // contains filtered or unexported fields }
func (*HeartBeatRet) Descriptor
deprecated
func (*HeartBeatRet) Descriptor() ([]byte, []int)
Deprecated: Use HeartBeatRet.ProtoReflect.Descriptor instead.
func (*HeartBeatRet) GetCheckSegsResp ¶
func (x *HeartBeatRet) GetCheckSegsResp() map[string]*CheckSegsResp
func (*HeartBeatRet) GetIncompleteSegsInfo ¶
func (x *HeartBeatRet) GetIncompleteSegsInfo() []*IncompleteSegInfo
func (*HeartBeatRet) GetResult ¶
func (x *HeartBeatRet) GetResult() *MetaError
func (*HeartBeatRet) ProtoMessage ¶
func (*HeartBeatRet) ProtoMessage()
func (*HeartBeatRet) ProtoReflect ¶
func (x *HeartBeatRet) ProtoReflect() protoreflect.Message
func (*HeartBeatRet) Reset ¶
func (x *HeartBeatRet) Reset()
func (*HeartBeatRet) String ¶
func (x *HeartBeatRet) String() string
type IncompleteSegInfo ¶
type IncompleteSegInfo struct { SegId0 uint64 `protobuf:"varint,1,opt,name=seg_id0,json=segId0,proto3" json:"seg_id0,omitempty"` SegId1 uint64 `protobuf:"varint,2,opt,name=seg_id1,json=segId1,proto3" json:"seg_id1,omitempty"` NextOffset uint64 `protobuf:"varint,3,opt,name=next_offset,json=nextOffset,proto3" json:"next_offset,omitempty"` Capacity uint64 `protobuf:"varint,4,opt,name=capacity,proto3" json:"capacity,omitempty"` UnitSize uint64 `protobuf:"varint,5,opt,name=unit_size,json=unitSize,proto3" json:"unit_size,omitempty"` Size uint64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` // contains filtered or unexported fields }
func (*IncompleteSegInfo) Descriptor
deprecated
func (*IncompleteSegInfo) Descriptor() ([]byte, []int)
Deprecated: Use IncompleteSegInfo.ProtoReflect.Descriptor instead.
func (*IncompleteSegInfo) GetCapacity ¶
func (x *IncompleteSegInfo) GetCapacity() uint64
func (*IncompleteSegInfo) GetNextOffset ¶
func (x *IncompleteSegInfo) GetNextOffset() uint64
func (*IncompleteSegInfo) GetSegId0 ¶
func (x *IncompleteSegInfo) GetSegId0() uint64
func (*IncompleteSegInfo) GetSegId1 ¶
func (x *IncompleteSegInfo) GetSegId1() uint64
func (*IncompleteSegInfo) GetSize ¶
func (x *IncompleteSegInfo) GetSize() uint64
func (*IncompleteSegInfo) GetUnitSize ¶
func (x *IncompleteSegInfo) GetUnitSize() uint64
func (*IncompleteSegInfo) ProtoMessage ¶
func (*IncompleteSegInfo) ProtoMessage()
func (*IncompleteSegInfo) ProtoReflect ¶
func (x *IncompleteSegInfo) ProtoReflect() protoreflect.Message
func (*IncompleteSegInfo) Reset ¶
func (x *IncompleteSegInfo) Reset()
func (*IncompleteSegInfo) String ¶
func (x *IncompleteSegInfo) String() string
type InitInfo ¶
type InitInfo struct { FsName string `protobuf:"bytes,1,opt,name=fs_name,json=fsName,proto3" json:"fs_name,omitempty"` Auth *Auth `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"` SkId uint32 `protobuf:"varint,3,opt,name=sk_id,json=skId,proto3" json:"sk_id,omitempty"` // contains filtered or unexported fields }
func (*InitInfo) Descriptor
deprecated
func (*InitInfo) ProtoMessage ¶
func (*InitInfo) ProtoMessage()
func (*InitInfo) ProtoReflect ¶
func (x *InitInfo) ProtoReflect() protoreflect.Message
type InitMsg ¶
type InitMsg struct { Auth *FsAuth `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` InitInfo *InitInfo `protobuf:"bytes,2,opt,name=init_info,json=initInfo,proto3" json:"init_info,omitempty"` Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*InitMsg) Descriptor
deprecated
func (*InitMsg) GetInitInfo ¶
func (*InitMsg) ProtoMessage ¶
func (*InitMsg) ProtoMessage()
func (*InitMsg) ProtoReflect ¶
func (x *InitMsg) ProtoReflect() protoreflect.Message
type InitReq ¶
type InitReq struct { FsName string `protobuf:"bytes,1,opt,name=fs_name,json=fsName,proto3" json:"fs_name,omitempty"` InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` Time int64 `protobuf:"varint,5,opt,name=time,proto3" json:"time,omitempty"` SecretId uint32 `protobuf:"varint,6,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` // contains filtered or unexported fields }
func (*InitReq) Descriptor
deprecated
func (*InitReq) GetInstanceId ¶
func (*InitReq) GetSecretId ¶
func (*InitReq) GetSignature ¶
func (*InitReq) ProtoMessage ¶
func (*InitReq) ProtoMessage()
func (*InitReq) ProtoReflect ¶
func (x *InitReq) ProtoReflect() protoreflect.Message
type InitRet ¶
type InitRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Token *TokenRet `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` BackendInfo *BackendInfo `protobuf:"bytes,3,opt,name=backend_info,json=backendInfo,proto3" json:"backend_info,omitempty"` FsId string `protobuf:"bytes,4,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` // contains filtered or unexported fields }
func (*InitRet) Descriptor
deprecated
func (*InitRet) GetBackendInfo ¶
func (x *InitRet) GetBackendInfo() *BackendInfo
func (*InitRet) ProtoMessage ¶
func (*InitRet) ProtoMessage()
func (*InitRet) ProtoReflect ¶
func (x *InitRet) ProtoReflect() protoreflect.Message
type LeaderInfo ¶
type LeaderInfo struct { ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` Leader string `protobuf:"bytes,2,opt,name=leader,proto3" json:"leader,omitempty"` // contains filtered or unexported fields }
func (*LeaderInfo) Descriptor
deprecated
func (*LeaderInfo) Descriptor() ([]byte, []int)
Deprecated: Use LeaderInfo.ProtoReflect.Descriptor instead.
func (*LeaderInfo) GetLeader ¶
func (x *LeaderInfo) GetLeader() string
func (*LeaderInfo) GetZoneId ¶
func (x *LeaderInfo) GetZoneId() string
func (*LeaderInfo) ProtoMessage ¶
func (*LeaderInfo) ProtoMessage()
func (*LeaderInfo) ProtoReflect ¶
func (x *LeaderInfo) ProtoReflect() protoreflect.Message
func (*LeaderInfo) Reset ¶
func (x *LeaderInfo) Reset()
func (*LeaderInfo) String ¶
func (x *LeaderInfo) String() string
type ListFsMsg ¶
type ListFsMsg struct { AuthInfo *UserAuth `protobuf:"bytes,1,opt,name=auth_info,json=authInfo,proto3" json:"auth_info,omitempty"` // contains filtered or unexported fields }
func (*ListFsMsg) Descriptor
deprecated
func (*ListFsMsg) GetAuthInfo ¶
func (*ListFsMsg) ProtoMessage ¶
func (*ListFsMsg) ProtoMessage()
func (*ListFsMsg) ProtoReflect ¶
func (x *ListFsMsg) ProtoReflect() protoreflect.Message
type ListFsRet ¶
type ListFsRet struct { Result *AuthError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Fsids []string `protobuf:"bytes,2,rep,name=fsids,proto3" json:"fsids,omitempty"` Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` // contains filtered or unexported fields }
func (*ListFsRet) Descriptor
deprecated
func (*ListFsRet) ProtoMessage ¶
func (*ListFsRet) ProtoMessage()
func (*ListFsRet) ProtoReflect ¶
func (x *ListFsRet) ProtoReflect() protoreflect.Message
type ListSecretMsg ¶
type ListSecretMsg struct { AuthInfo *SecretAuth `protobuf:"bytes,1,opt,name=auth_info,json=authInfo,proto3" json:"auth_info,omitempty"` // contains filtered or unexported fields }
func (*ListSecretMsg) Descriptor
deprecated
func (*ListSecretMsg) Descriptor() ([]byte, []int)
Deprecated: Use ListSecretMsg.ProtoReflect.Descriptor instead.
func (*ListSecretMsg) GetAuthInfo ¶
func (x *ListSecretMsg) GetAuthInfo() *SecretAuth
func (*ListSecretMsg) ProtoMessage ¶
func (*ListSecretMsg) ProtoMessage()
func (*ListSecretMsg) ProtoReflect ¶
func (x *ListSecretMsg) ProtoReflect() protoreflect.Message
func (*ListSecretMsg) Reset ¶
func (x *ListSecretMsg) Reset()
func (*ListSecretMsg) String ¶
func (x *ListSecretMsg) String() string
type ListSecretRet ¶
type ListSecretRet struct { Result *AuthError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Secrets []*SecretInfo `protobuf:"bytes,2,rep,name=secrets,proto3" json:"secrets,omitempty"` // contains filtered or unexported fields }
func (*ListSecretRet) Descriptor
deprecated
func (*ListSecretRet) Descriptor() ([]byte, []int)
Deprecated: Use ListSecretRet.ProtoReflect.Descriptor instead.
func (*ListSecretRet) GetResult ¶
func (x *ListSecretRet) GetResult() *AuthError
func (*ListSecretRet) GetSecrets ¶
func (x *ListSecretRet) GetSecrets() []*SecretInfo
func (*ListSecretRet) ProtoMessage ¶
func (*ListSecretRet) ProtoMessage()
func (*ListSecretRet) ProtoReflect ¶
func (x *ListSecretRet) ProtoReflect() protoreflect.Message
func (*ListSecretRet) Reset ¶
func (x *ListSecretRet) Reset()
func (*ListSecretRet) String ¶
func (x *ListSecretRet) String() string
type Lock ¶
type Lock struct { FsId string `protobuf:"bytes,1,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` Machine string `protobuf:"bytes,2,opt,name=machine,proto3" json:"machine,omitempty"` Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"` SnowflakeId string `protobuf:"bytes,4,opt,name=snowflake_id,json=snowflakeId,proto3" json:"snowflake_id,omitempty"` // contains filtered or unexported fields }
func (*Lock) Descriptor
deprecated
func (*Lock) GetMachine ¶
func (*Lock) GetResource ¶
func (*Lock) GetSnowflakeId ¶
func (*Lock) ProtoMessage ¶
func (*Lock) ProtoMessage()
func (*Lock) ProtoReflect ¶
func (x *Lock) ProtoReflect() protoreflect.Message
type LockInfo ¶
type LockInfo struct { Revision int64 `protobuf:"varint,1,opt,name=revision,proto3" json:"revision,omitempty"` SnowflakeId string `protobuf:"bytes,2,opt,name=snowflake_id,json=snowflakeId,proto3" json:"snowflake_id,omitempty"` // contains filtered or unexported fields }
func (*LockInfo) Descriptor
deprecated
func (*LockInfo) GetRevision ¶
func (*LockInfo) GetSnowflakeId ¶
func (*LockInfo) ProtoMessage ¶
func (*LockInfo) ProtoMessage()
func (*LockInfo) ProtoReflect ¶
func (x *LockInfo) ProtoReflect() protoreflect.Message
type MetaError ¶
type MetaError struct { ErrCode int32 `protobuf:"varint,1,opt,name=err_code,json=errCode,proto3" json:"err_code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"` // contains filtered or unexported fields }
func (*MetaError) Descriptor
deprecated
func (*MetaError) GetErrCode ¶
func (*MetaError) ProtoMessage ¶
func (*MetaError) ProtoMessage()
func (*MetaError) ProtoReflect ¶
func (x *MetaError) ProtoReflect() protoreflect.Message
type MetaServiceClient ¶
type MetaServiceClient interface { // init Init(ctx context.Context, in *InitMsg, opts ...grpc.CallOption) (*InitRet, error) // mount Mount(ctx context.Context, in *MountMsg, opts ...grpc.CallOption) (*MountRet, error) // list dir files GetDirFiles(ctx context.Context, in *GetDirFilesMsg, opts ...grpc.CallOption) (*GetDirFilesRet, error) // get dir file attr GetDirFileAttr(ctx context.Context, in *GetDirFileAttrMsg, opts ...grpc.CallOption) (*GetDirFileAttrRet, error) // create file CreateFile(ctx context.Context, in *CreateFileMsg, opts ...grpc.CallOption) (*CreateFileRet, error) // get file leader GetFileLeader(ctx context.Context, in *GetFileLeaderMsg, opts ...grpc.CallOption) (*GetFileLeaderRet, error) // get file attr GetFileAttr(ctx context.Context, in *GetFileAttrMsg, opts ...grpc.CallOption) (*GetFileAttrRet, error) // delete dir DeleteDir(ctx context.Context, in *DeleteDirMsg, opts ...grpc.CallOption) (*DeleteDirRet, error) //set file attr SetFileAttr(ctx context.Context, in *SetFileAttrMsg, opts ...grpc.CallOption) (*SetFileAttrRet, error) // delete file DeleteFile(ctx context.Context, in *DeleteFileMsg, opts ...grpc.CallOption) (*DeleteFileRet, error) // rename file RenameFile(ctx context.Context, in *RenameFileMsg, opts ...grpc.CallOption) (*RenameFileRet, error) // get lock GetLock(ctx context.Context, in *GetLockMsg, opts ...grpc.CallOption) (*GetLockRet, error) // release lock ReleaseLock(ctx context.Context, in *ReleaseLockMsg, opts ...grpc.CallOption) (*ReleaseLockRet, error) // create segment CreateSegment(ctx context.Context, in *CreateSegmentMsg, opts ...grpc.CallOption) (*CreateSegmentRet, error) // update segments UpdateSegments(ctx context.Context, in *UpdateSegmentsMsg, opts ...grpc.CallOption) (*UpdateSegmentsRet, error) // get segments GetSegments(ctx context.Context, in *GetSegmentsMsg, opts ...grpc.CallOption) (*GetSegmentsRet, error) // update seg block info UpdateSegBlockInfo(ctx context.Context, in *UpdateSegBlockInfoMsg, opts ...grpc.CallOption) (*UpdateSegBlockInfoRet, error) // heart beat HeartBeat(ctx context.Context, in *HeartBeatMsg, opts ...grpc.CallOption) (*HeartBeatRet, error) // close file CloseFile(ctx context.Context, in *CloseFileMsg, opts ...grpc.CallOption) (*CloseFileRet, error) // create new file CreateNewFile(ctx context.Context, in *CreateNewFileMsg, opts ...grpc.CallOption) (*CreateNewFileRet, error) }
MetaServiceClient is the client API for MetaService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMetaServiceClient ¶
func NewMetaServiceClient(cc grpc.ClientConnInterface) MetaServiceClient
type MetaServiceServer ¶
type MetaServiceServer interface { // init Init(context.Context, *InitMsg) (*InitRet, error) // mount Mount(context.Context, *MountMsg) (*MountRet, error) // list dir files GetDirFiles(context.Context, *GetDirFilesMsg) (*GetDirFilesRet, error) // get dir file attr GetDirFileAttr(context.Context, *GetDirFileAttrMsg) (*GetDirFileAttrRet, error) // create file CreateFile(context.Context, *CreateFileMsg) (*CreateFileRet, error) // get file leader GetFileLeader(context.Context, *GetFileLeaderMsg) (*GetFileLeaderRet, error) // get file attr GetFileAttr(context.Context, *GetFileAttrMsg) (*GetFileAttrRet, error) // delete dir DeleteDir(context.Context, *DeleteDirMsg) (*DeleteDirRet, error) //set file attr SetFileAttr(context.Context, *SetFileAttrMsg) (*SetFileAttrRet, error) // delete file DeleteFile(context.Context, *DeleteFileMsg) (*DeleteFileRet, error) // rename file RenameFile(context.Context, *RenameFileMsg) (*RenameFileRet, error) // get lock GetLock(context.Context, *GetLockMsg) (*GetLockRet, error) // release lock ReleaseLock(context.Context, *ReleaseLockMsg) (*ReleaseLockRet, error) // create segment CreateSegment(context.Context, *CreateSegmentMsg) (*CreateSegmentRet, error) // update segments UpdateSegments(context.Context, *UpdateSegmentsMsg) (*UpdateSegmentsRet, error) // get segments GetSegments(context.Context, *GetSegmentsMsg) (*GetSegmentsRet, error) // update seg block info UpdateSegBlockInfo(context.Context, *UpdateSegBlockInfoMsg) (*UpdateSegBlockInfoRet, error) // heart beat HeartBeat(context.Context, *HeartBeatMsg) (*HeartBeatRet, error) // close file CloseFile(context.Context, *CloseFileMsg) (*CloseFileRet, error) // create new file CreateNewFile(context.Context, *CreateNewFileMsg) (*CreateNewFileRet, error) // contains filtered or unexported methods }
MetaServiceServer is the server API for MetaService service. All implementations must embed UnimplementedMetaServiceServer for forward compatibility
type MountInfo ¶
type MountInfo struct { FsId string `protobuf:"bytes,1,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` ZoneId string `protobuf:"bytes,2,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` Machine string `protobuf:"bytes,3,opt,name=machine,proto3" json:"machine,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"` UserName string `protobuf:"bytes,6,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` GroupName string `protobuf:"bytes,7,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // contains filtered or unexported fields }
func (*MountInfo) Descriptor
deprecated
func (*MountInfo) GetGroupName ¶
func (*MountInfo) GetMachine ¶
func (*MountInfo) GetUserName ¶
func (*MountInfo) ProtoMessage ¶
func (*MountInfo) ProtoMessage()
func (*MountInfo) ProtoReflect ¶
func (x *MountInfo) ProtoReflect() protoreflect.Message
type MountMsg ¶
type MountMsg struct { Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` Mount *MountInfo `protobuf:"bytes,2,opt,name=mount,proto3" json:"mount,omitempty"` // contains filtered or unexported fields }
func (*MountMsg) Descriptor
deprecated
func (*MountMsg) ProtoMessage ¶
func (*MountMsg) ProtoMessage()
func (*MountMsg) ProtoReflect ¶
func (x *MountMsg) ProtoReflect() protoreflect.Message
type MountRet ¶
type MountRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` SegStartId0 uint64 `protobuf:"varint,2,opt,name=seg_start_id0,json=segStartId0,proto3" json:"seg_start_id0,omitempty"` // contains filtered or unexported fields }
func (*MountRet) Descriptor
deprecated
func (*MountRet) GetSegStartId0 ¶
func (*MountRet) ProtoMessage ¶
func (*MountRet) ProtoMessage()
func (*MountRet) ProtoReflect ¶
func (x *MountRet) ProtoReflect() protoreflect.Message
type NeedCheckSegs ¶
type NeedCheckSegs struct { SegId0 uint64 `protobuf:"varint,1,opt,name=seg_id0,json=segId0,proto3" json:"seg_id0,omitempty"` SegId1 uint64 `protobuf:"varint,2,opt,name=seg_id1,json=segId1,proto3" json:"seg_id1,omitempty"` // contains filtered or unexported fields }
func (*NeedCheckSegs) Descriptor
deprecated
func (*NeedCheckSegs) Descriptor() ([]byte, []int)
Deprecated: Use NeedCheckSegs.ProtoReflect.Descriptor instead.
func (*NeedCheckSegs) GetSegId0 ¶
func (x *NeedCheckSegs) GetSegId0() uint64
func (*NeedCheckSegs) GetSegId1 ¶
func (x *NeedCheckSegs) GetSegId1() uint64
func (*NeedCheckSegs) ProtoMessage ¶
func (*NeedCheckSegs) ProtoMessage()
func (*NeedCheckSegs) ProtoReflect ¶
func (x *NeedCheckSegs) ProtoReflect() protoreflect.Message
func (*NeedCheckSegs) Reset ¶
func (x *NeedCheckSegs) Reset()
func (*NeedCheckSegs) String ¶
func (x *NeedCheckSegs) String() string
type NewSegBlock ¶
type NewSegBlock struct { SegId0 uint64 `protobuf:"varint,1,opt,name=seg_id0,json=segId0,proto3" json:"seg_id0,omitempty"` SegId1 uint64 `protobuf:"varint,2,opt,name=seg_id1,json=segId1,proto3" json:"seg_id1,omitempty"` BackendSize uint64 `protobuf:"varint,3,opt,name=backend_size,json=backendSize,proto3" json:"backend_size,omitempty"` // contains filtered or unexported fields }
func (*NewSegBlock) Descriptor
deprecated
func (*NewSegBlock) Descriptor() ([]byte, []int)
Deprecated: Use NewSegBlock.ProtoReflect.Descriptor instead.
func (*NewSegBlock) GetBackendSize ¶
func (x *NewSegBlock) GetBackendSize() uint64
func (*NewSegBlock) GetSegId0 ¶
func (x *NewSegBlock) GetSegId0() uint64
func (*NewSegBlock) GetSegId1 ¶
func (x *NewSegBlock) GetSegId1() uint64
func (*NewSegBlock) ProtoMessage ¶
func (*NewSegBlock) ProtoMessage()
func (*NewSegBlock) ProtoReflect ¶
func (x *NewSegBlock) ProtoReflect() protoreflect.Message
func (*NewSegBlock) Reset ¶
func (x *NewSegBlock) Reset()
func (*NewSegBlock) String ¶
func (x *NewSegBlock) String() string
type NewToken ¶
type NewToken struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*NewToken) Descriptor
deprecated
func (*NewToken) GetAccessToken ¶
func (*NewToken) GetRefreshToken ¶
func (*NewToken) ProtoMessage ¶
func (*NewToken) ProtoMessage()
func (*NewToken) ProtoReflect ¶
func (x *NewToken) ProtoReflect() protoreflect.Message
type RefreshAuth ¶
type RefreshAuth struct { Authorization string `protobuf:"bytes,1,opt,name=authorization,proto3" json:"authorization,omitempty"` // contains filtered or unexported fields }
func (*RefreshAuth) Descriptor
deprecated
func (*RefreshAuth) Descriptor() ([]byte, []int)
Deprecated: Use RefreshAuth.ProtoReflect.Descriptor instead.
func (*RefreshAuth) GetAuthorization ¶
func (x *RefreshAuth) GetAuthorization() string
func (*RefreshAuth) ProtoMessage ¶
func (*RefreshAuth) ProtoMessage()
func (*RefreshAuth) ProtoReflect ¶
func (x *RefreshAuth) ProtoReflect() protoreflect.Message
func (*RefreshAuth) Reset ¶
func (x *RefreshAuth) Reset()
func (*RefreshAuth) String ¶
func (x *RefreshAuth) String() string
type RefreshError ¶
type RefreshError struct { ErrCode int32 `protobuf:"varint,1,opt,name=err_code,json=errCode,proto3" json:"err_code,omitempty"` ErrMsg string `protobuf:"bytes,2,opt,name=err_msg,json=errMsg,proto3" json:"err_msg,omitempty"` // contains filtered or unexported fields }
func (*RefreshError) Descriptor
deprecated
func (*RefreshError) Descriptor() ([]byte, []int)
Deprecated: Use RefreshError.ProtoReflect.Descriptor instead.
func (*RefreshError) GetErrCode ¶
func (x *RefreshError) GetErrCode() int32
func (*RefreshError) GetErrMsg ¶
func (x *RefreshError) GetErrMsg() string
func (*RefreshError) ProtoMessage ¶
func (*RefreshError) ProtoMessage()
func (*RefreshError) ProtoReflect ¶
func (x *RefreshError) ProtoReflect() protoreflect.Message
func (*RefreshError) Reset ¶
func (x *RefreshError) Reset()
func (*RefreshError) String ¶
func (x *RefreshError) String() string
type RefreshTokenMsg ¶
type RefreshTokenMsg struct { Auth *RefreshAuth `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` // contains filtered or unexported fields }
func (*RefreshTokenMsg) Descriptor
deprecated
func (*RefreshTokenMsg) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenMsg.ProtoReflect.Descriptor instead.
func (*RefreshTokenMsg) GetAuth ¶
func (x *RefreshTokenMsg) GetAuth() *RefreshAuth
func (*RefreshTokenMsg) ProtoMessage ¶
func (*RefreshTokenMsg) ProtoMessage()
func (*RefreshTokenMsg) ProtoReflect ¶
func (x *RefreshTokenMsg) ProtoReflect() protoreflect.Message
func (*RefreshTokenMsg) Reset ¶
func (x *RefreshTokenMsg) Reset()
func (*RefreshTokenMsg) String ¶
func (x *RefreshTokenMsg) String() string
type RefreshTokenRet ¶
type RefreshTokenRet struct { Result *RefreshError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Token *NewToken `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*RefreshTokenRet) Descriptor
deprecated
func (*RefreshTokenRet) Descriptor() ([]byte, []int)
Deprecated: Use RefreshTokenRet.ProtoReflect.Descriptor instead.
func (*RefreshTokenRet) GetResult ¶
func (x *RefreshTokenRet) GetResult() *RefreshError
func (*RefreshTokenRet) GetToken ¶
func (x *RefreshTokenRet) GetToken() *NewToken
func (*RefreshTokenRet) ProtoMessage ¶
func (*RefreshTokenRet) ProtoMessage()
func (*RefreshTokenRet) ProtoReflect ¶
func (x *RefreshTokenRet) ProtoReflect() protoreflect.Message
func (*RefreshTokenRet) Reset ¶
func (x *RefreshTokenRet) Reset()
func (*RefreshTokenRet) String ¶
func (x *RefreshTokenRet) String() string
type ReleaseLockMsg ¶
type ReleaseLockMsg struct { Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` Lock *Lock `protobuf:"bytes,2,opt,name=lock,proto3" json:"lock,omitempty"` // contains filtered or unexported fields }
func (*ReleaseLockMsg) Descriptor
deprecated
func (*ReleaseLockMsg) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseLockMsg.ProtoReflect.Descriptor instead.
func (*ReleaseLockMsg) GetAuth ¶
func (x *ReleaseLockMsg) GetAuth() *AuthToken
func (*ReleaseLockMsg) GetLock ¶
func (x *ReleaseLockMsg) GetLock() *Lock
func (*ReleaseLockMsg) ProtoMessage ¶
func (*ReleaseLockMsg) ProtoMessage()
func (*ReleaseLockMsg) ProtoReflect ¶
func (x *ReleaseLockMsg) ProtoReflect() protoreflect.Message
func (*ReleaseLockMsg) Reset ¶
func (x *ReleaseLockMsg) Reset()
func (*ReleaseLockMsg) String ¶
func (x *ReleaseLockMsg) String() string
type ReleaseLockRet ¶
type ReleaseLockRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*ReleaseLockRet) Descriptor
deprecated
func (*ReleaseLockRet) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseLockRet.ProtoReflect.Descriptor instead.
func (*ReleaseLockRet) GetResult ¶
func (x *ReleaseLockRet) GetResult() *MetaError
func (*ReleaseLockRet) ProtoMessage ¶
func (*ReleaseLockRet) ProtoMessage()
func (*ReleaseLockRet) ProtoReflect ¶
func (x *ReleaseLockRet) ProtoReflect() protoreflect.Message
func (*ReleaseLockRet) Reset ¶
func (x *ReleaseLockRet) Reset()
func (*ReleaseLockRet) String ¶
func (x *ReleaseLockRet) String() string
type RenameFileMsg ¶
type RenameFileMsg struct { Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` ZoneId string `protobuf:"bytes,2,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` Machine string `protobuf:"bytes,3,opt,name=machine,proto3" json:"machine,omitempty"` FsId string `protobuf:"bytes,4,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` Ino uint64 `protobuf:"varint,5,opt,name=ino,proto3" json:"ino,omitempty"` Generation uint64 `protobuf:"varint,6,opt,name=generation,proto3" json:"generation,omitempty"` ParentIno uint64 `protobuf:"varint,7,opt,name=parent_ino,json=parentIno,proto3" json:"parent_ino,omitempty"` FileName string `protobuf:"bytes,8,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"` NewParentIno uint64 `protobuf:"varint,9,opt,name=new_parent_ino,json=newParentIno,proto3" json:"new_parent_ino,omitempty"` NewFileName string `protobuf:"bytes,10,opt,name=new_file_name,json=newFileName,proto3" json:"new_file_name,omitempty"` Acl *AclInfo `protobuf:"bytes,11,opt,name=acl,proto3" json:"acl,omitempty"` // contains filtered or unexported fields }
func (*RenameFileMsg) Descriptor
deprecated
func (*RenameFileMsg) Descriptor() ([]byte, []int)
Deprecated: Use RenameFileMsg.ProtoReflect.Descriptor instead.
func (*RenameFileMsg) GetAcl ¶
func (x *RenameFileMsg) GetAcl() *AclInfo
func (*RenameFileMsg) GetAuth ¶
func (x *RenameFileMsg) GetAuth() *AuthToken
func (*RenameFileMsg) GetFileName ¶
func (x *RenameFileMsg) GetFileName() string
func (*RenameFileMsg) GetFsId ¶
func (x *RenameFileMsg) GetFsId() string
func (*RenameFileMsg) GetGeneration ¶
func (x *RenameFileMsg) GetGeneration() uint64
func (*RenameFileMsg) GetIno ¶
func (x *RenameFileMsg) GetIno() uint64
func (*RenameFileMsg) GetMachine ¶
func (x *RenameFileMsg) GetMachine() string
func (*RenameFileMsg) GetNewFileName ¶
func (x *RenameFileMsg) GetNewFileName() string
func (*RenameFileMsg) GetNewParentIno ¶
func (x *RenameFileMsg) GetNewParentIno() uint64
func (*RenameFileMsg) GetParentIno ¶
func (x *RenameFileMsg) GetParentIno() uint64
func (*RenameFileMsg) GetZoneId ¶
func (x *RenameFileMsg) GetZoneId() string
func (*RenameFileMsg) ProtoMessage ¶
func (*RenameFileMsg) ProtoMessage()
func (*RenameFileMsg) ProtoReflect ¶
func (x *RenameFileMsg) ProtoReflect() protoreflect.Message
func (*RenameFileMsg) Reset ¶
func (x *RenameFileMsg) Reset()
func (*RenameFileMsg) String ¶
func (x *RenameFileMsg) String() string
type RenameFileRet ¶
type RenameFileRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*RenameFileRet) Descriptor
deprecated
func (*RenameFileRet) Descriptor() ([]byte, []int)
Deprecated: Use RenameFileRet.ProtoReflect.Descriptor instead.
func (*RenameFileRet) GetResult ¶
func (x *RenameFileRet) GetResult() *MetaError
func (*RenameFileRet) ProtoMessage ¶
func (*RenameFileRet) ProtoMessage()
func (*RenameFileRet) ProtoReflect ¶
func (x *RenameFileRet) ProtoReflect() protoreflect.Message
func (*RenameFileRet) Reset ¶
func (x *RenameFileRet) Reset()
func (*RenameFileRet) String ¶
func (x *RenameFileRet) String() string
type ResourceInfo ¶
type ResourceInfo struct { FsId string `protobuf:"bytes,1,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` Machine string `protobuf:"bytes,2,opt,name=machine,proto3" json:"machine,omitempty"` Resource string `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"` // contains filtered or unexported fields }
func (*ResourceInfo) Descriptor
deprecated
func (*ResourceInfo) Descriptor() ([]byte, []int)
Deprecated: Use ResourceInfo.ProtoReflect.Descriptor instead.
func (*ResourceInfo) GetFsId ¶
func (x *ResourceInfo) GetFsId() string
func (*ResourceInfo) GetMachine ¶
func (x *ResourceInfo) GetMachine() string
func (*ResourceInfo) GetResource ¶
func (x *ResourceInfo) GetResource() string
func (*ResourceInfo) ProtoMessage ¶
func (*ResourceInfo) ProtoMessage()
func (*ResourceInfo) ProtoReflect ¶
func (x *ResourceInfo) ProtoReflect() protoreflect.Message
func (*ResourceInfo) Reset ¶
func (x *ResourceInfo) Reset()
func (*ResourceInfo) String ¶
func (x *ResourceInfo) String() string
type SecretAuth ¶
type SecretAuth struct { Ak string `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` Time int64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"` Signature string `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` FsName string `protobuf:"bytes,5,opt,name=fs_name,json=fsName,proto3" json:"fs_name,omitempty"` SecretId uint32 `protobuf:"varint,6,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` FsId string `protobuf:"bytes,7,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` // contains filtered or unexported fields }
func (*SecretAuth) Descriptor
deprecated
func (*SecretAuth) Descriptor() ([]byte, []int)
Deprecated: Use SecretAuth.ProtoReflect.Descriptor instead.
func (*SecretAuth) GetAk ¶
func (x *SecretAuth) GetAk() string
func (*SecretAuth) GetBody ¶
func (x *SecretAuth) GetBody() []byte
func (*SecretAuth) GetFsId ¶
func (x *SecretAuth) GetFsId() string
func (*SecretAuth) GetFsName ¶
func (x *SecretAuth) GetFsName() string
func (*SecretAuth) GetSecretId ¶
func (x *SecretAuth) GetSecretId() uint32
func (*SecretAuth) GetSignature ¶
func (x *SecretAuth) GetSignature() string
func (*SecretAuth) GetTime ¶
func (x *SecretAuth) GetTime() int64
func (*SecretAuth) ProtoMessage ¶
func (*SecretAuth) ProtoMessage()
func (*SecretAuth) ProtoReflect ¶
func (x *SecretAuth) ProtoReflect() protoreflect.Message
func (*SecretAuth) Reset ¶
func (x *SecretAuth) Reset()
func (*SecretAuth) String ¶
func (x *SecretAuth) String() string
type SecretInfo ¶
type SecretInfo struct { SecretId uint32 `protobuf:"varint,1,opt,name=secret_id,json=secretId,proto3" json:"secret_id,omitempty"` Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` CreateTime int64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` Status uint32 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
func (*SecretInfo) Descriptor
deprecated
func (*SecretInfo) Descriptor() ([]byte, []int)
Deprecated: Use SecretInfo.ProtoReflect.Descriptor instead.
func (*SecretInfo) GetCreateTime ¶
func (x *SecretInfo) GetCreateTime() int64
func (*SecretInfo) GetSecret ¶
func (x *SecretInfo) GetSecret() string
func (*SecretInfo) GetSecretId ¶
func (x *SecretInfo) GetSecretId() uint32
func (*SecretInfo) GetStatus ¶
func (x *SecretInfo) GetStatus() uint32
func (*SecretInfo) ProtoMessage ¶
func (*SecretInfo) ProtoMessage()
func (*SecretInfo) ProtoReflect ¶
func (x *SecretInfo) ProtoReflect() protoreflect.Message
func (*SecretInfo) Reset ¶
func (x *SecretInfo) Reset()
func (*SecretInfo) String ¶
func (x *SecretInfo) String() string
type SegBlockInfo ¶
type SegBlockInfo struct { ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` FsId string `protobuf:"bytes,2,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` NewSeg *NewSegBlock `protobuf:"bytes,3,opt,name=new_seg,json=newSeg,proto3" json:"new_seg,omitempty"` // contains filtered or unexported fields }
func (*SegBlockInfo) Descriptor
deprecated
func (*SegBlockInfo) Descriptor() ([]byte, []int)
Deprecated: Use SegBlockInfo.ProtoReflect.Descriptor instead.
func (*SegBlockInfo) GetFsId ¶
func (x *SegBlockInfo) GetFsId() string
func (*SegBlockInfo) GetNewSeg ¶
func (x *SegBlockInfo) GetNewSeg() *NewSegBlock
func (*SegBlockInfo) GetZoneId ¶
func (x *SegBlockInfo) GetZoneId() string
func (*SegBlockInfo) ProtoMessage ¶
func (*SegBlockInfo) ProtoMessage()
func (*SegBlockInfo) ProtoReflect ¶
func (x *SegBlockInfo) ProtoReflect() protoreflect.Message
func (*SegBlockInfo) Reset ¶
func (x *SegBlockInfo) Reset()
func (*SegBlockInfo) String ¶
func (x *SegBlockInfo) String() string
type Segment ¶
type Segment struct { FsId string `protobuf:"bytes,1,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` ZoneId string `protobuf:"bytes,2,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` Machine string `protobuf:"bytes,3,opt,name=machine,proto3" json:"machine,omitempty"` Ino uint64 `protobuf:"varint,4,opt,name=ino,proto3" json:"ino,omitempty"` Generation uint64 `protobuf:"varint,5,opt,name=generation,proto3" json:"generation,omitempty"` SegInfo *SegmentInfo `protobuf:"bytes,6,opt,name=seg_info,json=segInfo,proto3" json:"seg_info,omitempty"` // contains filtered or unexported fields }
func (*Segment) Descriptor
deprecated
func (*Segment) GetGeneration ¶
func (*Segment) GetMachine ¶
func (*Segment) GetSegInfo ¶
func (x *Segment) GetSegInfo() *SegmentInfo
func (*Segment) ProtoMessage ¶
func (*Segment) ProtoMessage()
func (*Segment) ProtoReflect ¶
func (x *Segment) ProtoReflect() protoreflect.Message
type SegmentBlocks ¶
type SegmentBlocks struct { SegId0 uint64 `protobuf:"varint,1,opt,name=seg_id0,json=segId0,proto3" json:"seg_id0,omitempty"` SegId1 uint64 `protobuf:"varint,2,opt,name=seg_id1,json=segId1,proto3" json:"seg_id1,omitempty"` Capacity uint64 `protobuf:"varint,3,opt,name=capacity,proto3" json:"capacity,omitempty"` UnitSize uint64 `protobuf:"varint,4,opt,name=unit_size,json=unitSize,proto3" json:"unit_size,omitempty"` IsUpdateBackendSize bool `protobuf:"varint,5,opt,name=is_update_backend_size,json=isUpdateBackendSize,proto3" json:"is_update_backend_size,omitempty"` InsertBlocks []*BlockInfo `protobuf:"bytes,6,rep,name=insert_blocks,json=insertBlocks,proto3" json:"insert_blocks,omitempty"` RemoveBlocks []*BlockInfo `protobuf:"bytes,7,rep,name=remove_blocks,json=removeBlocks,proto3" json:"remove_blocks,omitempty"` // contains filtered or unexported fields }
func (*SegmentBlocks) Descriptor
deprecated
func (*SegmentBlocks) Descriptor() ([]byte, []int)
Deprecated: Use SegmentBlocks.ProtoReflect.Descriptor instead.
func (*SegmentBlocks) GetCapacity ¶
func (x *SegmentBlocks) GetCapacity() uint64
func (*SegmentBlocks) GetInsertBlocks ¶
func (x *SegmentBlocks) GetInsertBlocks() []*BlockInfo
func (*SegmentBlocks) GetIsUpdateBackendSize ¶
func (x *SegmentBlocks) GetIsUpdateBackendSize() bool
func (*SegmentBlocks) GetRemoveBlocks ¶
func (x *SegmentBlocks) GetRemoveBlocks() []*BlockInfo
func (*SegmentBlocks) GetSegId0 ¶
func (x *SegmentBlocks) GetSegId0() uint64
func (*SegmentBlocks) GetSegId1 ¶
func (x *SegmentBlocks) GetSegId1() uint64
func (*SegmentBlocks) GetUnitSize ¶
func (x *SegmentBlocks) GetUnitSize() uint64
func (*SegmentBlocks) ProtoMessage ¶
func (*SegmentBlocks) ProtoMessage()
func (*SegmentBlocks) ProtoReflect ¶
func (x *SegmentBlocks) ProtoReflect() protoreflect.Message
func (*SegmentBlocks) Reset ¶
func (x *SegmentBlocks) Reset()
func (*SegmentBlocks) String ¶
func (x *SegmentBlocks) String() string
type SegmentInfo ¶
type SegmentInfo struct { SegId0 uint64 `protobuf:"varint,1,opt,name=seg_id0,json=segId0,proto3" json:"seg_id0,omitempty"` SegId1 uint64 `protobuf:"varint,2,opt,name=seg_id1,json=segId1,proto3" json:"seg_id1,omitempty"` Capacity uint64 `protobuf:"varint,3,opt,name=capacity,proto3" json:"capacity,omitempty"` UnitSize uint64 `protobuf:"varint,4,opt,name=unit_size,json=unitSize,proto3" json:"unit_size,omitempty"` Blocks []*BlockInfo `protobuf:"bytes,5,rep,name=blocks,proto3" json:"blocks,omitempty"` // contains filtered or unexported fields }
func (*SegmentInfo) Descriptor
deprecated
func (*SegmentInfo) Descriptor() ([]byte, []int)
Deprecated: Use SegmentInfo.ProtoReflect.Descriptor instead.
func (*SegmentInfo) GetBlocks ¶
func (x *SegmentInfo) GetBlocks() []*BlockInfo
func (*SegmentInfo) GetCapacity ¶
func (x *SegmentInfo) GetCapacity() uint64
func (*SegmentInfo) GetSegId0 ¶
func (x *SegmentInfo) GetSegId0() uint64
func (*SegmentInfo) GetSegId1 ¶
func (x *SegmentInfo) GetSegId1() uint64
func (*SegmentInfo) GetUnitSize ¶
func (x *SegmentInfo) GetUnitSize() uint64
func (*SegmentInfo) ProtoMessage ¶
func (*SegmentInfo) ProtoMessage()
func (*SegmentInfo) ProtoReflect ¶
func (x *SegmentInfo) ProtoReflect() protoreflect.Message
func (*SegmentInfo) Reset ¶
func (x *SegmentInfo) Reset()
func (*SegmentInfo) String ¶
func (x *SegmentInfo) String() string
type SegmentInfoRet ¶
type SegmentInfoRet struct { SegId0 uint64 `protobuf:"varint,1,opt,name=seg_id0,json=segId0,proto3" json:"seg_id0,omitempty"` SegId1 uint64 `protobuf:"varint,2,opt,name=seg_id1,json=segId1,proto3" json:"seg_id1,omitempty"` Leader string `protobuf:"bytes,3,opt,name=leader,proto3" json:"leader,omitempty"` BackendSize uint64 `protobuf:"varint,4,opt,name=backend_size,json=backendSize,proto3" json:"backend_size,omitempty"` Capacity uint64 `protobuf:"varint,5,opt,name=capacity,proto3" json:"capacity,omitempty"` UnitSize uint64 `protobuf:"varint,6,opt,name=unit_size,json=unitSize,proto3" json:"unit_size,omitempty"` Size uint64 `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"` Blocks []*BlockInfo `protobuf:"bytes,8,rep,name=blocks,proto3" json:"blocks,omitempty"` // contains filtered or unexported fields }
func (*SegmentInfoRet) Descriptor
deprecated
func (*SegmentInfoRet) Descriptor() ([]byte, []int)
Deprecated: Use SegmentInfoRet.ProtoReflect.Descriptor instead.
func (*SegmentInfoRet) GetBackendSize ¶
func (x *SegmentInfoRet) GetBackendSize() uint64
func (*SegmentInfoRet) GetBlocks ¶
func (x *SegmentInfoRet) GetBlocks() []*BlockInfo
func (*SegmentInfoRet) GetCapacity ¶
func (x *SegmentInfoRet) GetCapacity() uint64
func (*SegmentInfoRet) GetLeader ¶
func (x *SegmentInfoRet) GetLeader() string
func (*SegmentInfoRet) GetSegId0 ¶
func (x *SegmentInfoRet) GetSegId0() uint64
func (*SegmentInfoRet) GetSegId1 ¶
func (x *SegmentInfoRet) GetSegId1() uint64
func (*SegmentInfoRet) GetSize ¶
func (x *SegmentInfoRet) GetSize() uint64
func (*SegmentInfoRet) GetUnitSize ¶
func (x *SegmentInfoRet) GetUnitSize() uint64
func (*SegmentInfoRet) ProtoMessage ¶
func (*SegmentInfoRet) ProtoMessage()
func (*SegmentInfoRet) ProtoReflect ¶
func (x *SegmentInfoRet) ProtoReflect() protoreflect.Message
func (*SegmentInfoRet) Reset ¶
func (x *SegmentInfoRet) Reset()
func (*SegmentInfoRet) String ¶
func (x *SegmentInfoRet) String() string
type Segments ¶
type Segments struct { FsId string `protobuf:"bytes,1,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` Ino uint64 `protobuf:"varint,2,opt,name=ino,proto3" json:"ino,omitempty"` Generation uint64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` Offset *uint64 `protobuf:"varint,4,opt,name=offset,proto3,oneof" json:"offset,omitempty"` Num *uint64 `protobuf:"varint,5,opt,name=num,proto3,oneof" json:"num,omitempty"` ZoneId string `protobuf:"bytes,6,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` Machine string `protobuf:"bytes,7,opt,name=machine,proto3" json:"machine,omitempty"` // contains filtered or unexported fields }
func (*Segments) Descriptor
deprecated
func (*Segments) GetGeneration ¶
func (*Segments) GetMachine ¶
func (*Segments) ProtoMessage ¶
func (*Segments) ProtoMessage()
func (*Segments) ProtoReflect ¶
func (x *Segments) ProtoReflect() protoreflect.Message
type SetFileAttrMsg ¶
type SetFileAttrMsg struct { Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` FileAttr *FileAttrInfo `protobuf:"bytes,2,opt,name=file_attr,json=fileAttr,proto3" json:"file_attr,omitempty"` UserName string `protobuf:"bytes,3,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` GroupName string `protobuf:"bytes,4,opt,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // contains filtered or unexported fields }
func (*SetFileAttrMsg) Descriptor
deprecated
func (*SetFileAttrMsg) Descriptor() ([]byte, []int)
Deprecated: Use SetFileAttrMsg.ProtoReflect.Descriptor instead.
func (*SetFileAttrMsg) GetAuth ¶
func (x *SetFileAttrMsg) GetAuth() *AuthToken
func (*SetFileAttrMsg) GetFileAttr ¶
func (x *SetFileAttrMsg) GetFileAttr() *FileAttrInfo
func (*SetFileAttrMsg) GetGroupName ¶
func (x *SetFileAttrMsg) GetGroupName() string
func (*SetFileAttrMsg) GetUserName ¶
func (x *SetFileAttrMsg) GetUserName() string
func (*SetFileAttrMsg) ProtoMessage ¶
func (*SetFileAttrMsg) ProtoMessage()
func (*SetFileAttrMsg) ProtoReflect ¶
func (x *SetFileAttrMsg) ProtoReflect() protoreflect.Message
func (*SetFileAttrMsg) Reset ¶
func (x *SetFileAttrMsg) Reset()
func (*SetFileAttrMsg) String ¶
func (x *SetFileAttrMsg) String() string
type SetFileAttrRet ¶
type SetFileAttrRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` FileInfo *FileInfo `protobuf:"bytes,2,opt,name=file_info,json=fileInfo,proto3" json:"file_info,omitempty"` // contains filtered or unexported fields }
func (*SetFileAttrRet) Descriptor
deprecated
func (*SetFileAttrRet) Descriptor() ([]byte, []int)
Deprecated: Use SetFileAttrRet.ProtoReflect.Descriptor instead.
func (*SetFileAttrRet) GetFileInfo ¶
func (x *SetFileAttrRet) GetFileInfo() *FileInfo
func (*SetFileAttrRet) GetResult ¶
func (x *SetFileAttrRet) GetResult() *MetaError
func (*SetFileAttrRet) ProtoMessage ¶
func (*SetFileAttrRet) ProtoMessage()
func (*SetFileAttrRet) ProtoReflect ¶
func (x *SetFileAttrRet) ProtoReflect() protoreflect.Message
func (*SetFileAttrRet) Reset ¶
func (x *SetFileAttrRet) Reset()
func (*SetFileAttrRet) String ¶
func (x *SetFileAttrRet) String() string
type Token ¶
type Token struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*Token) Descriptor
deprecated
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) ProtoReflect ¶
func (x *Token) ProtoReflect() protoreflect.Message
type TokenInfo ¶
type TokenInfo struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*TokenInfo) Descriptor
deprecated
func (*TokenInfo) GetAccessToken ¶
func (*TokenInfo) GetRefreshToken ¶
func (*TokenInfo) ProtoMessage ¶
func (*TokenInfo) ProtoMessage()
func (*TokenInfo) ProtoReflect ¶
func (x *TokenInfo) ProtoReflect() protoreflect.Message
type TokenResp ¶
type TokenResp struct { Result *AuthError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Token *TokenInfo `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` FsId string `protobuf:"bytes,3,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` // contains filtered or unexported fields }
func (*TokenResp) Descriptor
deprecated
func (*TokenResp) ProtoMessage ¶
func (*TokenResp) ProtoMessage()
func (*TokenResp) ProtoReflect ¶
func (x *TokenResp) ProtoReflect() protoreflect.Message
type TokenRet ¶
type TokenRet struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` RefreshToken string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*TokenRet) Descriptor
deprecated
func (*TokenRet) GetAccessToken ¶
func (*TokenRet) GetRefreshToken ¶
func (*TokenRet) ProtoMessage ¶
func (*TokenRet) ProtoMessage()
func (*TokenRet) ProtoReflect ¶
func (x *TokenRet) ProtoReflect() protoreflect.Message
type UnimplementedAuthServiceServer ¶
type UnimplementedAuthServiceServer struct { }
UnimplementedAuthServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthServiceServer) AuthenticateInit ¶
func (UnimplementedAuthServiceServer) CreateFs ¶
func (UnimplementedAuthServiceServer) CreateFs(context.Context, *CreateFsMsg) (*CreateFsRet, error)
func (UnimplementedAuthServiceServer) CreateFsSecret ¶
func (UnimplementedAuthServiceServer) CreateFsSecret(context.Context, *CreateSecretMsg) (*CreateSecretRet, error)
func (UnimplementedAuthServiceServer) DeleteFs ¶
func (UnimplementedAuthServiceServer) DeleteFs(context.Context, *DeleteFsMsg) (*DeleteFsRet, error)
func (UnimplementedAuthServiceServer) DeleteFsSecret ¶
func (UnimplementedAuthServiceServer) DeleteFsSecret(context.Context, *DeleteSecretMsg) (*DeleteSecretRet, error)
func (UnimplementedAuthServiceServer) DownloadFsSecret ¶
func (UnimplementedAuthServiceServer) DownloadFsSecret(context.Context, *DownloadSecretMsg) (*DownloadSecretRet, error)
func (UnimplementedAuthServiceServer) ListFsSecret ¶
func (UnimplementedAuthServiceServer) ListFsSecret(context.Context, *ListSecretMsg) (*ListSecretRet, error)
func (UnimplementedAuthServiceServer) ValidateAccessToken ¶
func (UnimplementedAuthServiceServer) ValidateAccessToken(context.Context, *Token) (*ValidateAccessRet, error)
func (UnimplementedAuthServiceServer) ValidateRefreshToken ¶
func (UnimplementedAuthServiceServer) ValidateRefreshToken(context.Context, *Token) (*ValidateRefreshRet, error)
type UnimplementedAuthTokenServiceServer ¶
type UnimplementedAuthTokenServiceServer struct { }
UnimplementedAuthTokenServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedAuthTokenServiceServer) RefreshToken ¶
func (UnimplementedAuthTokenServiceServer) RefreshToken(context.Context, *RefreshTokenMsg) (*RefreshTokenRet, error)
type UnimplementedMetaServiceServer ¶
type UnimplementedMetaServiceServer struct { }
UnimplementedMetaServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedMetaServiceServer) CloseFile ¶
func (UnimplementedMetaServiceServer) CloseFile(context.Context, *CloseFileMsg) (*CloseFileRet, error)
func (UnimplementedMetaServiceServer) CreateFile ¶
func (UnimplementedMetaServiceServer) CreateFile(context.Context, *CreateFileMsg) (*CreateFileRet, error)
func (UnimplementedMetaServiceServer) CreateNewFile ¶
func (UnimplementedMetaServiceServer) CreateNewFile(context.Context, *CreateNewFileMsg) (*CreateNewFileRet, error)
func (UnimplementedMetaServiceServer) CreateSegment ¶
func (UnimplementedMetaServiceServer) CreateSegment(context.Context, *CreateSegmentMsg) (*CreateSegmentRet, error)
func (UnimplementedMetaServiceServer) DeleteDir ¶
func (UnimplementedMetaServiceServer) DeleteDir(context.Context, *DeleteDirMsg) (*DeleteDirRet, error)
func (UnimplementedMetaServiceServer) DeleteFile ¶
func (UnimplementedMetaServiceServer) DeleteFile(context.Context, *DeleteFileMsg) (*DeleteFileRet, error)
func (UnimplementedMetaServiceServer) GetDirFileAttr ¶
func (UnimplementedMetaServiceServer) GetDirFileAttr(context.Context, *GetDirFileAttrMsg) (*GetDirFileAttrRet, error)
func (UnimplementedMetaServiceServer) GetDirFiles ¶
func (UnimplementedMetaServiceServer) GetDirFiles(context.Context, *GetDirFilesMsg) (*GetDirFilesRet, error)
func (UnimplementedMetaServiceServer) GetFileAttr ¶
func (UnimplementedMetaServiceServer) GetFileAttr(context.Context, *GetFileAttrMsg) (*GetFileAttrRet, error)
func (UnimplementedMetaServiceServer) GetFileLeader ¶
func (UnimplementedMetaServiceServer) GetFileLeader(context.Context, *GetFileLeaderMsg) (*GetFileLeaderRet, error)
func (UnimplementedMetaServiceServer) GetLock ¶
func (UnimplementedMetaServiceServer) GetLock(context.Context, *GetLockMsg) (*GetLockRet, error)
func (UnimplementedMetaServiceServer) GetSegments ¶
func (UnimplementedMetaServiceServer) GetSegments(context.Context, *GetSegmentsMsg) (*GetSegmentsRet, error)
func (UnimplementedMetaServiceServer) HeartBeat ¶
func (UnimplementedMetaServiceServer) HeartBeat(context.Context, *HeartBeatMsg) (*HeartBeatRet, error)
func (UnimplementedMetaServiceServer) ReleaseLock ¶
func (UnimplementedMetaServiceServer) ReleaseLock(context.Context, *ReleaseLockMsg) (*ReleaseLockRet, error)
func (UnimplementedMetaServiceServer) RenameFile ¶
func (UnimplementedMetaServiceServer) RenameFile(context.Context, *RenameFileMsg) (*RenameFileRet, error)
func (UnimplementedMetaServiceServer) SetFileAttr ¶
func (UnimplementedMetaServiceServer) SetFileAttr(context.Context, *SetFileAttrMsg) (*SetFileAttrRet, error)
func (UnimplementedMetaServiceServer) UpdateSegBlockInfo ¶
func (UnimplementedMetaServiceServer) UpdateSegBlockInfo(context.Context, *UpdateSegBlockInfoMsg) (*UpdateSegBlockInfoRet, error)
func (UnimplementedMetaServiceServer) UpdateSegments ¶
func (UnimplementedMetaServiceServer) UpdateSegments(context.Context, *UpdateSegmentsMsg) (*UpdateSegmentsRet, error)
type UnsafeAuthServiceServer ¶
type UnsafeAuthServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServiceServer will result in compilation errors.
type UnsafeAuthTokenServiceServer ¶
type UnsafeAuthTokenServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAuthTokenServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthTokenServiceServer will result in compilation errors.
type UnsafeMetaServiceServer ¶
type UnsafeMetaServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMetaServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MetaServiceServer will result in compilation errors.
type UpdateSegBlockInfoMsg ¶
type UpdateSegBlockInfoMsg struct { Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` SegBlock *SegBlockInfo `protobuf:"bytes,2,opt,name=seg_block,json=segBlock,proto3" json:"seg_block,omitempty"` // contains filtered or unexported fields }
func (*UpdateSegBlockInfoMsg) Descriptor
deprecated
func (*UpdateSegBlockInfoMsg) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSegBlockInfoMsg.ProtoReflect.Descriptor instead.
func (*UpdateSegBlockInfoMsg) GetAuth ¶
func (x *UpdateSegBlockInfoMsg) GetAuth() *AuthToken
func (*UpdateSegBlockInfoMsg) GetSegBlock ¶
func (x *UpdateSegBlockInfoMsg) GetSegBlock() *SegBlockInfo
func (*UpdateSegBlockInfoMsg) ProtoMessage ¶
func (*UpdateSegBlockInfoMsg) ProtoMessage()
func (*UpdateSegBlockInfoMsg) ProtoReflect ¶
func (x *UpdateSegBlockInfoMsg) ProtoReflect() protoreflect.Message
func (*UpdateSegBlockInfoMsg) Reset ¶
func (x *UpdateSegBlockInfoMsg) Reset()
func (*UpdateSegBlockInfoMsg) String ¶
func (x *UpdateSegBlockInfoMsg) String() string
type UpdateSegBlockInfoRet ¶
type UpdateSegBlockInfoRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*UpdateSegBlockInfoRet) Descriptor
deprecated
func (*UpdateSegBlockInfoRet) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSegBlockInfoRet.ProtoReflect.Descriptor instead.
func (*UpdateSegBlockInfoRet) GetResult ¶
func (x *UpdateSegBlockInfoRet) GetResult() *MetaError
func (*UpdateSegBlockInfoRet) ProtoMessage ¶
func (*UpdateSegBlockInfoRet) ProtoMessage()
func (*UpdateSegBlockInfoRet) ProtoReflect ¶
func (x *UpdateSegBlockInfoRet) ProtoReflect() protoreflect.Message
func (*UpdateSegBlockInfoRet) Reset ¶
func (x *UpdateSegBlockInfoRet) Reset()
func (*UpdateSegBlockInfoRet) String ¶
func (x *UpdateSegBlockInfoRet) String() string
type UpdateSegmentsInfo ¶
type UpdateSegmentsInfo struct { FsId string `protobuf:"bytes,1,opt,name=fs_id,json=fsId,proto3" json:"fs_id,omitempty"` ZoneId string `protobuf:"bytes,2,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"` Ino uint64 `protobuf:"varint,3,opt,name=ino,proto3" json:"ino,omitempty"` Generation uint64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"` Leader string `protobuf:"bytes,5,opt,name=leader,proto3" json:"leader,omitempty"` SegBlocks []*SegmentBlocks `protobuf:"bytes,6,rep,name=seg_blocks,json=segBlocks,proto3" json:"seg_blocks,omitempty"` WriteType uint32 `protobuf:"varint,7,opt,name=write_type,json=writeType,proto3" json:"write_type,omitempty"` // contains filtered or unexported fields }
func (*UpdateSegmentsInfo) Descriptor
deprecated
func (*UpdateSegmentsInfo) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSegmentsInfo.ProtoReflect.Descriptor instead.
func (*UpdateSegmentsInfo) GetFsId ¶
func (x *UpdateSegmentsInfo) GetFsId() string
func (*UpdateSegmentsInfo) GetGeneration ¶
func (x *UpdateSegmentsInfo) GetGeneration() uint64
func (*UpdateSegmentsInfo) GetIno ¶
func (x *UpdateSegmentsInfo) GetIno() uint64
func (*UpdateSegmentsInfo) GetLeader ¶
func (x *UpdateSegmentsInfo) GetLeader() string
func (*UpdateSegmentsInfo) GetSegBlocks ¶
func (x *UpdateSegmentsInfo) GetSegBlocks() []*SegmentBlocks
func (*UpdateSegmentsInfo) GetWriteType ¶
func (x *UpdateSegmentsInfo) GetWriteType() uint32
func (*UpdateSegmentsInfo) GetZoneId ¶
func (x *UpdateSegmentsInfo) GetZoneId() string
func (*UpdateSegmentsInfo) ProtoMessage ¶
func (*UpdateSegmentsInfo) ProtoMessage()
func (*UpdateSegmentsInfo) ProtoReflect ¶
func (x *UpdateSegmentsInfo) ProtoReflect() protoreflect.Message
func (*UpdateSegmentsInfo) Reset ¶
func (x *UpdateSegmentsInfo) Reset()
func (*UpdateSegmentsInfo) String ¶
func (x *UpdateSegmentsInfo) String() string
type UpdateSegmentsMsg ¶
type UpdateSegmentsMsg struct { Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"` Seg *UpdateSegmentsInfo `protobuf:"bytes,2,opt,name=seg,proto3" json:"seg,omitempty"` // contains filtered or unexported fields }
func (*UpdateSegmentsMsg) Descriptor
deprecated
func (*UpdateSegmentsMsg) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSegmentsMsg.ProtoReflect.Descriptor instead.
func (*UpdateSegmentsMsg) GetAuth ¶
func (x *UpdateSegmentsMsg) GetAuth() *AuthToken
func (*UpdateSegmentsMsg) GetSeg ¶
func (x *UpdateSegmentsMsg) GetSeg() *UpdateSegmentsInfo
func (*UpdateSegmentsMsg) ProtoMessage ¶
func (*UpdateSegmentsMsg) ProtoMessage()
func (*UpdateSegmentsMsg) ProtoReflect ¶
func (x *UpdateSegmentsMsg) ProtoReflect() protoreflect.Message
func (*UpdateSegmentsMsg) Reset ¶
func (x *UpdateSegmentsMsg) Reset()
func (*UpdateSegmentsMsg) String ¶
func (x *UpdateSegmentsMsg) String() string
type UpdateSegmentsRet ¶
type UpdateSegmentsRet struct { Result *MetaError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*UpdateSegmentsRet) Descriptor
deprecated
func (*UpdateSegmentsRet) Descriptor() ([]byte, []int)
Deprecated: Use UpdateSegmentsRet.ProtoReflect.Descriptor instead.
func (*UpdateSegmentsRet) GetResult ¶
func (x *UpdateSegmentsRet) GetResult() *MetaError
func (*UpdateSegmentsRet) ProtoMessage ¶
func (*UpdateSegmentsRet) ProtoMessage()
func (*UpdateSegmentsRet) ProtoReflect ¶
func (x *UpdateSegmentsRet) ProtoReflect() protoreflect.Message
func (*UpdateSegmentsRet) Reset ¶
func (x *UpdateSegmentsRet) Reset()
func (*UpdateSegmentsRet) String ¶
func (x *UpdateSegmentsRet) String() string
type UserAuth ¶
type UserAuth struct { Ak string `protobuf:"bytes,1,opt,name=ak,proto3" json:"ak,omitempty"` Body []byte `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"` Time int64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"` Signature string `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*UserAuth) Descriptor
deprecated
func (*UserAuth) GetSignature ¶
func (*UserAuth) ProtoMessage ¶
func (*UserAuth) ProtoMessage()
func (*UserAuth) ProtoReflect ¶
func (x *UserAuth) ProtoReflect() protoreflect.Message
type ValidateAccessRet ¶
type ValidateAccessRet struct { Result *AuthError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*ValidateAccessRet) Descriptor
deprecated
func (*ValidateAccessRet) Descriptor() ([]byte, []int)
Deprecated: Use ValidateAccessRet.ProtoReflect.Descriptor instead.
func (*ValidateAccessRet) GetResult ¶
func (x *ValidateAccessRet) GetResult() *AuthError
func (*ValidateAccessRet) ProtoMessage ¶
func (*ValidateAccessRet) ProtoMessage()
func (*ValidateAccessRet) ProtoReflect ¶
func (x *ValidateAccessRet) ProtoReflect() protoreflect.Message
func (*ValidateAccessRet) Reset ¶
func (x *ValidateAccessRet) Reset()
func (*ValidateAccessRet) String ¶
func (x *ValidateAccessRet) String() string
type ValidateRefreshRet ¶
type ValidateRefreshRet struct { Result *AuthError `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` Token *TokenInfo `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*ValidateRefreshRet) Descriptor
deprecated
func (*ValidateRefreshRet) Descriptor() ([]byte, []int)
Deprecated: Use ValidateRefreshRet.ProtoReflect.Descriptor instead.
func (*ValidateRefreshRet) GetResult ¶
func (x *ValidateRefreshRet) GetResult() *AuthError
func (*ValidateRefreshRet) GetToken ¶
func (x *ValidateRefreshRet) GetToken() *TokenInfo
func (*ValidateRefreshRet) ProtoMessage ¶
func (*ValidateRefreshRet) ProtoMessage()
func (*ValidateRefreshRet) ProtoReflect ¶
func (x *ValidateRefreshRet) ProtoReflect() protoreflect.Message
func (*ValidateRefreshRet) Reset ¶
func (x *ValidateRefreshRet) Reset()
func (*ValidateRefreshRet) String ¶
func (x *ValidateRefreshRet) String() string