Documentation ¶
Index ¶
- Variables
- func RegisterEosServer(s grpc.ServiceRegistrar, srv EosServer)
- type Checksum
- type ContainerInsertRequest
- func (*ContainerInsertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerInsertRequest) GetAuthkey() string
- func (x *ContainerInsertRequest) GetContainer() []*ContainerMdProto
- func (x *ContainerInsertRequest) GetInheritMd() bool
- func (*ContainerInsertRequest) ProtoMessage()
- func (x *ContainerInsertRequest) ProtoReflect() protoreflect.Message
- func (x *ContainerInsertRequest) Reset()
- func (x *ContainerInsertRequest) String() string
- type ContainerMdProto
- func (*ContainerMdProto) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerMdProto) GetCtime() *Time
- func (x *ContainerMdProto) GetEtag() string
- func (x *ContainerMdProto) GetFlags() uint32
- func (x *ContainerMdProto) GetGid() uint64
- func (x *ContainerMdProto) GetId() uint64
- func (x *ContainerMdProto) GetInode() uint64
- func (x *ContainerMdProto) GetMode() uint32
- func (x *ContainerMdProto) GetMtime() *Time
- func (x *ContainerMdProto) GetName() []byte
- func (x *ContainerMdProto) GetParentId() uint64
- func (x *ContainerMdProto) GetPath() []byte
- func (x *ContainerMdProto) GetStime() *Time
- func (x *ContainerMdProto) GetTreeSize() int64
- func (x *ContainerMdProto) GetUid() uint64
- func (x *ContainerMdProto) GetXattrs() map[string][]byte
- func (*ContainerMdProto) ProtoMessage()
- func (x *ContainerMdProto) ProtoReflect() protoreflect.Message
- func (x *ContainerMdProto) Reset()
- func (x *ContainerMdProto) String() string
- type EosClient
- type EosServer
- type Eos_FindClient
- type Eos_FindServer
- type Eos_MDClient
- type Eos_MDServer
- type FileInsertRequest
- func (*FileInsertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FileInsertRequest) GetAuthkey() string
- func (x *FileInsertRequest) GetFiles() []*FileMdProto
- func (*FileInsertRequest) ProtoMessage()
- func (x *FileInsertRequest) ProtoReflect() protoreflect.Message
- func (x *FileInsertRequest) Reset()
- func (x *FileInsertRequest) String() string
- type FileMdProto
- func (*FileMdProto) Descriptor() ([]byte, []int)deprecated
- func (x *FileMdProto) GetChecksum() *Checksum
- func (x *FileMdProto) GetContId() uint64
- func (x *FileMdProto) GetCtime() *Time
- func (x *FileMdProto) GetEtag() string
- func (x *FileMdProto) GetFlags() uint32
- func (x *FileMdProto) GetGid() uint64
- func (x *FileMdProto) GetId() uint64
- func (x *FileMdProto) GetInode() uint64
- func (x *FileMdProto) GetLayoutId() uint32
- func (x *FileMdProto) GetLinkName() []byte
- func (x *FileMdProto) GetLocations() []uint32
- func (x *FileMdProto) GetMtime() *Time
- func (x *FileMdProto) GetName() []byte
- func (x *FileMdProto) GetPath() []byte
- func (x *FileMdProto) GetSize() uint64
- func (x *FileMdProto) GetUid() uint64
- func (x *FileMdProto) GetUnlinkLocations() []uint32
- func (x *FileMdProto) GetXattrs() map[string][]byte
- func (*FileMdProto) ProtoMessage()
- func (x *FileMdProto) ProtoReflect() protoreflect.Message
- func (x *FileMdProto) Reset()
- func (x *FileMdProto) String() string
- type FindRequest
- func (*FindRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FindRequest) GetAuthkey() string
- func (x *FindRequest) GetId() *MDId
- func (x *FindRequest) GetMaxdepth() uint64
- func (x *FindRequest) GetRole() *RoleId
- func (x *FindRequest) GetSelection() *MDSelection
- func (x *FindRequest) GetType() TYPE
- func (*FindRequest) ProtoMessage()
- func (x *FindRequest) ProtoReflect() protoreflect.Message
- func (x *FindRequest) Reset()
- func (x *FindRequest) String() string
- type InsertReply
- func (*InsertReply) Descriptor() ([]byte, []int)deprecated
- func (x *InsertReply) GetMessage() []string
- func (x *InsertReply) GetRetc() []uint32
- func (*InsertReply) ProtoMessage()
- func (x *InsertReply) ProtoReflect() protoreflect.Message
- func (x *InsertReply) Reset()
- func (x *InsertReply) String() string
- type Limit
- type MANILA_REQUEST_TYPE
- func (MANILA_REQUEST_TYPE) Descriptor() protoreflect.EnumDescriptor
- func (x MANILA_REQUEST_TYPE) Enum() *MANILA_REQUEST_TYPE
- func (MANILA_REQUEST_TYPE) EnumDescriptor() ([]byte, []int)deprecated
- func (x MANILA_REQUEST_TYPE) Number() protoreflect.EnumNumber
- func (x MANILA_REQUEST_TYPE) String() string
- func (MANILA_REQUEST_TYPE) Type() protoreflect.EnumType
- type MDId
- func (*MDId) Descriptor() ([]byte, []int)deprecated
- func (x *MDId) GetId() uint64
- func (x *MDId) GetIno() uint64
- func (x *MDId) GetPath() []byte
- func (x *MDId) GetType() TYPE
- func (*MDId) ProtoMessage()
- func (x *MDId) ProtoReflect() protoreflect.Message
- func (x *MDId) Reset()
- func (x *MDId) String() string
- type MDRequest
- func (*MDRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MDRequest) GetAuthkey() string
- func (x *MDRequest) GetId() *MDId
- func (x *MDRequest) GetRole() *RoleId
- func (x *MDRequest) GetSelection() *MDSelection
- func (x *MDRequest) GetType() TYPE
- func (*MDRequest) ProtoMessage()
- func (x *MDRequest) ProtoReflect() protoreflect.Message
- func (x *MDRequest) Reset()
- func (x *MDRequest) String() string
- type MDResponse
- func (*MDResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MDResponse) GetCmd() *ContainerMdProto
- func (x *MDResponse) GetFmd() *FileMdProto
- func (x *MDResponse) GetType() TYPE
- func (*MDResponse) ProtoMessage()
- func (x *MDResponse) ProtoReflect() protoreflect.Message
- func (x *MDResponse) Reset()
- func (x *MDResponse) String() string
- type MDSelection
- func (*MDSelection) Descriptor() ([]byte, []int)deprecated
- func (x *MDSelection) GetChecksum() *Checksum
- func (x *MDSelection) GetChildren() *Limit
- func (x *MDSelection) GetCtime() *Limit
- func (x *MDSelection) GetFlags() uint64
- func (x *MDSelection) GetGroup() uint32
- func (x *MDSelection) GetGroupRoot() bool
- func (x *MDSelection) GetLayoutid() uint64
- func (x *MDSelection) GetLocations() *Limit
- func (x *MDSelection) GetMtime() *Limit
- func (x *MDSelection) GetOwner() uint32
- func (x *MDSelection) GetOwnerRoot() bool
- func (x *MDSelection) GetRegexpDirname() []byte
- func (x *MDSelection) GetRegexpFilename() []byte
- func (x *MDSelection) GetSelect() bool
- func (x *MDSelection) GetSize() *Limit
- func (x *MDSelection) GetStime() *Limit
- func (x *MDSelection) GetSymlink() bool
- func (x *MDSelection) GetTreesize() *Limit
- func (x *MDSelection) GetUnlinkedLocations() *Limit
- func (x *MDSelection) GetXattr() map[string][]byte
- func (*MDSelection) ProtoMessage()
- func (x *MDSelection) ProtoReflect() protoreflect.Message
- func (x *MDSelection) Reset()
- func (x *MDSelection) String() string
- type ManilaRequest
- func (*ManilaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ManilaRequest) GetAdminEgroup() string
- func (x *ManilaRequest) GetAuthKey() string
- func (x *ManilaRequest) GetCreator() string
- func (x *ManilaRequest) GetDescription() string
- func (x *ManilaRequest) GetEgroup() string
- func (x *ManilaRequest) GetProtocol() string
- func (x *ManilaRequest) GetQuota() int32
- func (x *ManilaRequest) GetRequestType() MANILA_REQUEST_TYPE
- func (x *ManilaRequest) GetShareGroupId() string
- func (x *ManilaRequest) GetShareHost() string
- func (x *ManilaRequest) GetShareId() string
- func (x *ManilaRequest) GetShareLocation() string
- func (x *ManilaRequest) GetShareName() string
- func (*ManilaRequest) ProtoMessage()
- func (x *ManilaRequest) ProtoReflect() protoreflect.Message
- func (x *ManilaRequest) Reset()
- func (x *ManilaRequest) String() string
- type ManilaResponse
- func (*ManilaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ManilaResponse) GetCode() int32
- func (x *ManilaResponse) GetMsg() string
- func (x *ManilaResponse) GetNewSharePath() string
- func (x *ManilaResponse) GetNewShareQuota() int64
- func (x *ManilaResponse) GetTotalCapacity() int64
- func (x *ManilaResponse) GetTotalUsed() int64
- func (*ManilaResponse) ProtoMessage()
- func (x *ManilaResponse) ProtoReflect() protoreflect.Message
- func (x *ManilaResponse) Reset()
- func (x *ManilaResponse) String() string
- type NSRequest
- func (*NSRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest) GetAcl() *NSRequest_AclRequest
- func (x *NSRequest) GetAuthkey() string
- func (x *NSRequest) GetChmod() *NSRequest_ChmodRequest
- func (x *NSRequest) GetChown() *NSRequest_ChownRequest
- func (m *NSRequest) GetCommand() isNSRequest_Command
- func (x *NSRequest) GetMkdir() *NSRequest_MkdirRequest
- func (x *NSRequest) GetQuota() *NSRequest_QuotaRequest
- func (x *NSRequest) GetRecycle() *NSRequest_RecycleRequest
- func (x *NSRequest) GetRename() *NSRequest_RenameRequest
- func (x *NSRequest) GetRm() *NSRequest_RmRequest
- func (x *NSRequest) GetRmdir() *NSRequest_RmdirRequest
- func (x *NSRequest) GetRole() *RoleId
- func (x *NSRequest) GetShare() *NSRequest_ShareRequest
- func (x *NSRequest) GetSymlink() *NSRequest_SymlinkRequest
- func (x *NSRequest) GetToken() *NSRequest_TokenRequest
- func (x *NSRequest) GetTouch() *NSRequest_TouchRequest
- func (x *NSRequest) GetUnlink() *NSRequest_UnlinkRequest
- func (x *NSRequest) GetVersion() *NSRequest_VersionRequest
- func (x *NSRequest) GetXattr() *NSRequest_SetXAttrRequest
- func (*NSRequest) ProtoMessage()
- func (x *NSRequest) ProtoReflect() protoreflect.Message
- func (x *NSRequest) Reset()
- func (x *NSRequest) String() string
- type NSRequest_Acl
- type NSRequest_AclRequest
- func (*NSRequest_AclRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_AclRequest) GetCmd() NSRequest_AclRequest_ACL_COMMAND
- func (x *NSRequest_AclRequest) GetId() *MDId
- func (x *NSRequest_AclRequest) GetPosition() uint32
- func (x *NSRequest_AclRequest) GetRecursive() bool
- func (x *NSRequest_AclRequest) GetRule() string
- func (x *NSRequest_AclRequest) GetType() NSRequest_AclRequest_ACL_TYPE
- func (*NSRequest_AclRequest) ProtoMessage()
- func (x *NSRequest_AclRequest) ProtoReflect() protoreflect.Message
- func (x *NSRequest_AclRequest) Reset()
- func (x *NSRequest_AclRequest) String() string
- type NSRequest_AclRequest_ACL_COMMAND
- func (NSRequest_AclRequest_ACL_COMMAND) Descriptor() protoreflect.EnumDescriptor
- func (x NSRequest_AclRequest_ACL_COMMAND) Enum() *NSRequest_AclRequest_ACL_COMMAND
- func (NSRequest_AclRequest_ACL_COMMAND) EnumDescriptor() ([]byte, []int)deprecated
- func (x NSRequest_AclRequest_ACL_COMMAND) Number() protoreflect.EnumNumber
- func (x NSRequest_AclRequest_ACL_COMMAND) String() string
- func (NSRequest_AclRequest_ACL_COMMAND) Type() protoreflect.EnumType
- type NSRequest_AclRequest_ACL_TYPE
- func (NSRequest_AclRequest_ACL_TYPE) Descriptor() protoreflect.EnumDescriptor
- func (x NSRequest_AclRequest_ACL_TYPE) Enum() *NSRequest_AclRequest_ACL_TYPE
- func (NSRequest_AclRequest_ACL_TYPE) EnumDescriptor() ([]byte, []int)deprecated
- func (x NSRequest_AclRequest_ACL_TYPE) Number() protoreflect.EnumNumber
- func (x NSRequest_AclRequest_ACL_TYPE) String() string
- func (NSRequest_AclRequest_ACL_TYPE) Type() protoreflect.EnumType
- type NSRequest_Chmod
- type NSRequest_ChmodRequest
- func (*NSRequest_ChmodRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_ChmodRequest) GetId() *MDId
- func (x *NSRequest_ChmodRequest) GetMode() int64
- func (*NSRequest_ChmodRequest) ProtoMessage()
- func (x *NSRequest_ChmodRequest) ProtoReflect() protoreflect.Message
- func (x *NSRequest_ChmodRequest) Reset()
- func (x *NSRequest_ChmodRequest) String() string
- type NSRequest_Chown
- type NSRequest_ChownRequest
- func (*NSRequest_ChownRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_ChownRequest) GetId() *MDId
- func (x *NSRequest_ChownRequest) GetOwner() *RoleId
- func (*NSRequest_ChownRequest) ProtoMessage()
- func (x *NSRequest_ChownRequest) ProtoReflect() protoreflect.Message
- func (x *NSRequest_ChownRequest) Reset()
- func (x *NSRequest_ChownRequest) String() string
- type NSRequest_Mkdir
- type NSRequest_MkdirRequest
- func (*NSRequest_MkdirRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_MkdirRequest) GetId() *MDId
- func (x *NSRequest_MkdirRequest) GetMode() int64
- func (x *NSRequest_MkdirRequest) GetRecursive() bool
- func (*NSRequest_MkdirRequest) ProtoMessage()
- func (x *NSRequest_MkdirRequest) ProtoReflect() protoreflect.Message
- func (x *NSRequest_MkdirRequest) Reset()
- func (x *NSRequest_MkdirRequest) String() string
- type NSRequest_Quota
- type NSRequest_QuotaRequest
- func (*NSRequest_QuotaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_QuotaRequest) GetEntry() QUOTAENTRY
- func (x *NSRequest_QuotaRequest) GetId() *RoleId
- func (x *NSRequest_QuotaRequest) GetMaxbytes() uint64
- func (x *NSRequest_QuotaRequest) GetMaxfiles() uint64
- func (x *NSRequest_QuotaRequest) GetOp() QUOTAOP
- func (x *NSRequest_QuotaRequest) GetPath() []byte
- func (*NSRequest_QuotaRequest) ProtoMessage()
- func (x *NSRequest_QuotaRequest) ProtoReflect() protoreflect.Message
- func (x *NSRequest_QuotaRequest) Reset()
- func (x *NSRequest_QuotaRequest) String() string
- type NSRequest_Recycle
- type NSRequest_RecycleRequest
- func (*NSRequest_RecycleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_RecycleRequest) GetCmd() NSRequest_RecycleRequest_RECYCLE_CMD
- func (x *NSRequest_RecycleRequest) GetKey() string
- func (x *NSRequest_RecycleRequest) GetPurgedate() *NSRequest_RecycleRequest_PurgeDate
- func (x *NSRequest_RecycleRequest) GetRestoreflag() *NSRequest_RecycleRequest_RestoreFlags
- func (*NSRequest_RecycleRequest) ProtoMessage()
- func (x *NSRequest_RecycleRequest) ProtoReflect() protoreflect.Message
- func (x *NSRequest_RecycleRequest) Reset()
- func (x *NSRequest_RecycleRequest) String() string
- type NSRequest_RecycleRequest_PurgeDate
- func (*NSRequest_RecycleRequest_PurgeDate) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_RecycleRequest_PurgeDate) GetDay() int32
- func (x *NSRequest_RecycleRequest_PurgeDate) GetMonth() int32
- func (x *NSRequest_RecycleRequest_PurgeDate) GetYear() int32
- func (*NSRequest_RecycleRequest_PurgeDate) ProtoMessage()
- func (x *NSRequest_RecycleRequest_PurgeDate) ProtoReflect() protoreflect.Message
- func (x *NSRequest_RecycleRequest_PurgeDate) Reset()
- func (x *NSRequest_RecycleRequest_PurgeDate) String() string
- type NSRequest_RecycleRequest_RECYCLE_CMD
- func (NSRequest_RecycleRequest_RECYCLE_CMD) Descriptor() protoreflect.EnumDescriptor
- func (x NSRequest_RecycleRequest_RECYCLE_CMD) Enum() *NSRequest_RecycleRequest_RECYCLE_CMD
- func (NSRequest_RecycleRequest_RECYCLE_CMD) EnumDescriptor() ([]byte, []int)deprecated
- func (x NSRequest_RecycleRequest_RECYCLE_CMD) Number() protoreflect.EnumNumber
- func (x NSRequest_RecycleRequest_RECYCLE_CMD) String() string
- func (NSRequest_RecycleRequest_RECYCLE_CMD) Type() protoreflect.EnumType
- type NSRequest_RecycleRequest_RestoreFlags
- func (*NSRequest_RecycleRequest_RestoreFlags) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_RecycleRequest_RestoreFlags) GetForce() bool
- func (x *NSRequest_RecycleRequest_RestoreFlags) GetMkpath() bool
- func (x *NSRequest_RecycleRequest_RestoreFlags) GetVersions() bool
- func (*NSRequest_RecycleRequest_RestoreFlags) ProtoMessage()
- func (x *NSRequest_RecycleRequest_RestoreFlags) ProtoReflect() protoreflect.Message
- func (x *NSRequest_RecycleRequest_RestoreFlags) Reset()
- func (x *NSRequest_RecycleRequest_RestoreFlags) String() string
- type NSRequest_Rename
- type NSRequest_RenameRequest
- func (*NSRequest_RenameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_RenameRequest) GetId() *MDId
- func (x *NSRequest_RenameRequest) GetTarget() []byte
- func (*NSRequest_RenameRequest) ProtoMessage()
- func (x *NSRequest_RenameRequest) ProtoReflect() protoreflect.Message
- func (x *NSRequest_RenameRequest) Reset()
- func (x *NSRequest_RenameRequest) String() string
- type NSRequest_Rm
- type NSRequest_RmRequest
- func (*NSRequest_RmRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_RmRequest) GetId() *MDId
- func (x *NSRequest_RmRequest) GetNorecycle() bool
- func (x *NSRequest_RmRequest) GetRecursive() bool
- func (*NSRequest_RmRequest) ProtoMessage()
- func (x *NSRequest_RmRequest) ProtoReflect() protoreflect.Message
- func (x *NSRequest_RmRequest) Reset()
- func (x *NSRequest_RmRequest) String() string
- type NSRequest_Rmdir
- type NSRequest_RmdirRequest
- func (*NSRequest_RmdirRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_RmdirRequest) GetId() *MDId
- func (*NSRequest_RmdirRequest) ProtoMessage()
- func (x *NSRequest_RmdirRequest) ProtoReflect() protoreflect.Message
- func (x *NSRequest_RmdirRequest) Reset()
- func (x *NSRequest_RmdirRequest) String() string
- type NSRequest_SetXAttrRequest
- func (*NSRequest_SetXAttrRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_SetXAttrRequest) GetCreate() bool
- func (x *NSRequest_SetXAttrRequest) GetId() *MDId
- func (x *NSRequest_SetXAttrRequest) GetKeystodelete() []string
- func (x *NSRequest_SetXAttrRequest) GetRecursive() bool
- func (x *NSRequest_SetXAttrRequest) GetXattrs() map[string][]byte
- func (*NSRequest_SetXAttrRequest) ProtoMessage()
- func (x *NSRequest_SetXAttrRequest) ProtoReflect() protoreflect.Message
- func (x *NSRequest_SetXAttrRequest) Reset()
- func (x *NSRequest_SetXAttrRequest) String() string
- type NSRequest_Share
- type NSRequest_ShareRequest
- func (*NSRequest_ShareRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_ShareRequest) GetLs() *NSRequest_ShareRequest_LsShare
- func (x *NSRequest_ShareRequest) GetOp() *NSRequest_ShareRequest_OperateShare
- func (m *NSRequest_ShareRequest) GetSubcmd() isNSRequest_ShareRequest_Subcmd
- func (*NSRequest_ShareRequest) ProtoMessage()
- func (x *NSRequest_ShareRequest) ProtoReflect() protoreflect.Message
- func (x *NSRequest_ShareRequest) Reset()
- func (x *NSRequest_ShareRequest) String() string
- type NSRequest_ShareRequest_Ls
- type NSRequest_ShareRequest_LsShare
- func (*NSRequest_ShareRequest_LsShare) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_ShareRequest_LsShare) GetOutformat() NSRequest_ShareRequest_LsShare_OutFormat
- func (x *NSRequest_ShareRequest_LsShare) GetSelection() string
- func (*NSRequest_ShareRequest_LsShare) ProtoMessage()
- func (x *NSRequest_ShareRequest_LsShare) ProtoReflect() protoreflect.Message
- func (x *NSRequest_ShareRequest_LsShare) Reset()
- func (x *NSRequest_ShareRequest_LsShare) String() string
- type NSRequest_ShareRequest_LsShare_OutFormat
- func (NSRequest_ShareRequest_LsShare_OutFormat) Descriptor() protoreflect.EnumDescriptor
- func (x NSRequest_ShareRequest_LsShare_OutFormat) Enum() *NSRequest_ShareRequest_LsShare_OutFormat
- func (NSRequest_ShareRequest_LsShare_OutFormat) EnumDescriptor() ([]byte, []int)deprecated
- func (x NSRequest_ShareRequest_LsShare_OutFormat) Number() protoreflect.EnumNumber
- func (x NSRequest_ShareRequest_LsShare_OutFormat) String() string
- func (NSRequest_ShareRequest_LsShare_OutFormat) Type() protoreflect.EnumType
- type NSRequest_ShareRequest_Op
- type NSRequest_ShareRequest_OperateShare
- func (*NSRequest_ShareRequest_OperateShare) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_ShareRequest_OperateShare) GetAcl() string
- func (x *NSRequest_ShareRequest_OperateShare) GetGroup() string
- func (x *NSRequest_ShareRequest_OperateShare) GetOp() NSRequest_ShareRequest_OperateShare_Op
- func (x *NSRequest_ShareRequest_OperateShare) GetPath() string
- func (x *NSRequest_ShareRequest_OperateShare) GetShare() string
- func (x *NSRequest_ShareRequest_OperateShare) GetUser() string
- func (*NSRequest_ShareRequest_OperateShare) ProtoMessage()
- func (x *NSRequest_ShareRequest_OperateShare) ProtoReflect() protoreflect.Message
- func (x *NSRequest_ShareRequest_OperateShare) Reset()
- func (x *NSRequest_ShareRequest_OperateShare) String() string
- type NSRequest_ShareRequest_OperateShare_Op
- func (NSRequest_ShareRequest_OperateShare_Op) Descriptor() protoreflect.EnumDescriptor
- func (x NSRequest_ShareRequest_OperateShare_Op) Enum() *NSRequest_ShareRequest_OperateShare_Op
- func (NSRequest_ShareRequest_OperateShare_Op) EnumDescriptor() ([]byte, []int)deprecated
- func (x NSRequest_ShareRequest_OperateShare_Op) Number() protoreflect.EnumNumber
- func (x NSRequest_ShareRequest_OperateShare_Op) String() string
- func (NSRequest_ShareRequest_OperateShare_Op) Type() protoreflect.EnumType
- type NSRequest_Symlink
- type NSRequest_SymlinkRequest
- func (*NSRequest_SymlinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_SymlinkRequest) GetId() *MDId
- func (x *NSRequest_SymlinkRequest) GetTarget() []byte
- func (*NSRequest_SymlinkRequest) ProtoMessage()
- func (x *NSRequest_SymlinkRequest) ProtoReflect() protoreflect.Message
- func (x *NSRequest_SymlinkRequest) Reset()
- func (x *NSRequest_SymlinkRequest) String() string
- type NSRequest_Token
- type NSRequest_TokenRequest
- func (*NSRequest_TokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_TokenRequest) GetToken() *ShareToken
- func (*NSRequest_TokenRequest) ProtoMessage()
- func (x *NSRequest_TokenRequest) ProtoReflect() protoreflect.Message
- func (x *NSRequest_TokenRequest) Reset()
- func (x *NSRequest_TokenRequest) String() string
- type NSRequest_Touch
- type NSRequest_TouchRequest
- func (*NSRequest_TouchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_TouchRequest) GetId() *MDId
- func (*NSRequest_TouchRequest) ProtoMessage()
- func (x *NSRequest_TouchRequest) ProtoReflect() protoreflect.Message
- func (x *NSRequest_TouchRequest) Reset()
- func (x *NSRequest_TouchRequest) String() string
- type NSRequest_Unlink
- type NSRequest_UnlinkRequest
- func (*NSRequest_UnlinkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_UnlinkRequest) GetId() *MDId
- func (x *NSRequest_UnlinkRequest) GetNorecycle() bool
- func (*NSRequest_UnlinkRequest) ProtoMessage()
- func (x *NSRequest_UnlinkRequest) ProtoReflect() protoreflect.Message
- func (x *NSRequest_UnlinkRequest) Reset()
- func (x *NSRequest_UnlinkRequest) String() string
- type NSRequest_Version
- type NSRequest_VersionRequest
- func (*NSRequest_VersionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NSRequest_VersionRequest) GetCmd() NSRequest_VersionRequest_VERSION_CMD
- func (x *NSRequest_VersionRequest) GetGrabversion() string
- func (x *NSRequest_VersionRequest) GetId() *MDId
- func (x *NSRequest_VersionRequest) GetMaxversion() int32
- func (*NSRequest_VersionRequest) ProtoMessage()
- func (x *NSRequest_VersionRequest) ProtoReflect() protoreflect.Message
- func (x *NSRequest_VersionRequest) Reset()
- func (x *NSRequest_VersionRequest) String() string
- type NSRequest_VersionRequest_VERSION_CMD
- func (NSRequest_VersionRequest_VERSION_CMD) Descriptor() protoreflect.EnumDescriptor
- func (x NSRequest_VersionRequest_VERSION_CMD) Enum() *NSRequest_VersionRequest_VERSION_CMD
- func (NSRequest_VersionRequest_VERSION_CMD) EnumDescriptor() ([]byte, []int)deprecated
- func (x NSRequest_VersionRequest_VERSION_CMD) Number() protoreflect.EnumNumber
- func (x NSRequest_VersionRequest_VERSION_CMD) String() string
- func (NSRequest_VersionRequest_VERSION_CMD) Type() protoreflect.EnumType
- type NSRequest_Xattr
- type NSResponse
- func (*NSResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NSResponse) GetAcl() *NSResponse_AclResponse
- func (x *NSResponse) GetError() *NSResponse_ErrorResponse
- func (x *NSResponse) GetQuota() *NSResponse_QuotaResponse
- func (x *NSResponse) GetRecycle() *NSResponse_RecycleResponse
- func (x *NSResponse) GetShare() *NSResponse_ShareResponse
- func (x *NSResponse) GetVersion() *NSResponse_VersionResponse
- func (*NSResponse) ProtoMessage()
- func (x *NSResponse) ProtoReflect() protoreflect.Message
- func (x *NSResponse) Reset()
- func (x *NSResponse) String() string
- type NSResponse_AclResponse
- func (*NSResponse_AclResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NSResponse_AclResponse) GetCode() int64
- func (x *NSResponse_AclResponse) GetMsg() string
- func (x *NSResponse_AclResponse) GetRule() string
- func (*NSResponse_AclResponse) ProtoMessage()
- func (x *NSResponse_AclResponse) ProtoReflect() protoreflect.Message
- func (x *NSResponse_AclResponse) Reset()
- func (x *NSResponse_AclResponse) String() string
- type NSResponse_ErrorResponse
- func (*NSResponse_ErrorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NSResponse_ErrorResponse) GetCode() int64
- func (x *NSResponse_ErrorResponse) GetMsg() string
- func (*NSResponse_ErrorResponse) ProtoMessage()
- func (x *NSResponse_ErrorResponse) ProtoReflect() protoreflect.Message
- func (x *NSResponse_ErrorResponse) Reset()
- func (x *NSResponse_ErrorResponse) String() string
- type NSResponse_QuotaResponse
- func (*NSResponse_QuotaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NSResponse_QuotaResponse) GetCode() int64
- func (x *NSResponse_QuotaResponse) GetMsg() string
- func (x *NSResponse_QuotaResponse) GetQuotanode() []*QuotaProto
- func (*NSResponse_QuotaResponse) ProtoMessage()
- func (x *NSResponse_QuotaResponse) ProtoReflect() protoreflect.Message
- func (x *NSResponse_QuotaResponse) Reset()
- func (x *NSResponse_QuotaResponse) String() string
- type NSResponse_RecycleResponse
- func (*NSResponse_RecycleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NSResponse_RecycleResponse) GetCode() int64
- func (x *NSResponse_RecycleResponse) GetMsg() string
- func (x *NSResponse_RecycleResponse) GetRecycles() []*NSResponse_RecycleResponse_RecycleInfo
- func (*NSResponse_RecycleResponse) ProtoMessage()
- func (x *NSResponse_RecycleResponse) ProtoReflect() protoreflect.Message
- func (x *NSResponse_RecycleResponse) Reset()
- func (x *NSResponse_RecycleResponse) String() string
- type NSResponse_RecycleResponse_RecycleInfo
- func (*NSResponse_RecycleResponse_RecycleInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NSResponse_RecycleResponse_RecycleInfo) GetDtime() *Time
- func (x *NSResponse_RecycleResponse_RecycleInfo) GetId() *MDId
- func (x *NSResponse_RecycleResponse_RecycleInfo) GetKey() string
- func (x *NSResponse_RecycleResponse_RecycleInfo) GetOwner() *RoleId
- func (x *NSResponse_RecycleResponse_RecycleInfo) GetSize() uint64
- func (x *NSResponse_RecycleResponse_RecycleInfo) GetType() NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE
- func (*NSResponse_RecycleResponse_RecycleInfo) ProtoMessage()
- func (x *NSResponse_RecycleResponse_RecycleInfo) ProtoReflect() protoreflect.Message
- func (x *NSResponse_RecycleResponse_RecycleInfo) Reset()
- func (x *NSResponse_RecycleResponse_RecycleInfo) String() string
- type NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE
- func (NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) Descriptor() protoreflect.EnumDescriptor
- func (x NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) Enum() *NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE
- func (NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) EnumDescriptor() ([]byte, []int)deprecated
- func (x NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) Number() protoreflect.EnumNumber
- func (x NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) String() string
- func (NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) Type() protoreflect.EnumType
- type NSResponse_ShareAccess
- func (*NSResponse_ShareAccess) Descriptor() ([]byte, []int)deprecated
- func (x *NSResponse_ShareAccess) GetGranted() bool
- func (x *NSResponse_ShareAccess) GetName() string
- func (*NSResponse_ShareAccess) ProtoMessage()
- func (x *NSResponse_ShareAccess) ProtoReflect() protoreflect.Message
- func (x *NSResponse_ShareAccess) Reset()
- func (x *NSResponse_ShareAccess) String() string
- type NSResponse_ShareInfo
- func (*NSResponse_ShareInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NSResponse_ShareInfo) GetName() string
- func (x *NSResponse_ShareInfo) GetNshared() uint64
- func (x *NSResponse_ShareInfo) GetRoot() string
- func (x *NSResponse_ShareInfo) GetRule() string
- func (x *NSResponse_ShareInfo) GetUid() uint64
- func (*NSResponse_ShareInfo) ProtoMessage()
- func (x *NSResponse_ShareInfo) ProtoReflect() protoreflect.Message
- func (x *NSResponse_ShareInfo) Reset()
- func (x *NSResponse_ShareInfo) String() string
- type NSResponse_ShareResponse
- func (*NSResponse_ShareResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NSResponse_ShareResponse) GetAccess() []*NSResponse_ShareAccess
- func (x *NSResponse_ShareResponse) GetCode() int64
- func (x *NSResponse_ShareResponse) GetMsg() string
- func (x *NSResponse_ShareResponse) GetShares() []*NSResponse_ShareInfo
- func (*NSResponse_ShareResponse) ProtoMessage()
- func (x *NSResponse_ShareResponse) ProtoReflect() protoreflect.Message
- func (x *NSResponse_ShareResponse) Reset()
- func (x *NSResponse_ShareResponse) String() string
- type NSResponse_VersionResponse
- func (*NSResponse_VersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NSResponse_VersionResponse) GetCode() int64
- func (x *NSResponse_VersionResponse) GetMsg() string
- func (x *NSResponse_VersionResponse) GetVersions() []*NSResponse_VersionResponse_VersionInfo
- func (*NSResponse_VersionResponse) ProtoMessage()
- func (x *NSResponse_VersionResponse) ProtoReflect() protoreflect.Message
- func (x *NSResponse_VersionResponse) Reset()
- func (x *NSResponse_VersionResponse) String() string
- type NSResponse_VersionResponse_VersionInfo
- func (*NSResponse_VersionResponse_VersionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NSResponse_VersionResponse_VersionInfo) GetId() *MDId
- func (x *NSResponse_VersionResponse_VersionInfo) GetMtime() *Time
- func (*NSResponse_VersionResponse_VersionInfo) ProtoMessage()
- func (x *NSResponse_VersionResponse_VersionInfo) ProtoReflect() protoreflect.Message
- func (x *NSResponse_VersionResponse_VersionInfo) Reset()
- func (x *NSResponse_VersionResponse_VersionInfo) String() string
- type NsStatRequest
- type NsStatResponse
- func (*NsStatResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NsStatResponse) GetBootTime() uint64
- func (x *NsStatResponse) GetCode() int64
- func (x *NsStatResponse) GetCurrentCid() uint64
- func (x *NsStatResponse) GetCurrentFid() uint64
- func (x *NsStatResponse) GetEmsg() string
- func (x *NsStatResponse) GetFds() uint64
- func (x *NsStatResponse) GetMemGrowth() uint64
- func (x *NsStatResponse) GetMemResident() uint64
- func (x *NsStatResponse) GetMemShare() uint64
- func (x *NsStatResponse) GetMemVirtual() uint64
- func (x *NsStatResponse) GetNcontainers() uint64
- func (x *NsStatResponse) GetNfiles() uint64
- func (x *NsStatResponse) GetState() string
- func (x *NsStatResponse) GetThreads() uint64
- func (x *NsStatResponse) GetUptime() uint64
- func (*NsStatResponse) ProtoMessage()
- func (x *NsStatResponse) ProtoReflect() protoreflect.Message
- func (x *NsStatResponse) Reset()
- func (x *NsStatResponse) String() string
- type PingReply
- type PingRequest
- func (*PingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PingRequest) GetAuthkey() string
- func (x *PingRequest) GetMessage() []byte
- func (*PingRequest) ProtoMessage()
- func (x *PingRequest) ProtoReflect() protoreflect.Message
- func (x *PingRequest) Reset()
- func (x *PingRequest) String() string
- type QUOTAENTRY
- type QUOTAOP
- type QUOTATYPE
- type QuotaProto
- func (*QuotaProto) Descriptor() ([]byte, []int)deprecated
- func (x *QuotaProto) GetMaxbytes() uint64
- func (x *QuotaProto) GetMaxfiles() uint64
- func (x *QuotaProto) GetMaxlogicalbytes() uint64
- func (x *QuotaProto) GetName() string
- func (x *QuotaProto) GetPath() []byte
- func (x *QuotaProto) GetPercentageusedbytes() float32
- func (x *QuotaProto) GetPercentageusedfiles() float32
- func (x *QuotaProto) GetStatusbytes() string
- func (x *QuotaProto) GetStatusfiles() string
- func (x *QuotaProto) GetType() QUOTATYPE
- func (x *QuotaProto) GetUsedbytes() uint64
- func (x *QuotaProto) GetUsedfiles() uint64
- func (x *QuotaProto) GetUsedlogicalbytes() uint64
- func (*QuotaProto) ProtoMessage()
- func (x *QuotaProto) ProtoReflect() protoreflect.Message
- func (x *QuotaProto) Reset()
- func (x *QuotaProto) String() string
- type RoleId
- func (*RoleId) Descriptor() ([]byte, []int)deprecated
- func (x *RoleId) GetGid() uint64
- func (x *RoleId) GetGroupname() string
- func (x *RoleId) GetUid() uint64
- func (x *RoleId) GetUsername() string
- func (*RoleId) ProtoMessage()
- func (x *RoleId) ProtoReflect() protoreflect.Message
- func (x *RoleId) Reset()
- func (x *RoleId) String() string
- type ShareAuth
- func (*ShareAuth) Descriptor() ([]byte, []int)deprecated
- func (x *ShareAuth) GetHost() string
- func (x *ShareAuth) GetName() string
- func (x *ShareAuth) GetProt() string
- func (*ShareAuth) ProtoMessage()
- func (x *ShareAuth) ProtoReflect() protoreflect.Message
- func (x *ShareAuth) Reset()
- func (x *ShareAuth) String() string
- type ShareProto
- func (*ShareProto) Descriptor() ([]byte, []int)deprecated
- func (x *ShareProto) GetAllowtree() bool
- func (x *ShareProto) GetExpires() uint64
- func (x *ShareProto) GetGeneration() uint64
- func (x *ShareProto) GetGroup() string
- func (x *ShareProto) GetOrigins() []*ShareAuth
- func (x *ShareProto) GetOwner() string
- func (x *ShareProto) GetPath() string
- func (x *ShareProto) GetPermission() string
- func (x *ShareProto) GetVtoken() string
- func (*ShareProto) ProtoMessage()
- func (x *ShareProto) ProtoReflect() protoreflect.Message
- func (x *ShareProto) Reset()
- func (x *ShareProto) String() string
- type ShareToken
- func (*ShareToken) Descriptor() ([]byte, []int)deprecated
- func (x *ShareToken) GetSeed() int32
- func (x *ShareToken) GetSerialized() []byte
- func (x *ShareToken) GetSignature() []byte
- func (x *ShareToken) GetToken() *ShareProto
- func (*ShareToken) ProtoMessage()
- func (x *ShareToken) ProtoReflect() protoreflect.Message
- func (x *ShareToken) Reset()
- func (x *ShareToken) String() string
- type TYPE
- type Time
- type UnimplementedEosServer
- func (UnimplementedEosServer) ContainerInsert(context.Context, *ContainerInsertRequest) (*InsertReply, error)
- func (UnimplementedEosServer) Exec(context.Context, *NSRequest) (*NSResponse, error)
- func (UnimplementedEosServer) FileInsert(context.Context, *FileInsertRequest) (*InsertReply, error)
- func (UnimplementedEosServer) Find(*FindRequest, Eos_FindServer) error
- func (UnimplementedEosServer) MD(*MDRequest, Eos_MDServer) error
- func (UnimplementedEosServer) ManilaServerRequest(context.Context, *ManilaRequest) (*ManilaResponse, error)
- func (UnimplementedEosServer) NsStat(context.Context, *NsStatRequest) (*NsStatResponse, error)
- func (UnimplementedEosServer) Ping(context.Context, *PingRequest) (*PingReply, error)
- type UnsafeEosServer
Constants ¶
This section is empty.
Variables ¶
var ( TYPE_name = map[int32]string{ 0: "FILE", 1: "CONTAINER", 2: "LISTING", 3: "STAT", } TYPE_value = map[string]int32{ "FILE": 0, "CONTAINER": 1, "LISTING": 2, "STAT": 3, } )
Enum value maps for TYPE.
var ( QUOTATYPE_name = map[int32]string{ 0: "USER", 2: "GROUP", 3: "PROJECT", } QUOTATYPE_value = map[string]int32{ "USER": 0, "GROUP": 2, "PROJECT": 3, } )
Enum value maps for QUOTATYPE.
var ( QUOTAOP_name = map[int32]string{ 0: "GET", 1: "SET", 2: "RM", 3: "RMNODE", } QUOTAOP_value = map[string]int32{ "GET": 0, "SET": 1, "RM": 2, "RMNODE": 3, } )
Enum value maps for QUOTAOP.
var ( QUOTAENTRY_name = map[int32]string{ 0: "NONE", 1: "VOLUME", 2: "INODE", } QUOTAENTRY_value = map[string]int32{ "NONE": 0, "VOLUME": 1, "INODE": 2, } )
Enum value maps for QUOTAENTRY.
var ( MANILA_REQUEST_TYPE_name = map[int32]string{ 0: "CREATE_SHARE", 1: "DELETE_SHARE", 2: "EXTEND_SHARE", 3: "SHRINK_SHARE", 4: "MANAGE_EXISTING", 5: "UNMANAGE", 6: "GET_CAPACITIES", } MANILA_REQUEST_TYPE_value = map[string]int32{ "CREATE_SHARE": 0, "DELETE_SHARE": 1, "EXTEND_SHARE": 2, "SHRINK_SHARE": 3, "MANAGE_EXISTING": 4, "UNMANAGE": 5, "GET_CAPACITIES": 6, } )
Enum value maps for MANILA_REQUEST_TYPE.
var ( NSRequest_VersionRequest_VERSION_CMD_name = map[int32]string{ 0: "CREATE", 1: "PURGE", 2: "LIST", 3: "GRAB", } NSRequest_VersionRequest_VERSION_CMD_value = map[string]int32{ "CREATE": 0, "PURGE": 1, "LIST": 2, "GRAB": 3, } )
Enum value maps for NSRequest_VersionRequest_VERSION_CMD.
var ( NSRequest_RecycleRequest_RECYCLE_CMD_name = map[int32]string{ 0: "RESTORE", 1: "PURGE", 2: "LIST", } NSRequest_RecycleRequest_RECYCLE_CMD_value = map[string]int32{ "RESTORE": 0, "PURGE": 1, "LIST": 2, } )
Enum value maps for NSRequest_RecycleRequest_RECYCLE_CMD.
var ( NSRequest_AclRequest_ACL_COMMAND_name = map[int32]string{ 0: "NONE", 1: "MODIFY", 2: "LIST", } NSRequest_AclRequest_ACL_COMMAND_value = map[string]int32{ "NONE": 0, "MODIFY": 1, "LIST": 2, } )
Enum value maps for NSRequest_AclRequest_ACL_COMMAND.
var ( NSRequest_AclRequest_ACL_TYPE_name = map[int32]string{ 0: "USER_ACL", 1: "SYS_ACL", } NSRequest_AclRequest_ACL_TYPE_value = map[string]int32{ "USER_ACL": 0, "SYS_ACL": 1, } )
Enum value maps for NSRequest_AclRequest_ACL_TYPE.
var (0: "NONE", 1: "MONITORING", 2: "LISTING", 3: "JSON", } "NONE": 0, "MONITORING": 1, "LISTING": 2, "JSON": 3, } )
Enum value maps for NSRequest_ShareRequest_LsShare_OutFormat.
var (0: "CREATE", 1: "REMOVE", 2: "SHARE", 3: "UNSHARE", 4: "ACCESS", 5: "MODIFY", } "CREATE": 0, "REMOVE": 1, "SHARE": 2, "UNSHARE": 3, "ACCESS": 4, "MODIFY": 5, } )
Enum value maps for NSRequest_ShareRequest_OperateShare_Op.
var ( NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE_name = map[int32]string{ 0: "FILE", 1: "TREE", } NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE_value = map[string]int32{ "FILE": 0, "TREE": 1, } )
Enum value maps for NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE.
var Eos_ServiceDesc = grpc.ServiceDesc{ ServiceName: "eos.rpc.Eos", HandlerType: (*EosServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Ping", Handler: _Eos_Ping_Handler, }, { MethodName: "NsStat", Handler: _Eos_NsStat_Handler, }, { MethodName: "ContainerInsert", Handler: _Eos_ContainerInsert_Handler, }, { MethodName: "FileInsert", Handler: _Eos_FileInsert_Handler, }, { MethodName: "Exec", Handler: _Eos_Exec_Handler, }, { MethodName: "ManilaServerRequest", Handler: _Eos_ManilaServerRequest_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "MD", Handler: _Eos_MD_Handler, ServerStreams: true, }, { StreamName: "Find", Handler: _Eos_Find_Handler, ServerStreams: true, }, }, Metadata: "Rpc.proto", }
Eos_ServiceDesc is the grpc.ServiceDesc for Eos service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_Rpc_proto protoreflect.FileDescriptor
Functions ¶
func RegisterEosServer ¶
func RegisterEosServer(s grpc.ServiceRegistrar, srv EosServer)
Types ¶
type Checksum ¶
type Checksum struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // contains filtered or unexported fields }
func (*Checksum) Descriptor
deprecated
func (*Checksum) ProtoMessage ¶
func (*Checksum) ProtoMessage()
func (*Checksum) ProtoReflect ¶ added in v2.13.0
func (x *Checksum) ProtoReflect() protoreflect.Message
type ContainerInsertRequest ¶
type ContainerInsertRequest struct { Container []*ContainerMdProto `protobuf:"bytes,1,rep,name=container,proto3" json:"container,omitempty"` Authkey string `protobuf:"bytes,2,opt,name=authkey,proto3" json:"authkey,omitempty"` InheritMd bool `protobuf:"varint,3,opt,name=inherit_md,json=inheritMd,proto3" json:"inherit_md,omitempty"` // contains filtered or unexported fields }
func (*ContainerInsertRequest) Descriptor
deprecated
func (*ContainerInsertRequest) Descriptor() ([]byte, []int)
Deprecated: Use ContainerInsertRequest.ProtoReflect.Descriptor instead.
func (*ContainerInsertRequest) GetAuthkey ¶
func (x *ContainerInsertRequest) GetAuthkey() string
func (*ContainerInsertRequest) GetContainer ¶
func (x *ContainerInsertRequest) GetContainer() []*ContainerMdProto
func (*ContainerInsertRequest) GetInheritMd ¶
func (x *ContainerInsertRequest) GetInheritMd() bool
func (*ContainerInsertRequest) ProtoMessage ¶
func (*ContainerInsertRequest) ProtoMessage()
func (*ContainerInsertRequest) ProtoReflect ¶ added in v2.13.0
func (x *ContainerInsertRequest) ProtoReflect() protoreflect.Message
func (*ContainerInsertRequest) Reset ¶
func (x *ContainerInsertRequest) Reset()
func (*ContainerInsertRequest) String ¶
func (x *ContainerInsertRequest) String() string
type ContainerMdProto ¶
type ContainerMdProto struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ParentId uint64 `protobuf:"varint,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"` Uid uint64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` Gid uint64 `protobuf:"varint,4,opt,name=gid,proto3" json:"gid,omitempty"` TreeSize int64 `protobuf:"varint,6,opt,name=tree_size,json=treeSize,proto3" json:"tree_size,omitempty"` Mode uint32 `protobuf:"varint,5,opt,name=mode,proto3" json:"mode,omitempty"` Flags uint32 `protobuf:"varint,7,opt,name=flags,proto3" json:"flags,omitempty"` Name []byte `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` Ctime *Time `protobuf:"bytes,9,opt,name=ctime,proto3" json:"ctime,omitempty"` // change time Mtime *Time `protobuf:"bytes,10,opt,name=mtime,proto3" json:"mtime,omitempty"` // modification time Stime *Time `protobuf:"bytes,11,opt,name=stime,proto3" json:"stime,omitempty"` // sync time Xattrs map[string][]byte `` /* 154-byte string literal not displayed */ Path []byte `protobuf:"bytes,13,opt,name=path,proto3" json:"path,omitempty"` Etag string `protobuf:"bytes,14,opt,name=etag,proto3" json:"etag,omitempty"` Inode uint64 `protobuf:"varint,15,opt,name=inode,proto3" json:"inode,omitempty"` // contains filtered or unexported fields }
func (*ContainerMdProto) Descriptor
deprecated
func (*ContainerMdProto) Descriptor() ([]byte, []int)
Deprecated: Use ContainerMdProto.ProtoReflect.Descriptor instead.
func (*ContainerMdProto) GetCtime ¶
func (x *ContainerMdProto) GetCtime() *Time
func (*ContainerMdProto) GetEtag ¶
func (x *ContainerMdProto) GetEtag() string
func (*ContainerMdProto) GetFlags ¶
func (x *ContainerMdProto) GetFlags() uint32
func (*ContainerMdProto) GetGid ¶
func (x *ContainerMdProto) GetGid() uint64
func (*ContainerMdProto) GetId ¶
func (x *ContainerMdProto) GetId() uint64
func (*ContainerMdProto) GetInode ¶ added in v2.13.0
func (x *ContainerMdProto) GetInode() uint64
func (*ContainerMdProto) GetMode ¶
func (x *ContainerMdProto) GetMode() uint32
func (*ContainerMdProto) GetMtime ¶
func (x *ContainerMdProto) GetMtime() *Time
func (*ContainerMdProto) GetName ¶
func (x *ContainerMdProto) GetName() []byte
func (*ContainerMdProto) GetParentId ¶
func (x *ContainerMdProto) GetParentId() uint64
func (*ContainerMdProto) GetPath ¶
func (x *ContainerMdProto) GetPath() []byte
func (*ContainerMdProto) GetStime ¶
func (x *ContainerMdProto) GetStime() *Time
func (*ContainerMdProto) GetTreeSize ¶
func (x *ContainerMdProto) GetTreeSize() int64
func (*ContainerMdProto) GetUid ¶
func (x *ContainerMdProto) GetUid() uint64
func (*ContainerMdProto) GetXattrs ¶
func (x *ContainerMdProto) GetXattrs() map[string][]byte
func (*ContainerMdProto) ProtoMessage ¶
func (*ContainerMdProto) ProtoMessage()
func (*ContainerMdProto) ProtoReflect ¶ added in v2.13.0
func (x *ContainerMdProto) ProtoReflect() protoreflect.Message
func (*ContainerMdProto) Reset ¶
func (x *ContainerMdProto) Reset()
func (*ContainerMdProto) String ¶
func (x *ContainerMdProto) String() string
type EosClient ¶
type EosClient interface { // Replies to a ping Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingReply, error) // Replies to MD requests with a stream MD(ctx context.Context, in *MDRequest, opts ...grpc.CallOption) (Eos_MDClient, error) // Replies to Find requests with a stream Find(ctx context.Context, in *FindRequest, opts ...grpc.CallOption) (Eos_FindClient, error) // Replies to a NsStat operation NsStat(ctx context.Context, in *NsStatRequest, opts ...grpc.CallOption) (*NsStatResponse, error) // Replies to an insert ContainerInsert(ctx context.Context, in *ContainerInsertRequest, opts ...grpc.CallOption) (*InsertReply, error) FileInsert(ctx context.Context, in *FileInsertRequest, opts ...grpc.CallOption) (*InsertReply, error) // Replies to a NsRequest operation Exec(ctx context.Context, in *NSRequest, opts ...grpc.CallOption) (*NSResponse, error) // Manila Driver ManilaServerRequest(ctx context.Context, in *ManilaRequest, opts ...grpc.CallOption) (*ManilaResponse, error) }
EosClient is the client API for Eos 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 NewEosClient ¶
func NewEosClient(cc grpc.ClientConnInterface) EosClient
type EosServer ¶
type EosServer interface { // Replies to a ping Ping(context.Context, *PingRequest) (*PingReply, error) // Replies to MD requests with a stream MD(*MDRequest, Eos_MDServer) error // Replies to Find requests with a stream Find(*FindRequest, Eos_FindServer) error // Replies to a NsStat operation NsStat(context.Context, *NsStatRequest) (*NsStatResponse, error) // Replies to an insert ContainerInsert(context.Context, *ContainerInsertRequest) (*InsertReply, error) FileInsert(context.Context, *FileInsertRequest) (*InsertReply, error) // Replies to a NsRequest operation Exec(context.Context, *NSRequest) (*NSResponse, error) // Manila Driver ManilaServerRequest(context.Context, *ManilaRequest) (*ManilaResponse, error) // contains filtered or unexported methods }
EosServer is the server API for Eos service. All implementations must embed UnimplementedEosServer for forward compatibility
type Eos_FindClient ¶
type Eos_FindClient interface { Recv() (*MDResponse, error) grpc.ClientStream }
type Eos_FindServer ¶
type Eos_FindServer interface { Send(*MDResponse) error grpc.ServerStream }
type Eos_MDClient ¶
type Eos_MDClient interface { Recv() (*MDResponse, error) grpc.ClientStream }
type Eos_MDServer ¶
type Eos_MDServer interface { Send(*MDResponse) error grpc.ServerStream }
type FileInsertRequest ¶
type FileInsertRequest struct { Files []*FileMdProto `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` Authkey string `protobuf:"bytes,2,opt,name=authkey,proto3" json:"authkey,omitempty"` // contains filtered or unexported fields }
func (*FileInsertRequest) Descriptor
deprecated
func (*FileInsertRequest) Descriptor() ([]byte, []int)
Deprecated: Use FileInsertRequest.ProtoReflect.Descriptor instead.
func (*FileInsertRequest) GetAuthkey ¶
func (x *FileInsertRequest) GetAuthkey() string
func (*FileInsertRequest) GetFiles ¶
func (x *FileInsertRequest) GetFiles() []*FileMdProto
func (*FileInsertRequest) ProtoMessage ¶
func (*FileInsertRequest) ProtoMessage()
func (*FileInsertRequest) ProtoReflect ¶ added in v2.13.0
func (x *FileInsertRequest) ProtoReflect() protoreflect.Message
func (*FileInsertRequest) Reset ¶
func (x *FileInsertRequest) Reset()
func (*FileInsertRequest) String ¶
func (x *FileInsertRequest) String() string
type FileMdProto ¶
type FileMdProto struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ContId uint64 `protobuf:"varint,2,opt,name=cont_id,json=contId,proto3" json:"cont_id,omitempty"` Uid uint64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid,omitempty"` Gid uint64 `protobuf:"varint,4,opt,name=gid,proto3" json:"gid,omitempty"` Size uint64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"` LayoutId uint32 `protobuf:"varint,6,opt,name=layout_id,json=layoutId,proto3" json:"layout_id,omitempty"` Flags uint32 `protobuf:"varint,7,opt,name=flags,proto3" json:"flags,omitempty"` Name []byte `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` LinkName []byte `protobuf:"bytes,9,opt,name=link_name,json=linkName,proto3" json:"link_name,omitempty"` Ctime *Time `protobuf:"bytes,10,opt,name=ctime,proto3" json:"ctime,omitempty"` // change time Mtime *Time `protobuf:"bytes,11,opt,name=mtime,proto3" json:"mtime,omitempty"` // modification time Checksum *Checksum `protobuf:"bytes,12,opt,name=checksum,proto3" json:"checksum,omitempty"` Locations []uint32 `protobuf:"varint,13,rep,packed,name=locations,proto3" json:"locations,omitempty"` UnlinkLocations []uint32 `protobuf:"varint,14,rep,packed,name=unlink_locations,json=unlinkLocations,proto3" json:"unlink_locations,omitempty"` Xattrs map[string][]byte `` /* 154-byte string literal not displayed */ Path []byte `protobuf:"bytes,16,opt,name=path,proto3" json:"path,omitempty"` Etag string `protobuf:"bytes,17,opt,name=etag,proto3" json:"etag,omitempty"` Inode uint64 `protobuf:"varint,18,opt,name=inode,proto3" json:"inode,omitempty"` // contains filtered or unexported fields }
func (*FileMdProto) Descriptor
deprecated
func (*FileMdProto) Descriptor() ([]byte, []int)
Deprecated: Use FileMdProto.ProtoReflect.Descriptor instead.
func (*FileMdProto) GetChecksum ¶
func (x *FileMdProto) GetChecksum() *Checksum
func (*FileMdProto) GetContId ¶
func (x *FileMdProto) GetContId() uint64
func (*FileMdProto) GetCtime ¶
func (x *FileMdProto) GetCtime() *Time
func (*FileMdProto) GetEtag ¶
func (x *FileMdProto) GetEtag() string
func (*FileMdProto) GetFlags ¶
func (x *FileMdProto) GetFlags() uint32
func (*FileMdProto) GetGid ¶
func (x *FileMdProto) GetGid() uint64
func (*FileMdProto) GetId ¶
func (x *FileMdProto) GetId() uint64
func (*FileMdProto) GetInode ¶ added in v2.13.0
func (x *FileMdProto) GetInode() uint64
func (*FileMdProto) GetLayoutId ¶
func (x *FileMdProto) GetLayoutId() uint32
func (*FileMdProto) GetLinkName ¶
func (x *FileMdProto) GetLinkName() []byte
func (*FileMdProto) GetLocations ¶
func (x *FileMdProto) GetLocations() []uint32
func (*FileMdProto) GetMtime ¶
func (x *FileMdProto) GetMtime() *Time
func (*FileMdProto) GetName ¶
func (x *FileMdProto) GetName() []byte
func (*FileMdProto) GetPath ¶
func (x *FileMdProto) GetPath() []byte
func (*FileMdProto) GetSize ¶
func (x *FileMdProto) GetSize() uint64
func (*FileMdProto) GetUid ¶
func (x *FileMdProto) GetUid() uint64
func (*FileMdProto) GetUnlinkLocations ¶
func (x *FileMdProto) GetUnlinkLocations() []uint32
func (*FileMdProto) GetXattrs ¶
func (x *FileMdProto) GetXattrs() map[string][]byte
func (*FileMdProto) ProtoMessage ¶
func (*FileMdProto) ProtoMessage()
func (*FileMdProto) ProtoReflect ¶ added in v2.13.0
func (x *FileMdProto) ProtoReflect() protoreflect.Message
func (*FileMdProto) Reset ¶
func (x *FileMdProto) Reset()
func (*FileMdProto) String ¶
func (x *FileMdProto) String() string
type FindRequest ¶
type FindRequest struct { Type TYPE `protobuf:"varint,1,opt,name=type,proto3,enum=eos.rpc.TYPE" json:"type,omitempty"` Id *MDId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Role *RoleId `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` Authkey string `protobuf:"bytes,4,opt,name=authkey,proto3" json:"authkey,omitempty"` Maxdepth uint64 `protobuf:"varint,5,opt,name=maxdepth,proto3" json:"maxdepth,omitempty"` Selection *MDSelection `protobuf:"bytes,6,opt,name=selection,proto3" json:"selection,omitempty"` // contains filtered or unexported fields }
func (*FindRequest) Descriptor
deprecated
func (*FindRequest) Descriptor() ([]byte, []int)
Deprecated: Use FindRequest.ProtoReflect.Descriptor instead.
func (*FindRequest) GetAuthkey ¶
func (x *FindRequest) GetAuthkey() string
func (*FindRequest) GetId ¶
func (x *FindRequest) GetId() *MDId
func (*FindRequest) GetMaxdepth ¶
func (x *FindRequest) GetMaxdepth() uint64
func (*FindRequest) GetRole ¶
func (x *FindRequest) GetRole() *RoleId
func (*FindRequest) GetSelection ¶
func (x *FindRequest) GetSelection() *MDSelection
func (*FindRequest) GetType ¶
func (x *FindRequest) GetType() TYPE
func (*FindRequest) ProtoMessage ¶
func (*FindRequest) ProtoMessage()
func (*FindRequest) ProtoReflect ¶ added in v2.13.0
func (x *FindRequest) ProtoReflect() protoreflect.Message
func (*FindRequest) Reset ¶
func (x *FindRequest) Reset()
func (*FindRequest) String ¶
func (x *FindRequest) String() string
type InsertReply ¶
type InsertReply struct { Message []string `protobuf:"bytes,1,rep,name=message,proto3" json:"message,omitempty"` Retc []uint32 `protobuf:"varint,2,rep,packed,name=retc,proto3" json:"retc,omitempty"` // contains filtered or unexported fields }
func (*InsertReply) Descriptor
deprecated
func (*InsertReply) Descriptor() ([]byte, []int)
Deprecated: Use InsertReply.ProtoReflect.Descriptor instead.
func (*InsertReply) GetMessage ¶
func (x *InsertReply) GetMessage() []string
func (*InsertReply) GetRetc ¶
func (x *InsertReply) GetRetc() []uint32
func (*InsertReply) ProtoMessage ¶
func (*InsertReply) ProtoMessage()
func (*InsertReply) ProtoReflect ¶ added in v2.13.0
func (x *InsertReply) ProtoReflect() protoreflect.Message
func (*InsertReply) Reset ¶
func (x *InsertReply) Reset()
func (*InsertReply) String ¶
func (x *InsertReply) String() string
type Limit ¶
type Limit struct { Zero bool `protobuf:"varint,1,opt,name=zero,proto3" json:"zero,omitempty"` Min uint64 `protobuf:"varint,2,opt,name=min,proto3" json:"min,omitempty"` Max uint64 `protobuf:"varint,3,opt,name=max,proto3" json:"max,omitempty"` // contains filtered or unexported fields }
func (*Limit) Descriptor
deprecated
func (*Limit) ProtoMessage ¶
func (*Limit) ProtoMessage()
func (*Limit) ProtoReflect ¶ added in v2.13.0
func (x *Limit) ProtoReflect() protoreflect.Message
type MANILA_REQUEST_TYPE ¶
type MANILA_REQUEST_TYPE int32
const ( MANILA_REQUEST_TYPE_CREATE_SHARE MANILA_REQUEST_TYPE = 0 MANILA_REQUEST_TYPE_DELETE_SHARE MANILA_REQUEST_TYPE = 1 MANILA_REQUEST_TYPE_EXTEND_SHARE MANILA_REQUEST_TYPE = 2 MANILA_REQUEST_TYPE_SHRINK_SHARE MANILA_REQUEST_TYPE = 3 MANILA_REQUEST_TYPE_MANAGE_EXISTING MANILA_REQUEST_TYPE = 4 MANILA_REQUEST_TYPE_UNMANAGE MANILA_REQUEST_TYPE = 5 MANILA_REQUEST_TYPE_GET_CAPACITIES MANILA_REQUEST_TYPE = 6 // EXTRA FUNCTIONS NOT IMPLEMENTED )
func (MANILA_REQUEST_TYPE) Descriptor ¶ added in v2.13.0
func (MANILA_REQUEST_TYPE) Descriptor() protoreflect.EnumDescriptor
func (MANILA_REQUEST_TYPE) Enum ¶ added in v2.13.0
func (x MANILA_REQUEST_TYPE) Enum() *MANILA_REQUEST_TYPE
func (MANILA_REQUEST_TYPE) EnumDescriptor
deprecated
func (MANILA_REQUEST_TYPE) EnumDescriptor() ([]byte, []int)
Deprecated: Use MANILA_REQUEST_TYPE.Descriptor instead.
func (MANILA_REQUEST_TYPE) Number ¶ added in v2.13.0
func (x MANILA_REQUEST_TYPE) Number() protoreflect.EnumNumber
func (MANILA_REQUEST_TYPE) String ¶
func (x MANILA_REQUEST_TYPE) String() string
func (MANILA_REQUEST_TYPE) Type ¶ added in v2.13.0
func (MANILA_REQUEST_TYPE) Type() protoreflect.EnumType
type MDId ¶
type MDId struct { Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Id uint64 `protobuf:"fixed64,2,opt,name=id,proto3" json:"id,omitempty"` Ino uint64 `protobuf:"fixed64,3,opt,name=ino,proto3" json:"ino,omitempty"` Type TYPE `protobuf:"varint,4,opt,name=type,proto3,enum=eos.rpc.TYPE" json:"type,omitempty"` // contains filtered or unexported fields }
func (*MDId) Descriptor
deprecated
func (*MDId) ProtoMessage ¶
func (*MDId) ProtoMessage()
func (*MDId) ProtoReflect ¶ added in v2.13.0
func (x *MDId) ProtoReflect() protoreflect.Message
type MDRequest ¶
type MDRequest struct { Type TYPE `protobuf:"varint,1,opt,name=type,proto3,enum=eos.rpc.TYPE" json:"type,omitempty"` Id *MDId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Authkey string `protobuf:"bytes,3,opt,name=authkey,proto3" json:"authkey,omitempty"` Role *RoleId `protobuf:"bytes,4,opt,name=role,proto3" json:"role,omitempty"` Selection *MDSelection `protobuf:"bytes,5,opt,name=selection,proto3" json:"selection,omitempty"` // contains filtered or unexported fields }
func (*MDRequest) Descriptor
deprecated
func (*MDRequest) GetAuthkey ¶
func (*MDRequest) GetSelection ¶
func (x *MDRequest) GetSelection() *MDSelection
func (*MDRequest) ProtoMessage ¶
func (*MDRequest) ProtoMessage()
func (*MDRequest) ProtoReflect ¶ added in v2.13.0
func (x *MDRequest) ProtoReflect() protoreflect.Message
type MDResponse ¶
type MDResponse struct { Type TYPE `protobuf:"varint,1,opt,name=type,proto3,enum=eos.rpc.TYPE" json:"type,omitempty"` Fmd *FileMdProto `protobuf:"bytes,2,opt,name=fmd,proto3" json:"fmd,omitempty"` Cmd *ContainerMdProto `protobuf:"bytes,3,opt,name=cmd,proto3" json:"cmd,omitempty"` // contains filtered or unexported fields }
func (*MDResponse) Descriptor
deprecated
func (*MDResponse) Descriptor() ([]byte, []int)
Deprecated: Use MDResponse.ProtoReflect.Descriptor instead.
func (*MDResponse) GetCmd ¶
func (x *MDResponse) GetCmd() *ContainerMdProto
func (*MDResponse) GetFmd ¶
func (x *MDResponse) GetFmd() *FileMdProto
func (*MDResponse) GetType ¶
func (x *MDResponse) GetType() TYPE
func (*MDResponse) ProtoMessage ¶
func (*MDResponse) ProtoMessage()
func (*MDResponse) ProtoReflect ¶ added in v2.13.0
func (x *MDResponse) ProtoReflect() protoreflect.Message
func (*MDResponse) Reset ¶
func (x *MDResponse) Reset()
func (*MDResponse) String ¶
func (x *MDResponse) String() string
type MDSelection ¶
type MDSelection struct { Select bool `protobuf:"varint,1,opt,name=select,proto3" json:"select,omitempty"` Ctime *Limit `protobuf:"bytes,2,opt,name=ctime,proto3" json:"ctime,omitempty"` Mtime *Limit `protobuf:"bytes,3,opt,name=mtime,proto3" json:"mtime,omitempty"` Stime *Limit `protobuf:"bytes,4,opt,name=stime,proto3" json:"stime,omitempty"` Size *Limit `protobuf:"bytes,5,opt,name=size,proto3" json:"size,omitempty"` Treesize *Limit `protobuf:"bytes,6,opt,name=treesize,proto3" json:"treesize,omitempty"` Children *Limit `protobuf:"bytes,7,opt,name=children,proto3" json:"children,omitempty"` Locations *Limit `protobuf:"bytes,8,opt,name=locations,proto3" json:"locations,omitempty"` UnlinkedLocations *Limit `protobuf:"bytes,9,opt,name=unlinked_locations,json=unlinkedLocations,proto3" json:"unlinked_locations,omitempty"` Layoutid uint64 `protobuf:"varint,10,opt,name=layoutid,proto3" json:"layoutid,omitempty"` Flags uint64 `protobuf:"varint,11,opt,name=flags,proto3" json:"flags,omitempty"` Symlink bool `protobuf:"varint,12,opt,name=symlink,proto3" json:"symlink,omitempty"` Checksum *Checksum `protobuf:"bytes,13,opt,name=checksum,proto3" json:"checksum,omitempty"` Owner uint32 `protobuf:"varint,14,opt,name=owner,proto3" json:"owner,omitempty"` Group uint32 `protobuf:"varint,15,opt,name=group,proto3" json:"group,omitempty"` OwnerRoot bool `protobuf:"varint,16,opt,name=owner_root,json=ownerRoot,proto3" json:"owner_root,omitempty"` GroupRoot bool `protobuf:"varint,17,opt,name=group_root,json=groupRoot,proto3" json:"group_root,omitempty"` RegexpFilename []byte `protobuf:"bytes,18,opt,name=regexp_filename,json=regexpFilename,proto3" json:"regexp_filename,omitempty"` RegexpDirname []byte `protobuf:"bytes,19,opt,name=regexp_dirname,json=regexpDirname,proto3" json:"regexp_dirname,omitempty"` Xattr map[string][]byte `` /* 152-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MDSelection) Descriptor
deprecated
func (*MDSelection) Descriptor() ([]byte, []int)
Deprecated: Use MDSelection.ProtoReflect.Descriptor instead.
func (*MDSelection) GetChecksum ¶
func (x *MDSelection) GetChecksum() *Checksum
func (*MDSelection) GetChildren ¶
func (x *MDSelection) GetChildren() *Limit
func (*MDSelection) GetCtime ¶
func (x *MDSelection) GetCtime() *Limit
func (*MDSelection) GetFlags ¶
func (x *MDSelection) GetFlags() uint64
func (*MDSelection) GetGroup ¶
func (x *MDSelection) GetGroup() uint32
func (*MDSelection) GetGroupRoot ¶
func (x *MDSelection) GetGroupRoot() bool
func (*MDSelection) GetLayoutid ¶
func (x *MDSelection) GetLayoutid() uint64
func (*MDSelection) GetLocations ¶
func (x *MDSelection) GetLocations() *Limit
func (*MDSelection) GetMtime ¶
func (x *MDSelection) GetMtime() *Limit
func (*MDSelection) GetOwner ¶
func (x *MDSelection) GetOwner() uint32
func (*MDSelection) GetOwnerRoot ¶
func (x *MDSelection) GetOwnerRoot() bool
func (*MDSelection) GetRegexpDirname ¶
func (x *MDSelection) GetRegexpDirname() []byte
func (*MDSelection) GetRegexpFilename ¶
func (x *MDSelection) GetRegexpFilename() []byte
func (*MDSelection) GetSelect ¶
func (x *MDSelection) GetSelect() bool
func (*MDSelection) GetSize ¶
func (x *MDSelection) GetSize() *Limit
func (*MDSelection) GetStime ¶
func (x *MDSelection) GetStime() *Limit
func (*MDSelection) GetSymlink ¶
func (x *MDSelection) GetSymlink() bool
func (*MDSelection) GetTreesize ¶
func (x *MDSelection) GetTreesize() *Limit
func (*MDSelection) GetUnlinkedLocations ¶
func (x *MDSelection) GetUnlinkedLocations() *Limit
func (*MDSelection) GetXattr ¶
func (x *MDSelection) GetXattr() map[string][]byte
func (*MDSelection) ProtoMessage ¶
func (*MDSelection) ProtoMessage()
func (*MDSelection) ProtoReflect ¶ added in v2.13.0
func (x *MDSelection) ProtoReflect() protoreflect.Message
func (*MDSelection) Reset ¶
func (x *MDSelection) Reset()
func (*MDSelection) String ¶
func (x *MDSelection) String() string
type ManilaRequest ¶
type ManilaRequest struct { RequestType MANILA_REQUEST_TYPE `` /* 128-byte string literal not displayed */ AuthKey string `protobuf:"bytes,2,opt,name=auth_key,json=authKey,proto3" json:"auth_key,omitempty"` Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` Quota int32 `protobuf:"varint,8,opt,name=quota,proto3" json:"quota,omitempty"` Creator string `protobuf:"bytes,9,opt,name=creator,proto3" json:"creator,omitempty"` Egroup string `protobuf:"bytes,10,opt,name=egroup,proto3" json:"egroup,omitempty"` AdminEgroup string `protobuf:"bytes,11,opt,name=admin_egroup,json=adminEgroup,proto3" json:"admin_egroup,omitempty"` // contains filtered or unexported fields }
func (*ManilaRequest) Descriptor
deprecated
func (*ManilaRequest) Descriptor() ([]byte, []int)
Deprecated: Use ManilaRequest.ProtoReflect.Descriptor instead.
func (*ManilaRequest) GetAdminEgroup ¶
func (x *ManilaRequest) GetAdminEgroup() string
func (*ManilaRequest) GetAuthKey ¶
func (x *ManilaRequest) GetAuthKey() string
func (*ManilaRequest) GetCreator ¶
func (x *ManilaRequest) GetCreator() string
func (*ManilaRequest) GetDescription ¶
func (x *ManilaRequest) GetDescription() string
func (*ManilaRequest) GetEgroup ¶
func (x *ManilaRequest) GetEgroup() string
func (*ManilaRequest) GetProtocol ¶
func (x *ManilaRequest) GetProtocol() string
func (*ManilaRequest) GetQuota ¶
func (x *ManilaRequest) GetQuota() int32
func (*ManilaRequest) GetRequestType ¶
func (x *ManilaRequest) GetRequestType() MANILA_REQUEST_TYPE
func (*ManilaRequest) GetShareGroupId ¶
func (x *ManilaRequest) GetShareGroupId() string
func (*ManilaRequest) GetShareHost ¶
func (x *ManilaRequest) GetShareHost() string
func (*ManilaRequest) GetShareId ¶
func (x *ManilaRequest) GetShareId() string
func (*ManilaRequest) GetShareLocation ¶
func (x *ManilaRequest) GetShareLocation() string
func (*ManilaRequest) GetShareName ¶
func (x *ManilaRequest) GetShareName() string
func (*ManilaRequest) ProtoMessage ¶
func (*ManilaRequest) ProtoMessage()
func (*ManilaRequest) ProtoReflect ¶ added in v2.13.0
func (x *ManilaRequest) ProtoReflect() protoreflect.Message
func (*ManilaRequest) Reset ¶
func (x *ManilaRequest) Reset()
func (*ManilaRequest) String ¶
func (x *ManilaRequest) String() string
type ManilaResponse ¶
type ManilaResponse struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // for generic messages Code int32 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` // < 1 is an error -- > 1 is OK TotalUsed int64 `protobuf:"varint,3,opt,name=total_used,json=totalUsed,proto3" json:"total_used,omitempty"` TotalCapacity int64 `protobuf:"varint,4,opt,name=total_capacity,json=totalCapacity,proto3" json:"total_capacity,omitempty"` // contains filtered or unexported fields }
func (*ManilaResponse) Descriptor
deprecated
func (*ManilaResponse) Descriptor() ([]byte, []int)
Deprecated: Use ManilaResponse.ProtoReflect.Descriptor instead.
func (*ManilaResponse) GetCode ¶
func (x *ManilaResponse) GetCode() int32
func (*ManilaResponse) GetMsg ¶
func (x *ManilaResponse) GetMsg() string
func (*ManilaResponse) GetNewSharePath ¶
func (x *ManilaResponse) GetNewSharePath() string
func (*ManilaResponse) GetNewShareQuota ¶
func (x *ManilaResponse) GetNewShareQuota() int64
func (*ManilaResponse) GetTotalCapacity ¶
func (x *ManilaResponse) GetTotalCapacity() int64
func (*ManilaResponse) GetTotalUsed ¶
func (x *ManilaResponse) GetTotalUsed() int64
func (*ManilaResponse) ProtoMessage ¶
func (*ManilaResponse) ProtoMessage()
func (*ManilaResponse) ProtoReflect ¶ added in v2.13.0
func (x *ManilaResponse) ProtoReflect() protoreflect.Message
func (*ManilaResponse) Reset ¶
func (x *ManilaResponse) Reset()
func (*ManilaResponse) String ¶
func (x *ManilaResponse) String() string
type NSRequest ¶
type NSRequest struct { Authkey string `protobuf:"bytes,1,opt,name=authkey,proto3" json:"authkey,omitempty"` Role *RoleId `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"` // Actual request data object // // Types that are assignable to Command: // // *NSRequest_Mkdir // *NSRequest_Rmdir // *NSRequest_Touch // *NSRequest_Unlink // *NSRequest_Rm // *NSRequest_Rename // *NSRequest_Symlink // *NSRequest_Version // *NSRequest_Recycle // *NSRequest_Xattr // *NSRequest_Chown // *NSRequest_Chmod // *NSRequest_Acl // *NSRequest_Token // *NSRequest_Quota // *NSRequest_Share Command isNSRequest_Command `protobuf_oneof:"command"` // contains filtered or unexported fields }
func (*NSRequest) Descriptor
deprecated
func (*NSRequest) GetAcl ¶
func (x *NSRequest) GetAcl() *NSRequest_AclRequest
func (*NSRequest) GetAuthkey ¶
func (*NSRequest) GetChmod ¶
func (x *NSRequest) GetChmod() *NSRequest_ChmodRequest
func (*NSRequest) GetChown ¶
func (x *NSRequest) GetChown() *NSRequest_ChownRequest
func (*NSRequest) GetCommand ¶
func (m *NSRequest) GetCommand() isNSRequest_Command
func (*NSRequest) GetMkdir ¶
func (x *NSRequest) GetMkdir() *NSRequest_MkdirRequest
func (*NSRequest) GetQuota ¶
func (x *NSRequest) GetQuota() *NSRequest_QuotaRequest
func (*NSRequest) GetRecycle ¶
func (x *NSRequest) GetRecycle() *NSRequest_RecycleRequest
func (*NSRequest) GetRename ¶
func (x *NSRequest) GetRename() *NSRequest_RenameRequest
func (*NSRequest) GetRm ¶
func (x *NSRequest) GetRm() *NSRequest_RmRequest
func (*NSRequest) GetRmdir ¶
func (x *NSRequest) GetRmdir() *NSRequest_RmdirRequest
func (*NSRequest) GetShare ¶ added in v2.13.0
func (x *NSRequest) GetShare() *NSRequest_ShareRequest
func (*NSRequest) GetSymlink ¶
func (x *NSRequest) GetSymlink() *NSRequest_SymlinkRequest
func (*NSRequest) GetToken ¶
func (x *NSRequest) GetToken() *NSRequest_TokenRequest
func (*NSRequest) GetTouch ¶
func (x *NSRequest) GetTouch() *NSRequest_TouchRequest
func (*NSRequest) GetUnlink ¶
func (x *NSRequest) GetUnlink() *NSRequest_UnlinkRequest
func (*NSRequest) GetVersion ¶
func (x *NSRequest) GetVersion() *NSRequest_VersionRequest
func (*NSRequest) GetXattr ¶
func (x *NSRequest) GetXattr() *NSRequest_SetXAttrRequest
func (*NSRequest) ProtoMessage ¶
func (*NSRequest) ProtoMessage()
func (*NSRequest) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest) ProtoReflect() protoreflect.Message
type NSRequest_Acl ¶
type NSRequest_Acl struct {
Acl *NSRequest_AclRequest `protobuf:"bytes,33,opt,name=acl,proto3,oneof"`
}
type NSRequest_AclRequest ¶
type NSRequest_AclRequest struct { Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Cmd NSRequest_AclRequest_ACL_COMMAND `protobuf:"varint,2,opt,name=cmd,proto3,enum=eos.rpc.NSRequest_AclRequest_ACL_COMMAND" json:"cmd,omitempty"` Recursive bool `protobuf:"varint,3,opt,name=recursive,proto3" json:"recursive,omitempty"` Type NSRequest_AclRequest_ACL_TYPE `protobuf:"varint,4,opt,name=type,proto3,enum=eos.rpc.NSRequest_AclRequest_ACL_TYPE" json:"type,omitempty"` Rule string `protobuf:"bytes,5,opt,name=rule,proto3" json:"rule,omitempty"` Position uint32 `protobuf:"varint,6,opt,name=position,proto3" json:"position,omitempty"` // contains filtered or unexported fields }
func (*NSRequest_AclRequest) Descriptor
deprecated
func (*NSRequest_AclRequest) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_AclRequest.ProtoReflect.Descriptor instead.
func (*NSRequest_AclRequest) GetCmd ¶
func (x *NSRequest_AclRequest) GetCmd() NSRequest_AclRequest_ACL_COMMAND
func (*NSRequest_AclRequest) GetId ¶
func (x *NSRequest_AclRequest) GetId() *MDId
func (*NSRequest_AclRequest) GetPosition ¶
func (x *NSRequest_AclRequest) GetPosition() uint32
func (*NSRequest_AclRequest) GetRecursive ¶
func (x *NSRequest_AclRequest) GetRecursive() bool
func (*NSRequest_AclRequest) GetRule ¶
func (x *NSRequest_AclRequest) GetRule() string
func (*NSRequest_AclRequest) GetType ¶
func (x *NSRequest_AclRequest) GetType() NSRequest_AclRequest_ACL_TYPE
func (*NSRequest_AclRequest) ProtoMessage ¶
func (*NSRequest_AclRequest) ProtoMessage()
func (*NSRequest_AclRequest) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_AclRequest) ProtoReflect() protoreflect.Message
func (*NSRequest_AclRequest) Reset ¶
func (x *NSRequest_AclRequest) Reset()
func (*NSRequest_AclRequest) String ¶
func (x *NSRequest_AclRequest) String() string
type NSRequest_AclRequest_ACL_COMMAND ¶
type NSRequest_AclRequest_ACL_COMMAND int32
const ( NSRequest_AclRequest_NONE NSRequest_AclRequest_ACL_COMMAND = 0 NSRequest_AclRequest_MODIFY NSRequest_AclRequest_ACL_COMMAND = 1 NSRequest_AclRequest_LIST NSRequest_AclRequest_ACL_COMMAND = 2 )
func (NSRequest_AclRequest_ACL_COMMAND) Descriptor ¶ added in v2.13.0
func (NSRequest_AclRequest_ACL_COMMAND) Descriptor() protoreflect.EnumDescriptor
func (NSRequest_AclRequest_ACL_COMMAND) Enum ¶ added in v2.13.0
func (x NSRequest_AclRequest_ACL_COMMAND) Enum() *NSRequest_AclRequest_ACL_COMMAND
func (NSRequest_AclRequest_ACL_COMMAND) EnumDescriptor
deprecated
func (NSRequest_AclRequest_ACL_COMMAND) EnumDescriptor() ([]byte, []int)
Deprecated: Use NSRequest_AclRequest_ACL_COMMAND.Descriptor instead.
func (NSRequest_AclRequest_ACL_COMMAND) Number ¶ added in v2.13.0
func (x NSRequest_AclRequest_ACL_COMMAND) Number() protoreflect.EnumNumber
func (NSRequest_AclRequest_ACL_COMMAND) String ¶
func (x NSRequest_AclRequest_ACL_COMMAND) String() string
func (NSRequest_AclRequest_ACL_COMMAND) Type ¶ added in v2.13.0
func (NSRequest_AclRequest_ACL_COMMAND) Type() protoreflect.EnumType
type NSRequest_AclRequest_ACL_TYPE ¶
type NSRequest_AclRequest_ACL_TYPE int32
const ( NSRequest_AclRequest_USER_ACL NSRequest_AclRequest_ACL_TYPE = 0 NSRequest_AclRequest_SYS_ACL NSRequest_AclRequest_ACL_TYPE = 1 )
func (NSRequest_AclRequest_ACL_TYPE) Descriptor ¶ added in v2.13.0
func (NSRequest_AclRequest_ACL_TYPE) Descriptor() protoreflect.EnumDescriptor
func (NSRequest_AclRequest_ACL_TYPE) Enum ¶ added in v2.13.0
func (x NSRequest_AclRequest_ACL_TYPE) Enum() *NSRequest_AclRequest_ACL_TYPE
func (NSRequest_AclRequest_ACL_TYPE) EnumDescriptor
deprecated
func (NSRequest_AclRequest_ACL_TYPE) EnumDescriptor() ([]byte, []int)
Deprecated: Use NSRequest_AclRequest_ACL_TYPE.Descriptor instead.
func (NSRequest_AclRequest_ACL_TYPE) Number ¶ added in v2.13.0
func (x NSRequest_AclRequest_ACL_TYPE) Number() protoreflect.EnumNumber
func (NSRequest_AclRequest_ACL_TYPE) String ¶
func (x NSRequest_AclRequest_ACL_TYPE) String() string
func (NSRequest_AclRequest_ACL_TYPE) Type ¶ added in v2.13.0
func (NSRequest_AclRequest_ACL_TYPE) Type() protoreflect.EnumType
type NSRequest_Chmod ¶
type NSRequest_Chmod struct {
Chmod *NSRequest_ChmodRequest `protobuf:"bytes,32,opt,name=chmod,proto3,oneof"`
}
type NSRequest_ChmodRequest ¶
type NSRequest_ChmodRequest struct { Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Mode int64 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"` // contains filtered or unexported fields }
func (*NSRequest_ChmodRequest) Descriptor
deprecated
func (*NSRequest_ChmodRequest) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_ChmodRequest.ProtoReflect.Descriptor instead.
func (*NSRequest_ChmodRequest) GetId ¶
func (x *NSRequest_ChmodRequest) GetId() *MDId
func (*NSRequest_ChmodRequest) GetMode ¶
func (x *NSRequest_ChmodRequest) GetMode() int64
func (*NSRequest_ChmodRequest) ProtoMessage ¶
func (*NSRequest_ChmodRequest) ProtoMessage()
func (*NSRequest_ChmodRequest) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_ChmodRequest) ProtoReflect() protoreflect.Message
func (*NSRequest_ChmodRequest) Reset ¶
func (x *NSRequest_ChmodRequest) Reset()
func (*NSRequest_ChmodRequest) String ¶
func (x *NSRequest_ChmodRequest) String() string
type NSRequest_Chown ¶
type NSRequest_Chown struct {
Chown *NSRequest_ChownRequest `protobuf:"bytes,31,opt,name=chown,proto3,oneof"`
}
type NSRequest_ChownRequest ¶
type NSRequest_ChownRequest struct { Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Owner *RoleId `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // contains filtered or unexported fields }
func (*NSRequest_ChownRequest) Descriptor
deprecated
func (*NSRequest_ChownRequest) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_ChownRequest.ProtoReflect.Descriptor instead.
func (*NSRequest_ChownRequest) GetId ¶
func (x *NSRequest_ChownRequest) GetId() *MDId
func (*NSRequest_ChownRequest) GetOwner ¶
func (x *NSRequest_ChownRequest) GetOwner() *RoleId
func (*NSRequest_ChownRequest) ProtoMessage ¶
func (*NSRequest_ChownRequest) ProtoMessage()
func (*NSRequest_ChownRequest) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_ChownRequest) ProtoReflect() protoreflect.Message
func (*NSRequest_ChownRequest) Reset ¶
func (x *NSRequest_ChownRequest) Reset()
func (*NSRequest_ChownRequest) String ¶
func (x *NSRequest_ChownRequest) String() string
type NSRequest_Mkdir ¶
type NSRequest_Mkdir struct {
Mkdir *NSRequest_MkdirRequest `protobuf:"bytes,21,opt,name=mkdir,proto3,oneof"`
}
type NSRequest_MkdirRequest ¶
type NSRequest_MkdirRequest struct { Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` Mode int64 `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"` // contains filtered or unexported fields }
func (*NSRequest_MkdirRequest) Descriptor
deprecated
func (*NSRequest_MkdirRequest) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_MkdirRequest.ProtoReflect.Descriptor instead.
func (*NSRequest_MkdirRequest) GetId ¶
func (x *NSRequest_MkdirRequest) GetId() *MDId
func (*NSRequest_MkdirRequest) GetMode ¶
func (x *NSRequest_MkdirRequest) GetMode() int64
func (*NSRequest_MkdirRequest) GetRecursive ¶
func (x *NSRequest_MkdirRequest) GetRecursive() bool
func (*NSRequest_MkdirRequest) ProtoMessage ¶
func (*NSRequest_MkdirRequest) ProtoMessage()
func (*NSRequest_MkdirRequest) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_MkdirRequest) ProtoReflect() protoreflect.Message
func (*NSRequest_MkdirRequest) Reset ¶
func (x *NSRequest_MkdirRequest) Reset()
func (*NSRequest_MkdirRequest) String ¶
func (x *NSRequest_MkdirRequest) String() string
type NSRequest_Quota ¶
type NSRequest_Quota struct {
Quota *NSRequest_QuotaRequest `protobuf:"bytes,35,opt,name=quota,proto3,oneof"`
}
type NSRequest_QuotaRequest ¶
type NSRequest_QuotaRequest struct { Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Id *RoleId `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Op QUOTAOP `protobuf:"varint,3,opt,name=op,proto3,enum=eos.rpc.QUOTAOP" json:"op,omitempty"` // get or set, rm or rmnode Maxfiles uint64 `protobuf:"varint,4,opt,name=maxfiles,proto3" json:"maxfiles,omitempty"` // maximum number of bytes (volume quota) for setting Maxbytes uint64 `protobuf:"varint,5,opt,name=maxbytes,proto3" json:"maxbytes,omitempty"` // maximum number of bytes (volume quota) for setting Entry QUOTAENTRY `protobuf:"varint,6,opt,name=entry,proto3,enum=eos.rpc.QUOTAENTRY" json:"entry,omitempty"` // select volume or inode entry for deletion // contains filtered or unexported fields }
func (*NSRequest_QuotaRequest) Descriptor
deprecated
func (*NSRequest_QuotaRequest) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_QuotaRequest.ProtoReflect.Descriptor instead.
func (*NSRequest_QuotaRequest) GetEntry ¶
func (x *NSRequest_QuotaRequest) GetEntry() QUOTAENTRY
func (*NSRequest_QuotaRequest) GetId ¶
func (x *NSRequest_QuotaRequest) GetId() *RoleId
func (*NSRequest_QuotaRequest) GetMaxbytes ¶
func (x *NSRequest_QuotaRequest) GetMaxbytes() uint64
func (*NSRequest_QuotaRequest) GetMaxfiles ¶
func (x *NSRequest_QuotaRequest) GetMaxfiles() uint64
func (*NSRequest_QuotaRequest) GetOp ¶
func (x *NSRequest_QuotaRequest) GetOp() QUOTAOP
func (*NSRequest_QuotaRequest) GetPath ¶
func (x *NSRequest_QuotaRequest) GetPath() []byte
func (*NSRequest_QuotaRequest) ProtoMessage ¶
func (*NSRequest_QuotaRequest) ProtoMessage()
func (*NSRequest_QuotaRequest) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_QuotaRequest) ProtoReflect() protoreflect.Message
func (*NSRequest_QuotaRequest) Reset ¶
func (x *NSRequest_QuotaRequest) Reset()
func (*NSRequest_QuotaRequest) String ¶
func (x *NSRequest_QuotaRequest) String() string
type NSRequest_Recycle ¶
type NSRequest_Recycle struct {
Recycle *NSRequest_RecycleRequest `protobuf:"bytes,29,opt,name=recycle,proto3,oneof"`
}
type NSRequest_RecycleRequest ¶
type NSRequest_RecycleRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Cmd NSRequest_RecycleRequest_RECYCLE_CMD `protobuf:"varint,2,opt,name=cmd,proto3,enum=eos.rpc.NSRequest_RecycleRequest_RECYCLE_CMD" json:"cmd,omitempty"` Restoreflag *NSRequest_RecycleRequest_RestoreFlags `protobuf:"bytes,3,opt,name=restoreflag,proto3" json:"restoreflag,omitempty"` Purgedate *NSRequest_RecycleRequest_PurgeDate `protobuf:"bytes,4,opt,name=purgedate,proto3" json:"purgedate,omitempty"` // contains filtered or unexported fields }
func (*NSRequest_RecycleRequest) Descriptor
deprecated
func (*NSRequest_RecycleRequest) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_RecycleRequest.ProtoReflect.Descriptor instead.
func (*NSRequest_RecycleRequest) GetCmd ¶
func (x *NSRequest_RecycleRequest) GetCmd() NSRequest_RecycleRequest_RECYCLE_CMD
func (*NSRequest_RecycleRequest) GetKey ¶
func (x *NSRequest_RecycleRequest) GetKey() string
func (*NSRequest_RecycleRequest) GetPurgedate ¶
func (x *NSRequest_RecycleRequest) GetPurgedate() *NSRequest_RecycleRequest_PurgeDate
func (*NSRequest_RecycleRequest) GetRestoreflag ¶
func (x *NSRequest_RecycleRequest) GetRestoreflag() *NSRequest_RecycleRequest_RestoreFlags
func (*NSRequest_RecycleRequest) ProtoMessage ¶
func (*NSRequest_RecycleRequest) ProtoMessage()
func (*NSRequest_RecycleRequest) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_RecycleRequest) ProtoReflect() protoreflect.Message
func (*NSRequest_RecycleRequest) Reset ¶
func (x *NSRequest_RecycleRequest) Reset()
func (*NSRequest_RecycleRequest) String ¶
func (x *NSRequest_RecycleRequest) String() string
type NSRequest_RecycleRequest_PurgeDate ¶
type NSRequest_RecycleRequest_PurgeDate struct { Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty"` Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty"` Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"` // contains filtered or unexported fields }
func (*NSRequest_RecycleRequest_PurgeDate) Descriptor
deprecated
func (*NSRequest_RecycleRequest_PurgeDate) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_RecycleRequest_PurgeDate.ProtoReflect.Descriptor instead.
func (*NSRequest_RecycleRequest_PurgeDate) GetDay ¶
func (x *NSRequest_RecycleRequest_PurgeDate) GetDay() int32
func (*NSRequest_RecycleRequest_PurgeDate) GetMonth ¶
func (x *NSRequest_RecycleRequest_PurgeDate) GetMonth() int32
func (*NSRequest_RecycleRequest_PurgeDate) GetYear ¶
func (x *NSRequest_RecycleRequest_PurgeDate) GetYear() int32
func (*NSRequest_RecycleRequest_PurgeDate) ProtoMessage ¶
func (*NSRequest_RecycleRequest_PurgeDate) ProtoMessage()
func (*NSRequest_RecycleRequest_PurgeDate) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_RecycleRequest_PurgeDate) ProtoReflect() protoreflect.Message
func (*NSRequest_RecycleRequest_PurgeDate) Reset ¶
func (x *NSRequest_RecycleRequest_PurgeDate) Reset()
func (*NSRequest_RecycleRequest_PurgeDate) String ¶
func (x *NSRequest_RecycleRequest_PurgeDate) String() string
type NSRequest_RecycleRequest_RECYCLE_CMD ¶
type NSRequest_RecycleRequest_RECYCLE_CMD int32
const ( NSRequest_RecycleRequest_RESTORE NSRequest_RecycleRequest_RECYCLE_CMD = 0 NSRequest_RecycleRequest_PURGE NSRequest_RecycleRequest_RECYCLE_CMD = 1 NSRequest_RecycleRequest_LIST NSRequest_RecycleRequest_RECYCLE_CMD = 2 )
func (NSRequest_RecycleRequest_RECYCLE_CMD) Descriptor ¶ added in v2.13.0
func (NSRequest_RecycleRequest_RECYCLE_CMD) Descriptor() protoreflect.EnumDescriptor
func (NSRequest_RecycleRequest_RECYCLE_CMD) Enum ¶ added in v2.13.0
func (x NSRequest_RecycleRequest_RECYCLE_CMD) Enum() *NSRequest_RecycleRequest_RECYCLE_CMD
func (NSRequest_RecycleRequest_RECYCLE_CMD) EnumDescriptor
deprecated
func (NSRequest_RecycleRequest_RECYCLE_CMD) EnumDescriptor() ([]byte, []int)
Deprecated: Use NSRequest_RecycleRequest_RECYCLE_CMD.Descriptor instead.
func (NSRequest_RecycleRequest_RECYCLE_CMD) Number ¶ added in v2.13.0
func (x NSRequest_RecycleRequest_RECYCLE_CMD) Number() protoreflect.EnumNumber
func (NSRequest_RecycleRequest_RECYCLE_CMD) String ¶
func (x NSRequest_RecycleRequest_RECYCLE_CMD) String() string
func (NSRequest_RecycleRequest_RECYCLE_CMD) Type ¶ added in v2.13.0
func (NSRequest_RecycleRequest_RECYCLE_CMD) Type() protoreflect.EnumType
type NSRequest_RecycleRequest_RestoreFlags ¶
type NSRequest_RecycleRequest_RestoreFlags struct { Force bool `protobuf:"varint,1,opt,name=force,proto3" json:"force,omitempty"` Mkpath bool `protobuf:"varint,2,opt,name=mkpath,proto3" json:"mkpath,omitempty"` Versions bool `protobuf:"varint,3,opt,name=versions,proto3" json:"versions,omitempty"` // contains filtered or unexported fields }
func (*NSRequest_RecycleRequest_RestoreFlags) Descriptor
deprecated
func (*NSRequest_RecycleRequest_RestoreFlags) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_RecycleRequest_RestoreFlags.ProtoReflect.Descriptor instead.
func (*NSRequest_RecycleRequest_RestoreFlags) GetForce ¶
func (x *NSRequest_RecycleRequest_RestoreFlags) GetForce() bool
func (*NSRequest_RecycleRequest_RestoreFlags) GetMkpath ¶
func (x *NSRequest_RecycleRequest_RestoreFlags) GetMkpath() bool
func (*NSRequest_RecycleRequest_RestoreFlags) GetVersions ¶
func (x *NSRequest_RecycleRequest_RestoreFlags) GetVersions() bool
func (*NSRequest_RecycleRequest_RestoreFlags) ProtoMessage ¶
func (*NSRequest_RecycleRequest_RestoreFlags) ProtoMessage()
func (*NSRequest_RecycleRequest_RestoreFlags) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_RecycleRequest_RestoreFlags) ProtoReflect() protoreflect.Message
func (*NSRequest_RecycleRequest_RestoreFlags) Reset ¶
func (x *NSRequest_RecycleRequest_RestoreFlags) Reset()
func (*NSRequest_RecycleRequest_RestoreFlags) String ¶
func (x *NSRequest_RecycleRequest_RestoreFlags) String() string
type NSRequest_Rename ¶
type NSRequest_Rename struct {
Rename *NSRequest_RenameRequest `protobuf:"bytes,26,opt,name=rename,proto3,oneof"`
}
type NSRequest_RenameRequest ¶
type NSRequest_RenameRequest struct { Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Target []byte `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` // contains filtered or unexported fields }
func (*NSRequest_RenameRequest) Descriptor
deprecated
func (*NSRequest_RenameRequest) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_RenameRequest.ProtoReflect.Descriptor instead.
func (*NSRequest_RenameRequest) GetId ¶
func (x *NSRequest_RenameRequest) GetId() *MDId
func (*NSRequest_RenameRequest) GetTarget ¶
func (x *NSRequest_RenameRequest) GetTarget() []byte
func (*NSRequest_RenameRequest) ProtoMessage ¶
func (*NSRequest_RenameRequest) ProtoMessage()
func (*NSRequest_RenameRequest) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_RenameRequest) ProtoReflect() protoreflect.Message
func (*NSRequest_RenameRequest) Reset ¶
func (x *NSRequest_RenameRequest) Reset()
func (*NSRequest_RenameRequest) String ¶
func (x *NSRequest_RenameRequest) String() string
type NSRequest_Rm ¶
type NSRequest_Rm struct {
Rm *NSRequest_RmRequest `protobuf:"bytes,25,opt,name=rm,proto3,oneof"`
}
type NSRequest_RmRequest ¶
type NSRequest_RmRequest struct { Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Recursive bool `protobuf:"varint,2,opt,name=recursive,proto3" json:"recursive,omitempty"` Norecycle bool `protobuf:"varint,3,opt,name=norecycle,proto3" json:"norecycle,omitempty"` // contains filtered or unexported fields }
func (*NSRequest_RmRequest) Descriptor
deprecated
func (*NSRequest_RmRequest) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_RmRequest.ProtoReflect.Descriptor instead.
func (*NSRequest_RmRequest) GetId ¶
func (x *NSRequest_RmRequest) GetId() *MDId
func (*NSRequest_RmRequest) GetNorecycle ¶
func (x *NSRequest_RmRequest) GetNorecycle() bool
func (*NSRequest_RmRequest) GetRecursive ¶
func (x *NSRequest_RmRequest) GetRecursive() bool
func (*NSRequest_RmRequest) ProtoMessage ¶
func (*NSRequest_RmRequest) ProtoMessage()
func (*NSRequest_RmRequest) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_RmRequest) ProtoReflect() protoreflect.Message
func (*NSRequest_RmRequest) Reset ¶
func (x *NSRequest_RmRequest) Reset()
func (*NSRequest_RmRequest) String ¶
func (x *NSRequest_RmRequest) String() string
type NSRequest_Rmdir ¶
type NSRequest_Rmdir struct {
Rmdir *NSRequest_RmdirRequest `protobuf:"bytes,22,opt,name=rmdir,proto3,oneof"`
}
type NSRequest_RmdirRequest ¶
type NSRequest_RmdirRequest struct { Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*NSRequest_RmdirRequest) Descriptor
deprecated
func (*NSRequest_RmdirRequest) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_RmdirRequest.ProtoReflect.Descriptor instead.
func (*NSRequest_RmdirRequest) GetId ¶
func (x *NSRequest_RmdirRequest) GetId() *MDId
func (*NSRequest_RmdirRequest) ProtoMessage ¶
func (*NSRequest_RmdirRequest) ProtoMessage()
func (*NSRequest_RmdirRequest) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_RmdirRequest) ProtoReflect() protoreflect.Message
func (*NSRequest_RmdirRequest) Reset ¶
func (x *NSRequest_RmdirRequest) Reset()
func (*NSRequest_RmdirRequest) String ¶
func (x *NSRequest_RmdirRequest) String() string
type NSRequest_SetXAttrRequest ¶
type NSRequest_SetXAttrRequest struct { Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Xattrs map[string][]byte `` /* 153-byte string literal not displayed */ Recursive bool `protobuf:"varint,3,opt,name=recursive,proto3" json:"recursive,omitempty"` Keystodelete []string `protobuf:"bytes,4,rep,name=keystodelete,proto3" json:"keystodelete,omitempty"` Create bool `protobuf:"varint,5,opt,name=create,proto3" json:"create,omitempty"` // contains filtered or unexported fields }
func (*NSRequest_SetXAttrRequest) Descriptor
deprecated
func (*NSRequest_SetXAttrRequest) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_SetXAttrRequest.ProtoReflect.Descriptor instead.
func (*NSRequest_SetXAttrRequest) GetCreate ¶ added in v2.13.0
func (x *NSRequest_SetXAttrRequest) GetCreate() bool
func (*NSRequest_SetXAttrRequest) GetId ¶
func (x *NSRequest_SetXAttrRequest) GetId() *MDId
func (*NSRequest_SetXAttrRequest) GetKeystodelete ¶
func (x *NSRequest_SetXAttrRequest) GetKeystodelete() []string
func (*NSRequest_SetXAttrRequest) GetRecursive ¶
func (x *NSRequest_SetXAttrRequest) GetRecursive() bool
func (*NSRequest_SetXAttrRequest) GetXattrs ¶
func (x *NSRequest_SetXAttrRequest) GetXattrs() map[string][]byte
func (*NSRequest_SetXAttrRequest) ProtoMessage ¶
func (*NSRequest_SetXAttrRequest) ProtoMessage()
func (*NSRequest_SetXAttrRequest) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_SetXAttrRequest) ProtoReflect() protoreflect.Message
func (*NSRequest_SetXAttrRequest) Reset ¶
func (x *NSRequest_SetXAttrRequest) Reset()
func (*NSRequest_SetXAttrRequest) String ¶
func (x *NSRequest_SetXAttrRequest) String() string
type NSRequest_Share ¶ added in v2.13.0
type NSRequest_Share struct {
}type NSRequest_ShareRequest ¶ added in v2.13.0
type NSRequest_ShareRequest struct { // // *NSRequest_ShareRequest_Ls // *NSRequest_ShareRequest_Op Subcmd isNSRequest_ShareRequest_Subcmd `protobuf_oneof:"subcmd"` // contains filtered or unexported fields }
func (*NSRequest_ShareRequest) Descriptor
deprecated
added in
v2.13.0
func (*NSRequest_ShareRequest) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_ShareRequest.ProtoReflect.Descriptor instead.
func (*NSRequest_ShareRequest) GetLs ¶ added in v2.13.0
func (x *NSRequest_ShareRequest) GetLs() *NSRequest_ShareRequest_LsShare
func (*NSRequest_ShareRequest) GetOp ¶ added in v2.13.0
func (x *NSRequest_ShareRequest) GetOp() *NSRequest_ShareRequest_OperateShare
func (*NSRequest_ShareRequest) GetSubcmd ¶ added in v2.13.0
func (m *NSRequest_ShareRequest) GetSubcmd() isNSRequest_ShareRequest_Subcmd
func (*NSRequest_ShareRequest) ProtoMessage ¶ added in v2.13.0
func (*NSRequest_ShareRequest) ProtoMessage()
func (*NSRequest_ShareRequest) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_ShareRequest) ProtoReflect() protoreflect.Message
func (*NSRequest_ShareRequest) Reset ¶ added in v2.13.0
func (x *NSRequest_ShareRequest) Reset()
func (*NSRequest_ShareRequest) String ¶ added in v2.13.0
func (x *NSRequest_ShareRequest) String() string
type NSRequest_ShareRequest_Ls ¶ added in v2.13.0
type NSRequest_ShareRequest_Ls struct {
}type NSRequest_ShareRequest_LsShare ¶ added in v2.13.0
type NSRequest_ShareRequest_LsShare struct { string `protobuf:"bytes,2,opt,name=selection,proto3" json:"selection,omitempty"` // // contains filtered or unexported fields }Selection
func (*NSRequest_ShareRequest_LsShare) Descriptor
deprecated
added in
v2.13.0
func (*NSRequest_ShareRequest_LsShare) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_ShareRequest_LsShare.ProtoReflect.Descriptor instead.
func (*NSRequest_ShareRequest_LsShare) GetOutformat ¶ added in v2.13.0
func (x *NSRequest_ShareRequest_LsShare) GetOutformat() NSRequest_ShareRequest_LsShare_OutFormat
func (*NSRequest_ShareRequest_LsShare) GetSelection ¶ added in v2.13.0
func (x *NSRequest_ShareRequest_LsShare) GetSelection() string
func (*NSRequest_ShareRequest_LsShare) ProtoMessage ¶ added in v2.13.0
func (*NSRequest_ShareRequest_LsShare) ProtoMessage()
func (*NSRequest_ShareRequest_LsShare) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_ShareRequest_LsShare) ProtoReflect() protoreflect.Message
func (*NSRequest_ShareRequest_LsShare) Reset ¶ added in v2.13.0
func (x *NSRequest_ShareRequest_LsShare) Reset()
func (*NSRequest_ShareRequest_LsShare) String ¶ added in v2.13.0
func (x *NSRequest_ShareRequest_LsShare) String() string
type NSRequest_ShareRequest_LsShare_OutFormat ¶ added in v2.13.0
type NSRequest_ShareRequest_LsShare_OutFormat int32
const ()
func (NSRequest_ShareRequest_LsShare_OutFormat) Descriptor ¶ added in v2.13.0
func (NSRequest_ShareRequest_LsShare_OutFormat) Descriptor() protoreflect.EnumDescriptor
func (NSRequest_ShareRequest_LsShare_OutFormat) EnumDescriptor
deprecated
added in
v2.13.0
func (NSRequest_ShareRequest_LsShare_OutFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use NSRequest_ShareRequest_LsShare_OutFormat.Descriptor instead.
func (NSRequest_ShareRequest_LsShare_OutFormat) Number ¶ added in v2.13.0
func (x NSRequest_ShareRequest_LsShare_OutFormat) Number() protoreflect.EnumNumber
func (NSRequest_ShareRequest_LsShare_OutFormat) String ¶ added in v2.13.0
func (x NSRequest_ShareRequest_LsShare_OutFormat) String() string
func (NSRequest_ShareRequest_LsShare_OutFormat) Type ¶ added in v2.13.0
func (NSRequest_ShareRequest_LsShare_OutFormat) Type() protoreflect.EnumType
type NSRequest_ShareRequest_Op ¶ added in v2.13.0
type NSRequest_ShareRequest_Op struct {
}type NSRequest_ShareRequest_OperateShare ¶ added in v2.13.0
type NSRequest_ShareRequest_OperateShare struct { // contains filtered or unexported fields }
func (*NSRequest_ShareRequest_OperateShare) Descriptor
deprecated
added in
v2.13.0
func (*NSRequest_ShareRequest_OperateShare) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_ShareRequest_OperateShare.ProtoReflect.Descriptor instead.
func (*NSRequest_ShareRequest_OperateShare) GetAcl ¶ added in v2.13.0
func (x *NSRequest_ShareRequest_OperateShare) GetAcl() string
func (*NSRequest_ShareRequest_OperateShare) GetGroup ¶ added in v2.13.0
func (x *NSRequest_ShareRequest_OperateShare) GetGroup() string
func (*NSRequest_ShareRequest_OperateShare) GetOp ¶ added in v2.13.0
func (x *NSRequest_ShareRequest_OperateShare) GetOp() NSRequest_ShareRequest_OperateShare_Op
func (*NSRequest_ShareRequest_OperateShare) GetPath ¶ added in v2.13.0
func (x *NSRequest_ShareRequest_OperateShare) GetPath() string
func (*NSRequest_ShareRequest_OperateShare) GetShare ¶ added in v2.13.0
func (x *NSRequest_ShareRequest_OperateShare) GetShare() string
func (*NSRequest_ShareRequest_OperateShare) GetUser ¶ added in v2.13.0
func (x *NSRequest_ShareRequest_OperateShare) GetUser() string
func (*NSRequest_ShareRequest_OperateShare) ProtoMessage ¶ added in v2.13.0
func (*NSRequest_ShareRequest_OperateShare) ProtoMessage()
func (*NSRequest_ShareRequest_OperateShare) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_ShareRequest_OperateShare) ProtoReflect() protoreflect.Message
func (*NSRequest_ShareRequest_OperateShare) Reset ¶ added in v2.13.0
func (x *NSRequest_ShareRequest_OperateShare) Reset()
func (*NSRequest_ShareRequest_OperateShare) String ¶ added in v2.13.0
func (x *NSRequest_ShareRequest_OperateShare) String() string
type NSRequest_ShareRequest_OperateShare_Op ¶ added in v2.13.0
type NSRequest_ShareRequest_OperateShare_Op int32
const ()
func (NSRequest_ShareRequest_OperateShare_Op) Descriptor ¶ added in v2.13.0
func (NSRequest_ShareRequest_OperateShare_Op) Descriptor() protoreflect.EnumDescriptor
func (NSRequest_ShareRequest_OperateShare_Op) EnumDescriptor
deprecated
added in
v2.13.0
func (NSRequest_ShareRequest_OperateShare_Op) EnumDescriptor() ([]byte, []int)
Deprecated: Use NSRequest_ShareRequest_OperateShare_Op.Descriptor instead.
func (NSRequest_ShareRequest_OperateShare_Op) Number ¶ added in v2.13.0
func (x NSRequest_ShareRequest_OperateShare_Op) Number() protoreflect.EnumNumber
func (NSRequest_ShareRequest_OperateShare_Op) String ¶ added in v2.13.0
func (x NSRequest_ShareRequest_OperateShare_Op) String() string
func (NSRequest_ShareRequest_OperateShare_Op) Type ¶ added in v2.13.0
func (NSRequest_ShareRequest_OperateShare_Op) Type() protoreflect.EnumType
type NSRequest_Symlink ¶
type NSRequest_Symlink struct {
Symlink *NSRequest_SymlinkRequest `protobuf:"bytes,27,opt,name=symlink,proto3,oneof"`
}
type NSRequest_SymlinkRequest ¶
type NSRequest_SymlinkRequest struct { Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Target []byte `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` // contains filtered or unexported fields }
func (*NSRequest_SymlinkRequest) Descriptor
deprecated
func (*NSRequest_SymlinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_SymlinkRequest.ProtoReflect.Descriptor instead.
func (*NSRequest_SymlinkRequest) GetId ¶
func (x *NSRequest_SymlinkRequest) GetId() *MDId
func (*NSRequest_SymlinkRequest) GetTarget ¶
func (x *NSRequest_SymlinkRequest) GetTarget() []byte
func (*NSRequest_SymlinkRequest) ProtoMessage ¶
func (*NSRequest_SymlinkRequest) ProtoMessage()
func (*NSRequest_SymlinkRequest) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_SymlinkRequest) ProtoReflect() protoreflect.Message
func (*NSRequest_SymlinkRequest) Reset ¶
func (x *NSRequest_SymlinkRequest) Reset()
func (*NSRequest_SymlinkRequest) String ¶
func (x *NSRequest_SymlinkRequest) String() string
type NSRequest_Token ¶
type NSRequest_Token struct {
Token *NSRequest_TokenRequest `protobuf:"bytes,34,opt,name=token,proto3,oneof"`
}
type NSRequest_TokenRequest ¶
type NSRequest_TokenRequest struct { Token *ShareToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*NSRequest_TokenRequest) Descriptor
deprecated
func (*NSRequest_TokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_TokenRequest.ProtoReflect.Descriptor instead.
func (*NSRequest_TokenRequest) GetToken ¶
func (x *NSRequest_TokenRequest) GetToken() *ShareToken
func (*NSRequest_TokenRequest) ProtoMessage ¶
func (*NSRequest_TokenRequest) ProtoMessage()
func (*NSRequest_TokenRequest) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_TokenRequest) ProtoReflect() protoreflect.Message
func (*NSRequest_TokenRequest) Reset ¶
func (x *NSRequest_TokenRequest) Reset()
func (*NSRequest_TokenRequest) String ¶
func (x *NSRequest_TokenRequest) String() string
type NSRequest_Touch ¶
type NSRequest_Touch struct {
Touch *NSRequest_TouchRequest `protobuf:"bytes,23,opt,name=touch,proto3,oneof"`
}
type NSRequest_TouchRequest ¶
type NSRequest_TouchRequest struct { Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*NSRequest_TouchRequest) Descriptor
deprecated
func (*NSRequest_TouchRequest) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_TouchRequest.ProtoReflect.Descriptor instead.
func (*NSRequest_TouchRequest) GetId ¶
func (x *NSRequest_TouchRequest) GetId() *MDId
func (*NSRequest_TouchRequest) ProtoMessage ¶
func (*NSRequest_TouchRequest) ProtoMessage()
func (*NSRequest_TouchRequest) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_TouchRequest) ProtoReflect() protoreflect.Message
func (*NSRequest_TouchRequest) Reset ¶
func (x *NSRequest_TouchRequest) Reset()
func (*NSRequest_TouchRequest) String ¶
func (x *NSRequest_TouchRequest) String() string
type NSRequest_Unlink ¶
type NSRequest_Unlink struct {
Unlink *NSRequest_UnlinkRequest `protobuf:"bytes,24,opt,name=unlink,proto3,oneof"`
}
type NSRequest_UnlinkRequest ¶
type NSRequest_UnlinkRequest struct { Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Norecycle bool `protobuf:"varint,3,opt,name=norecycle,proto3" json:"norecycle,omitempty"` // contains filtered or unexported fields }
func (*NSRequest_UnlinkRequest) Descriptor
deprecated
func (*NSRequest_UnlinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_UnlinkRequest.ProtoReflect.Descriptor instead.
func (*NSRequest_UnlinkRequest) GetId ¶
func (x *NSRequest_UnlinkRequest) GetId() *MDId
func (*NSRequest_UnlinkRequest) GetNorecycle ¶
func (x *NSRequest_UnlinkRequest) GetNorecycle() bool
func (*NSRequest_UnlinkRequest) ProtoMessage ¶
func (*NSRequest_UnlinkRequest) ProtoMessage()
func (*NSRequest_UnlinkRequest) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_UnlinkRequest) ProtoReflect() protoreflect.Message
func (*NSRequest_UnlinkRequest) Reset ¶
func (x *NSRequest_UnlinkRequest) Reset()
func (*NSRequest_UnlinkRequest) String ¶
func (x *NSRequest_UnlinkRequest) String() string
type NSRequest_Version ¶
type NSRequest_Version struct {
Version *NSRequest_VersionRequest `protobuf:"bytes,28,opt,name=version,proto3,oneof"`
}
type NSRequest_VersionRequest ¶
type NSRequest_VersionRequest struct { Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Cmd NSRequest_VersionRequest_VERSION_CMD `protobuf:"varint,2,opt,name=cmd,proto3,enum=eos.rpc.NSRequest_VersionRequest_VERSION_CMD" json:"cmd,omitempty"` Maxversion int32 `protobuf:"varint,3,opt,name=maxversion,proto3" json:"maxversion,omitempty"` Grabversion string `protobuf:"bytes,4,opt,name=grabversion,proto3" json:"grabversion,omitempty"` // contains filtered or unexported fields }
func (*NSRequest_VersionRequest) Descriptor
deprecated
func (*NSRequest_VersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use NSRequest_VersionRequest.ProtoReflect.Descriptor instead.
func (*NSRequest_VersionRequest) GetCmd ¶
func (x *NSRequest_VersionRequest) GetCmd() NSRequest_VersionRequest_VERSION_CMD
func (*NSRequest_VersionRequest) GetGrabversion ¶
func (x *NSRequest_VersionRequest) GetGrabversion() string
func (*NSRequest_VersionRequest) GetId ¶
func (x *NSRequest_VersionRequest) GetId() *MDId
func (*NSRequest_VersionRequest) GetMaxversion ¶
func (x *NSRequest_VersionRequest) GetMaxversion() int32
func (*NSRequest_VersionRequest) ProtoMessage ¶
func (*NSRequest_VersionRequest) ProtoMessage()
func (*NSRequest_VersionRequest) ProtoReflect ¶ added in v2.13.0
func (x *NSRequest_VersionRequest) ProtoReflect() protoreflect.Message
func (*NSRequest_VersionRequest) Reset ¶
func (x *NSRequest_VersionRequest) Reset()
func (*NSRequest_VersionRequest) String ¶
func (x *NSRequest_VersionRequest) String() string
type NSRequest_VersionRequest_VERSION_CMD ¶
type NSRequest_VersionRequest_VERSION_CMD int32
const ( NSRequest_VersionRequest_CREATE NSRequest_VersionRequest_VERSION_CMD = 0 NSRequest_VersionRequest_PURGE NSRequest_VersionRequest_VERSION_CMD = 1 NSRequest_VersionRequest_LIST NSRequest_VersionRequest_VERSION_CMD = 2 NSRequest_VersionRequest_GRAB NSRequest_VersionRequest_VERSION_CMD = 3 )
func (NSRequest_VersionRequest_VERSION_CMD) Descriptor ¶ added in v2.13.0
func (NSRequest_VersionRequest_VERSION_CMD) Descriptor() protoreflect.EnumDescriptor
func (NSRequest_VersionRequest_VERSION_CMD) Enum ¶ added in v2.13.0
func (x NSRequest_VersionRequest_VERSION_CMD) Enum() *NSRequest_VersionRequest_VERSION_CMD
func (NSRequest_VersionRequest_VERSION_CMD) EnumDescriptor
deprecated
func (NSRequest_VersionRequest_VERSION_CMD) EnumDescriptor() ([]byte, []int)
Deprecated: Use NSRequest_VersionRequest_VERSION_CMD.Descriptor instead.
func (NSRequest_VersionRequest_VERSION_CMD) Number ¶ added in v2.13.0
func (x NSRequest_VersionRequest_VERSION_CMD) Number() protoreflect.EnumNumber
func (NSRequest_VersionRequest_VERSION_CMD) String ¶
func (x NSRequest_VersionRequest_VERSION_CMD) String() string
func (NSRequest_VersionRequest_VERSION_CMD) Type ¶ added in v2.13.0
func (NSRequest_VersionRequest_VERSION_CMD) Type() protoreflect.EnumType
type NSRequest_Xattr ¶
type NSRequest_Xattr struct {
Xattr *NSRequest_SetXAttrRequest `protobuf:"bytes,30,opt,name=xattr,proto3,oneof"`
}
type NSResponse ¶
type NSResponse struct { Error *NSResponse_ErrorResponse `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` Version *NSResponse_VersionResponse `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` Recycle *NSResponse_RecycleResponse `protobuf:"bytes,3,opt,name=recycle,proto3" json:"recycle,omitempty"` Acl *NSResponse_AclResponse `protobuf:"bytes,4,opt,name=acl,proto3" json:"acl,omitempty"` Quota *NSResponse_QuotaResponse `protobuf:"bytes,5,opt,name=quota,proto3" json:"quota,omitempty"` // contains filtered or unexported fields }
func (*NSResponse) Descriptor
deprecated
func (*NSResponse) Descriptor() ([]byte, []int)
Deprecated: Use NSResponse.ProtoReflect.Descriptor instead.
func (*NSResponse) GetAcl ¶
func (x *NSResponse) GetAcl() *NSResponse_AclResponse
func (*NSResponse) GetError ¶
func (x *NSResponse) GetError() *NSResponse_ErrorResponse
func (*NSResponse) GetQuota ¶
func (x *NSResponse) GetQuota() *NSResponse_QuotaResponse
func (*NSResponse) GetRecycle ¶
func (x *NSResponse) GetRecycle() *NSResponse_RecycleResponse
func (*NSResponse) GetShare ¶ added in v2.13.0
func (x *NSResponse) GetShare() *NSResponse_ShareResponse
func (*NSResponse) GetVersion ¶
func (x *NSResponse) GetVersion() *NSResponse_VersionResponse
func (*NSResponse) ProtoMessage ¶
func (*NSResponse) ProtoMessage()
func (*NSResponse) ProtoReflect ¶ added in v2.13.0
func (x *NSResponse) ProtoReflect() protoreflect.Message
func (*NSResponse) Reset ¶
func (x *NSResponse) Reset()
func (*NSResponse) String ¶
func (x *NSResponse) String() string
type NSResponse_AclResponse ¶
type NSResponse_AclResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Rule string `protobuf:"bytes,3,opt,name=rule,proto3" json:"rule,omitempty"` // contains filtered or unexported fields }
func (*NSResponse_AclResponse) Descriptor
deprecated
func (*NSResponse_AclResponse) Descriptor() ([]byte, []int)
Deprecated: Use NSResponse_AclResponse.ProtoReflect.Descriptor instead.
func (*NSResponse_AclResponse) GetCode ¶
func (x *NSResponse_AclResponse) GetCode() int64
func (*NSResponse_AclResponse) GetMsg ¶
func (x *NSResponse_AclResponse) GetMsg() string
func (*NSResponse_AclResponse) GetRule ¶
func (x *NSResponse_AclResponse) GetRule() string
func (*NSResponse_AclResponse) ProtoMessage ¶
func (*NSResponse_AclResponse) ProtoMessage()
func (*NSResponse_AclResponse) ProtoReflect ¶ added in v2.13.0
func (x *NSResponse_AclResponse) ProtoReflect() protoreflect.Message
func (*NSResponse_AclResponse) Reset ¶
func (x *NSResponse_AclResponse) Reset()
func (*NSResponse_AclResponse) String ¶
func (x *NSResponse_AclResponse) String() string
type NSResponse_ErrorResponse ¶
type NSResponse_ErrorResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*NSResponse_ErrorResponse) Descriptor
deprecated
func (*NSResponse_ErrorResponse) Descriptor() ([]byte, []int)
Deprecated: Use NSResponse_ErrorResponse.ProtoReflect.Descriptor instead.
func (*NSResponse_ErrorResponse) GetCode ¶
func (x *NSResponse_ErrorResponse) GetCode() int64
func (*NSResponse_ErrorResponse) GetMsg ¶
func (x *NSResponse_ErrorResponse) GetMsg() string
func (*NSResponse_ErrorResponse) ProtoMessage ¶
func (*NSResponse_ErrorResponse) ProtoMessage()
func (*NSResponse_ErrorResponse) ProtoReflect ¶ added in v2.13.0
func (x *NSResponse_ErrorResponse) ProtoReflect() protoreflect.Message
func (*NSResponse_ErrorResponse) Reset ¶
func (x *NSResponse_ErrorResponse) Reset()
func (*NSResponse_ErrorResponse) String ¶
func (x *NSResponse_ErrorResponse) String() string
type NSResponse_QuotaResponse ¶
type NSResponse_QuotaResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Quotanode []*QuotaProto `protobuf:"bytes,3,rep,name=quotanode,proto3" json:"quotanode,omitempty"` // contains filtered or unexported fields }
func (*NSResponse_QuotaResponse) Descriptor
deprecated
func (*NSResponse_QuotaResponse) Descriptor() ([]byte, []int)
Deprecated: Use NSResponse_QuotaResponse.ProtoReflect.Descriptor instead.
func (*NSResponse_QuotaResponse) GetCode ¶
func (x *NSResponse_QuotaResponse) GetCode() int64
func (*NSResponse_QuotaResponse) GetMsg ¶
func (x *NSResponse_QuotaResponse) GetMsg() string
func (*NSResponse_QuotaResponse) GetQuotanode ¶
func (x *NSResponse_QuotaResponse) GetQuotanode() []*QuotaProto
func (*NSResponse_QuotaResponse) ProtoMessage ¶
func (*NSResponse_QuotaResponse) ProtoMessage()
func (*NSResponse_QuotaResponse) ProtoReflect ¶ added in v2.13.0
func (x *NSResponse_QuotaResponse) ProtoReflect() protoreflect.Message
func (*NSResponse_QuotaResponse) Reset ¶
func (x *NSResponse_QuotaResponse) Reset()
func (*NSResponse_QuotaResponse) String ¶
func (x *NSResponse_QuotaResponse) String() string
type NSResponse_RecycleResponse ¶
type NSResponse_RecycleResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Recycles []*NSResponse_RecycleResponse_RecycleInfo `protobuf:"bytes,3,rep,name=recycles,proto3" json:"recycles,omitempty"` // contains filtered or unexported fields }
func (*NSResponse_RecycleResponse) Descriptor
deprecated
func (*NSResponse_RecycleResponse) Descriptor() ([]byte, []int)
Deprecated: Use NSResponse_RecycleResponse.ProtoReflect.Descriptor instead.
func (*NSResponse_RecycleResponse) GetCode ¶
func (x *NSResponse_RecycleResponse) GetCode() int64
func (*NSResponse_RecycleResponse) GetMsg ¶
func (x *NSResponse_RecycleResponse) GetMsg() string
func (*NSResponse_RecycleResponse) GetRecycles ¶
func (x *NSResponse_RecycleResponse) GetRecycles() []*NSResponse_RecycleResponse_RecycleInfo
func (*NSResponse_RecycleResponse) ProtoMessage ¶
func (*NSResponse_RecycleResponse) ProtoMessage()
func (*NSResponse_RecycleResponse) ProtoReflect ¶ added in v2.13.0
func (x *NSResponse_RecycleResponse) ProtoReflect() protoreflect.Message
func (*NSResponse_RecycleResponse) Reset ¶
func (x *NSResponse_RecycleResponse) Reset()
func (*NSResponse_RecycleResponse) String ¶
func (x *NSResponse_RecycleResponse) String() string
type NSResponse_RecycleResponse_RecycleInfo ¶
type NSResponse_RecycleResponse_RecycleInfo struct { Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Owner *RoleId `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` Dtime *Time `protobuf:"bytes,3,opt,name=dtime,proto3" json:"dtime,omitempty"` Size uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` Type NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE `` /* 127-byte string literal not displayed */ Key string `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*NSResponse_RecycleResponse_RecycleInfo) Descriptor
deprecated
func (*NSResponse_RecycleResponse_RecycleInfo) Descriptor() ([]byte, []int)
Deprecated: Use NSResponse_RecycleResponse_RecycleInfo.ProtoReflect.Descriptor instead.
func (*NSResponse_RecycleResponse_RecycleInfo) GetDtime ¶
func (x *NSResponse_RecycleResponse_RecycleInfo) GetDtime() *Time
func (*NSResponse_RecycleResponse_RecycleInfo) GetId ¶
func (x *NSResponse_RecycleResponse_RecycleInfo) GetId() *MDId
func (*NSResponse_RecycleResponse_RecycleInfo) GetKey ¶
func (x *NSResponse_RecycleResponse_RecycleInfo) GetKey() string
func (*NSResponse_RecycleResponse_RecycleInfo) GetOwner ¶
func (x *NSResponse_RecycleResponse_RecycleInfo) GetOwner() *RoleId
func (*NSResponse_RecycleResponse_RecycleInfo) GetSize ¶
func (x *NSResponse_RecycleResponse_RecycleInfo) GetSize() uint64
func (*NSResponse_RecycleResponse_RecycleInfo) ProtoMessage ¶
func (*NSResponse_RecycleResponse_RecycleInfo) ProtoMessage()
func (*NSResponse_RecycleResponse_RecycleInfo) ProtoReflect ¶ added in v2.13.0
func (x *NSResponse_RecycleResponse_RecycleInfo) ProtoReflect() protoreflect.Message
func (*NSResponse_RecycleResponse_RecycleInfo) Reset ¶
func (x *NSResponse_RecycleResponse_RecycleInfo) Reset()
func (*NSResponse_RecycleResponse_RecycleInfo) String ¶
func (x *NSResponse_RecycleResponse_RecycleInfo) String() string
type NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE ¶
type NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE int32
const ( NSResponse_RecycleResponse_RecycleInfo_FILE NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE = 0 NSResponse_RecycleResponse_RecycleInfo_TREE NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE = 1 )
func (NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) Descriptor ¶ added in v2.13.0
func (NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) Descriptor() protoreflect.EnumDescriptor
func (NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) EnumDescriptor
deprecated
func (NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) EnumDescriptor() ([]byte, []int)
Deprecated: Use NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE.Descriptor instead.
func (NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) Number ¶ added in v2.13.0
func (x NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) Number() protoreflect.EnumNumber
func (NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) String ¶
func (x NSResponse_RecycleResponse_RecycleInfo_DELETIONTYPE) String() string
type NSResponse_ShareAccess ¶ added in v2.13.0
type NSResponse_ShareAccess struct { // contains filtered or unexported fields }
func (*NSResponse_ShareAccess) Descriptor
deprecated
added in
v2.13.0
func (*NSResponse_ShareAccess) Descriptor() ([]byte, []int)
Deprecated: Use NSResponse_ShareAccess.ProtoReflect.Descriptor instead.
func (*NSResponse_ShareAccess) GetGranted ¶ added in v2.13.0
func (x *NSResponse_ShareAccess) GetGranted() bool
func (*NSResponse_ShareAccess) GetName ¶ added in v2.13.0
func (x *NSResponse_ShareAccess) GetName() string
func (*NSResponse_ShareAccess) ProtoMessage ¶ added in v2.13.0
func (*NSResponse_ShareAccess) ProtoMessage()
func (*NSResponse_ShareAccess) ProtoReflect ¶ added in v2.13.0
func (x *NSResponse_ShareAccess) ProtoReflect() protoreflect.Message
func (*NSResponse_ShareAccess) Reset ¶ added in v2.13.0
func (x *NSResponse_ShareAccess) Reset()
func (*NSResponse_ShareAccess) String ¶ added in v2.13.0
func (x *NSResponse_ShareAccess) String() string
type NSResponse_ShareInfo ¶ added in v2.13.0
type NSResponse_ShareInfo struct { // contains filtered or unexported fields }
func (*NSResponse_ShareInfo) Descriptor
deprecated
added in
v2.13.0
func (*NSResponse_ShareInfo) Descriptor() ([]byte, []int)
Deprecated: Use NSResponse_ShareInfo.ProtoReflect.Descriptor instead.
func (*NSResponse_ShareInfo) GetName ¶ added in v2.13.0
func (x *NSResponse_ShareInfo) GetName() string
func (*NSResponse_ShareInfo) GetNshared ¶ added in v2.13.0
func (x *NSResponse_ShareInfo) GetNshared() uint64
func (*NSResponse_ShareInfo) GetRoot ¶ added in v2.13.0
func (x *NSResponse_ShareInfo) GetRoot() string
func (*NSResponse_ShareInfo) GetRule ¶ added in v2.13.0
func (x *NSResponse_ShareInfo) GetRule() string
func (*NSResponse_ShareInfo) GetUid ¶ added in v2.13.0
func (x *NSResponse_ShareInfo) GetUid() uint64
func (*NSResponse_ShareInfo) ProtoMessage ¶ added in v2.13.0
func (*NSResponse_ShareInfo) ProtoMessage()
func (*NSResponse_ShareInfo) ProtoReflect ¶ added in v2.13.0
func (x *NSResponse_ShareInfo) ProtoReflect() protoreflect.Message
func (*NSResponse_ShareInfo) Reset ¶ added in v2.13.0
func (x *NSResponse_ShareInfo) Reset()
func (*NSResponse_ShareInfo) String ¶ added in v2.13.0
func (x *NSResponse_ShareInfo) String() string
type NSResponse_ShareResponse ¶ added in v2.13.0
type NSResponse_ShareResponse struct { // contains filtered or unexported fields }
func (*NSResponse_ShareResponse) Descriptor
deprecated
added in
v2.13.0
func (*NSResponse_ShareResponse) Descriptor() ([]byte, []int)
Deprecated: Use NSResponse_ShareResponse.ProtoReflect.Descriptor instead.
func (*NSResponse_ShareResponse) GetAccess ¶ added in v2.13.0
func (x *NSResponse_ShareResponse) GetAccess() []*NSResponse_ShareAccess
func (*NSResponse_ShareResponse) GetCode ¶ added in v2.13.0
func (x *NSResponse_ShareResponse) GetCode() int64
func (*NSResponse_ShareResponse) GetMsg ¶ added in v2.13.0
func (x *NSResponse_ShareResponse) GetMsg() string
func (*NSResponse_ShareResponse) GetShares ¶ added in v2.13.0
func (x *NSResponse_ShareResponse) GetShares() []*NSResponse_ShareInfo
func (*NSResponse_ShareResponse) ProtoMessage ¶ added in v2.13.0
func (*NSResponse_ShareResponse) ProtoMessage()
func (*NSResponse_ShareResponse) ProtoReflect ¶ added in v2.13.0
func (x *NSResponse_ShareResponse) ProtoReflect() protoreflect.Message
func (*NSResponse_ShareResponse) Reset ¶ added in v2.13.0
func (x *NSResponse_ShareResponse) Reset()
func (*NSResponse_ShareResponse) String ¶ added in v2.13.0
func (x *NSResponse_ShareResponse) String() string
type NSResponse_VersionResponse ¶
type NSResponse_VersionResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` Versions []*NSResponse_VersionResponse_VersionInfo `protobuf:"bytes,3,rep,name=versions,proto3" json:"versions,omitempty"` // contains filtered or unexported fields }
func (*NSResponse_VersionResponse) Descriptor
deprecated
func (*NSResponse_VersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use NSResponse_VersionResponse.ProtoReflect.Descriptor instead.
func (*NSResponse_VersionResponse) GetCode ¶
func (x *NSResponse_VersionResponse) GetCode() int64
func (*NSResponse_VersionResponse) GetMsg ¶
func (x *NSResponse_VersionResponse) GetMsg() string
func (*NSResponse_VersionResponse) GetVersions ¶
func (x *NSResponse_VersionResponse) GetVersions() []*NSResponse_VersionResponse_VersionInfo
func (*NSResponse_VersionResponse) ProtoMessage ¶
func (*NSResponse_VersionResponse) ProtoMessage()
func (*NSResponse_VersionResponse) ProtoReflect ¶ added in v2.13.0
func (x *NSResponse_VersionResponse) ProtoReflect() protoreflect.Message
func (*NSResponse_VersionResponse) Reset ¶
func (x *NSResponse_VersionResponse) Reset()
func (*NSResponse_VersionResponse) String ¶
func (x *NSResponse_VersionResponse) String() string
type NSResponse_VersionResponse_VersionInfo ¶
type NSResponse_VersionResponse_VersionInfo struct { Id *MDId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Mtime *Time `protobuf:"bytes,2,opt,name=mtime,proto3" json:"mtime,omitempty"` // contains filtered or unexported fields }
func (*NSResponse_VersionResponse_VersionInfo) Descriptor
deprecated
func (*NSResponse_VersionResponse_VersionInfo) Descriptor() ([]byte, []int)
Deprecated: Use NSResponse_VersionResponse_VersionInfo.ProtoReflect.Descriptor instead.
func (*NSResponse_VersionResponse_VersionInfo) GetId ¶
func (x *NSResponse_VersionResponse_VersionInfo) GetId() *MDId
func (*NSResponse_VersionResponse_VersionInfo) GetMtime ¶
func (x *NSResponse_VersionResponse_VersionInfo) GetMtime() *Time
func (*NSResponse_VersionResponse_VersionInfo) ProtoMessage ¶
func (*NSResponse_VersionResponse_VersionInfo) ProtoMessage()
func (*NSResponse_VersionResponse_VersionInfo) ProtoReflect ¶ added in v2.13.0
func (x *NSResponse_VersionResponse_VersionInfo) ProtoReflect() protoreflect.Message
func (*NSResponse_VersionResponse_VersionInfo) Reset ¶
func (x *NSResponse_VersionResponse_VersionInfo) Reset()
func (*NSResponse_VersionResponse_VersionInfo) String ¶
func (x *NSResponse_VersionResponse_VersionInfo) String() string
type NsStatRequest ¶
type NsStatRequest struct { Authkey string `protobuf:"bytes,1,opt,name=authkey,proto3" json:"authkey,omitempty"` // contains filtered or unexported fields }
func (*NsStatRequest) Descriptor
deprecated
func (*NsStatRequest) Descriptor() ([]byte, []int)
Deprecated: Use NsStatRequest.ProtoReflect.Descriptor instead.
func (*NsStatRequest) GetAuthkey ¶
func (x *NsStatRequest) GetAuthkey() string
func (*NsStatRequest) ProtoMessage ¶
func (*NsStatRequest) ProtoMessage()
func (*NsStatRequest) ProtoReflect ¶ added in v2.13.0
func (x *NsStatRequest) ProtoReflect() protoreflect.Message
func (*NsStatRequest) Reset ¶
func (x *NsStatRequest) Reset()
func (*NsStatRequest) String ¶
func (x *NsStatRequest) String() string
type NsStatResponse ¶
type NsStatResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Emsg string `protobuf:"bytes,2,opt,name=emsg,proto3" json:"emsg,omitempty"` State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` Nfiles uint64 `protobuf:"varint,4,opt,name=nfiles,proto3" json:"nfiles,omitempty"` Ncontainers uint64 `protobuf:"varint,5,opt,name=ncontainers,proto3" json:"ncontainers,omitempty"` BootTime uint64 `protobuf:"varint,6,opt,name=boot_time,json=bootTime,proto3" json:"boot_time,omitempty"` CurrentFid uint64 `protobuf:"varint,7,opt,name=current_fid,json=currentFid,proto3" json:"current_fid,omitempty"` CurrentCid uint64 `protobuf:"varint,8,opt,name=current_cid,json=currentCid,proto3" json:"current_cid,omitempty"` MemVirtual uint64 `protobuf:"varint,9,opt,name=mem_virtual,json=memVirtual,proto3" json:"mem_virtual,omitempty"` MemResident uint64 `protobuf:"varint,10,opt,name=mem_resident,json=memResident,proto3" json:"mem_resident,omitempty"` MemGrowth uint64 `protobuf:"varint,12,opt,name=mem_growth,json=memGrowth,proto3" json:"mem_growth,omitempty"` Threads uint64 `protobuf:"varint,13,opt,name=threads,proto3" json:"threads,omitempty"` Fds uint64 `protobuf:"varint,14,opt,name=fds,proto3" json:"fds,omitempty"` Uptime uint64 `protobuf:"varint,15,opt,name=uptime,proto3" json:"uptime,omitempty"` // contains filtered or unexported fields }
func (*NsStatResponse) Descriptor
deprecated
func (*NsStatResponse) Descriptor() ([]byte, []int)
Deprecated: Use NsStatResponse.ProtoReflect.Descriptor instead.
func (*NsStatResponse) GetBootTime ¶
func (x *NsStatResponse) GetBootTime() uint64
func (*NsStatResponse) GetCode ¶
func (x *NsStatResponse) GetCode() int64
func (*NsStatResponse) GetCurrentCid ¶
func (x *NsStatResponse) GetCurrentCid() uint64
func (*NsStatResponse) GetCurrentFid ¶
func (x *NsStatResponse) GetCurrentFid() uint64
func (*NsStatResponse) GetEmsg ¶
func (x *NsStatResponse) GetEmsg() string
func (*NsStatResponse) GetFds ¶
func (x *NsStatResponse) GetFds() uint64
func (*NsStatResponse) GetMemGrowth ¶
func (x *NsStatResponse) GetMemGrowth() uint64
func (*NsStatResponse) GetMemResident ¶
func (x *NsStatResponse) GetMemResident() uint64
func (*NsStatResponse) GetMemShare ¶
func (x *NsStatResponse) GetMemShare() uint64
func (*NsStatResponse) GetMemVirtual ¶
func (x *NsStatResponse) GetMemVirtual() uint64
func (*NsStatResponse) GetNcontainers ¶
func (x *NsStatResponse) GetNcontainers() uint64
func (*NsStatResponse) GetNfiles ¶
func (x *NsStatResponse) GetNfiles() uint64
func (*NsStatResponse) GetState ¶
func (x *NsStatResponse) GetState() string
func (*NsStatResponse) GetThreads ¶
func (x *NsStatResponse) GetThreads() uint64
func (*NsStatResponse) GetUptime ¶
func (x *NsStatResponse) GetUptime() uint64
func (*NsStatResponse) ProtoMessage ¶
func (*NsStatResponse) ProtoMessage()
func (*NsStatResponse) ProtoReflect ¶ added in v2.13.0
func (x *NsStatResponse) ProtoReflect() protoreflect.Message
func (*NsStatResponse) Reset ¶
func (x *NsStatResponse) Reset()
func (*NsStatResponse) String ¶
func (x *NsStatResponse) String() string
type PingReply ¶
type PingReply struct { Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*PingReply) Descriptor
deprecated
func (*PingReply) GetMessage ¶
func (*PingReply) ProtoMessage ¶
func (*PingReply) ProtoMessage()
func (*PingReply) ProtoReflect ¶ added in v2.13.0
func (x *PingReply) ProtoReflect() protoreflect.Message
type PingRequest ¶
type PingRequest struct { Authkey string `protobuf:"bytes,1,opt,name=authkey,proto3" json:"authkey,omitempty"` Message []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*PingRequest) Descriptor
deprecated
func (*PingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) GetAuthkey ¶
func (x *PingRequest) GetAuthkey() string
func (*PingRequest) GetMessage ¶
func (x *PingRequest) GetMessage() []byte
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) ProtoReflect ¶ added in v2.13.0
func (x *PingRequest) ProtoReflect() protoreflect.Message
func (*PingRequest) Reset ¶
func (x *PingRequest) Reset()
func (*PingRequest) String ¶
func (x *PingRequest) String() string
type QUOTAENTRY ¶
type QUOTAENTRY int32
const ( QUOTAENTRY_NONE QUOTAENTRY = 0 QUOTAENTRY_VOLUME QUOTAENTRY = 1 QUOTAENTRY_INODE QUOTAENTRY = 2 )
func (QUOTAENTRY) Descriptor ¶ added in v2.13.0
func (QUOTAENTRY) Descriptor() protoreflect.EnumDescriptor
func (QUOTAENTRY) Enum ¶ added in v2.13.0
func (x QUOTAENTRY) Enum() *QUOTAENTRY
func (QUOTAENTRY) EnumDescriptor
deprecated
func (QUOTAENTRY) EnumDescriptor() ([]byte, []int)
Deprecated: Use QUOTAENTRY.Descriptor instead.
func (QUOTAENTRY) Number ¶ added in v2.13.0
func (x QUOTAENTRY) Number() protoreflect.EnumNumber
func (QUOTAENTRY) String ¶
func (x QUOTAENTRY) String() string
func (QUOTAENTRY) Type ¶ added in v2.13.0
func (QUOTAENTRY) Type() protoreflect.EnumType
type QUOTAOP ¶
type QUOTAOP int32
func (QUOTAOP) Descriptor ¶ added in v2.13.0
func (QUOTAOP) Descriptor() protoreflect.EnumDescriptor
func (QUOTAOP) EnumDescriptor
deprecated
func (QUOTAOP) Number ¶ added in v2.13.0
func (x QUOTAOP) Number() protoreflect.EnumNumber
func (QUOTAOP) Type ¶ added in v2.13.0
func (QUOTAOP) Type() protoreflect.EnumType
type QUOTATYPE ¶
type QUOTATYPE int32
func (QUOTATYPE) Descriptor ¶ added in v2.13.0
func (QUOTATYPE) Descriptor() protoreflect.EnumDescriptor
func (QUOTATYPE) EnumDescriptor
deprecated
func (QUOTATYPE) Number ¶ added in v2.13.0
func (x QUOTATYPE) Number() protoreflect.EnumNumber
func (QUOTATYPE) Type ¶ added in v2.13.0
func (QUOTATYPE) Type() protoreflect.EnumType
type QuotaProto ¶
type QuotaProto struct { Path []byte `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // quota node path Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // associated name for the given type Type QUOTATYPE `protobuf:"varint,3,opt,name=type,proto3,enum=eos.rpc.QUOTATYPE" json:"type,omitempty"` // user,group,project or all quota Usedbytes uint64 `protobuf:"varint,4,opt,name=usedbytes,proto3" json:"usedbytes,omitempty"` // bytes used physical Usedlogicalbytes uint64 `protobuf:"varint,5,opt,name=usedlogicalbytes,proto3" json:"usedlogicalbytes,omitempty"` // bytes used logical Usedfiles uint64 `protobuf:"varint,6,opt,name=usedfiles,proto3" json:"usedfiles,omitempty"` // number of files used Maxbytes uint64 `protobuf:"varint,7,opt,name=maxbytes,proto3" json:"maxbytes,omitempty"` // maximum number of bytes (volume quota) Maxlogicalbytes uint64 `protobuf:"varint,8,opt,name=maxlogicalbytes,proto3" json:"maxlogicalbytes,omitempty"` // maximum number of logical bytes (logical volume quota) Maxfiles uint64 `protobuf:"varint,9,opt,name=maxfiles,proto3" json:"maxfiles,omitempty"` // maximum number of files (inode quota) Percentageusedbytes float32 `protobuf:"fixed32,10,opt,name=percentageusedbytes,proto3" json:"percentageusedbytes,omitempty"` // percentage of volume quota used from 0 to 100 Percentageusedfiles float32 `protobuf:"fixed32,11,opt,name=percentageusedfiles,proto3" json:"percentageusedfiles,omitempty"` // percentag of inode quota used from 0 to 100 Statusbytes string `protobuf:"bytes,12,opt,name=statusbytes,proto3" json:"statusbytes,omitempty"` // status string for volume quota ok,warning,exceeded Statusfiles string `protobuf:"bytes,13,opt,name=statusfiles,proto3" json:"statusfiles,omitempty"` // status string for inode quota ok,warning,exceeded // contains filtered or unexported fields }
func (*QuotaProto) Descriptor
deprecated
func (*QuotaProto) Descriptor() ([]byte, []int)
Deprecated: Use QuotaProto.ProtoReflect.Descriptor instead.
func (*QuotaProto) GetMaxbytes ¶
func (x *QuotaProto) GetMaxbytes() uint64
func (*QuotaProto) GetMaxfiles ¶
func (x *QuotaProto) GetMaxfiles() uint64
func (*QuotaProto) GetMaxlogicalbytes ¶
func (x *QuotaProto) GetMaxlogicalbytes() uint64
func (*QuotaProto) GetName ¶
func (x *QuotaProto) GetName() string
func (*QuotaProto) GetPath ¶
func (x *QuotaProto) GetPath() []byte
func (*QuotaProto) GetPercentageusedbytes ¶
func (x *QuotaProto) GetPercentageusedbytes() float32
func (*QuotaProto) GetPercentageusedfiles ¶
func (x *QuotaProto) GetPercentageusedfiles() float32
func (*QuotaProto) GetStatusbytes ¶
func (x *QuotaProto) GetStatusbytes() string
func (*QuotaProto) GetStatusfiles ¶
func (x *QuotaProto) GetStatusfiles() string
func (*QuotaProto) GetType ¶
func (x *QuotaProto) GetType() QUOTATYPE
func (*QuotaProto) GetUsedbytes ¶
func (x *QuotaProto) GetUsedbytes() uint64
func (*QuotaProto) GetUsedfiles ¶
func (x *QuotaProto) GetUsedfiles() uint64
func (*QuotaProto) GetUsedlogicalbytes ¶
func (x *QuotaProto) GetUsedlogicalbytes() uint64
func (*QuotaProto) ProtoMessage ¶
func (*QuotaProto) ProtoMessage()
func (*QuotaProto) ProtoReflect ¶ added in v2.13.0
func (x *QuotaProto) ProtoReflect() protoreflect.Message
func (*QuotaProto) Reset ¶
func (x *QuotaProto) Reset()
func (*QuotaProto) String ¶
func (x *QuotaProto) String() string
type RoleId ¶
type RoleId struct { Uid uint64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"` Gid uint64 `protobuf:"varint,2,opt,name=gid,proto3" json:"gid,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` Groupname string `protobuf:"bytes,4,opt,name=groupname,proto3" json:"groupname,omitempty"` // contains filtered or unexported fields }
func (*RoleId) Descriptor
deprecated
func (*RoleId) GetGroupname ¶
func (*RoleId) GetUsername ¶
func (*RoleId) ProtoMessage ¶
func (*RoleId) ProtoMessage()
func (*RoleId) ProtoReflect ¶ added in v2.13.0
func (x *RoleId) ProtoReflect() protoreflect.Message
type ShareAuth ¶
type ShareAuth struct { // contains filtered or unexported fields }
func (*ShareAuth) Descriptor
deprecated
func (*ShareAuth) ProtoMessage ¶
func (*ShareAuth) ProtoMessage()
func (*ShareAuth) ProtoReflect ¶ added in v2.13.0
func (x *ShareAuth) ProtoReflect() protoreflect.Message
type ShareProto ¶
type ShareProto struct { // contains filtered or unexported fields }
func (*ShareProto) Descriptor
deprecated
func (*ShareProto) Descriptor() ([]byte, []int)
Deprecated: Use ShareProto.ProtoReflect.Descriptor instead.
func (*ShareProto) GetAllowtree ¶
func (x *ShareProto) GetAllowtree() bool
func (*ShareProto) GetExpires ¶
func (x *ShareProto) GetExpires() uint64
func (*ShareProto) GetGeneration ¶
func (x *ShareProto) GetGeneration() uint64
func (*ShareProto) GetGroup ¶
func (x *ShareProto) GetGroup() string
func (*ShareProto) GetOrigins ¶
func (x *ShareProto) GetOrigins() []*ShareAuth
func (*ShareProto) GetOwner ¶
func (x *ShareProto) GetOwner() string
func (*ShareProto) GetPath ¶
func (x *ShareProto) GetPath() string
func (*ShareProto) GetPermission ¶
func (x *ShareProto) GetPermission() string
func (*ShareProto) GetVtoken ¶
func (x *ShareProto) GetVtoken() string
func (*ShareProto) ProtoMessage ¶
func (*ShareProto) ProtoMessage()
func (*ShareProto) ProtoReflect ¶ added in v2.13.0
func (x *ShareProto) ProtoReflect() protoreflect.Message
func (*ShareProto) Reset ¶
func (x *ShareProto) Reset()
func (*ShareProto) String ¶
func (x *ShareProto) String() string
type ShareToken ¶
type ShareToken struct { // contains filtered or unexported fields }
func (*ShareToken) Descriptor
deprecated
func (*ShareToken) Descriptor() ([]byte, []int)
Deprecated: Use ShareToken.ProtoReflect.Descriptor instead.
func (*ShareToken) GetSeed ¶
func (x *ShareToken) GetSeed() int32
func (*ShareToken) GetSerialized ¶
func (x *ShareToken) GetSerialized() []byte
func (*ShareToken) GetSignature ¶
func (x *ShareToken) GetSignature() []byte
func (*ShareToken) GetToken ¶
func (x *ShareToken) GetToken() *ShareProto
func (*ShareToken) ProtoMessage ¶
func (*ShareToken) ProtoMessage()
func (*ShareToken) ProtoReflect ¶ added in v2.13.0
func (x *ShareToken) ProtoReflect() protoreflect.Message
func (*ShareToken) Reset ¶
func (x *ShareToken) Reset()
func (*ShareToken) String ¶
func (x *ShareToken) String() string
type TYPE ¶
type TYPE int32
func (TYPE) Descriptor ¶ added in v2.13.0
func (TYPE) Descriptor() protoreflect.EnumDescriptor
func (TYPE) EnumDescriptor
deprecated
func (TYPE) Number ¶ added in v2.13.0
func (x TYPE) Number() protoreflect.EnumNumber
func (TYPE) Type ¶ added in v2.13.0
func (TYPE) Type() protoreflect.EnumType
type Time ¶
type Time struct { Sec uint64 `protobuf:"varint,1,opt,name=sec,proto3" json:"sec,omitempty"` NSec uint64 `protobuf:"varint,2,opt,name=n_sec,json=nSec,proto3" json:"n_sec,omitempty"` // contains filtered or unexported fields }
func (*Time) Descriptor
deprecated
func (*Time) ProtoMessage ¶
func (*Time) ProtoMessage()
func (*Time) ProtoReflect ¶ added in v2.13.0
func (x *Time) ProtoReflect() protoreflect.Message
type UnimplementedEosServer ¶
type UnimplementedEosServer struct { }
UnimplementedEosServer must be embedded to have forward compatible implementations.
func (UnimplementedEosServer) ContainerInsert ¶
func (UnimplementedEosServer) ContainerInsert(context.Context, *ContainerInsertRequest) (*InsertReply, error)
func (UnimplementedEosServer) Exec ¶
func (UnimplementedEosServer) Exec(context.Context, *NSRequest) (*NSResponse, error)
func (UnimplementedEosServer) FileInsert ¶
func (UnimplementedEosServer) FileInsert(context.Context, *FileInsertRequest) (*InsertReply, error)
func (UnimplementedEosServer) Find ¶
func (UnimplementedEosServer) Find(*FindRequest, Eos_FindServer) error
func (UnimplementedEosServer) MD ¶
func (UnimplementedEosServer) MD(*MDRequest, Eos_MDServer) error
func (UnimplementedEosServer) ManilaServerRequest ¶
func (UnimplementedEosServer) ManilaServerRequest(context.Context, *ManilaRequest) (*ManilaResponse, error)
func (UnimplementedEosServer) NsStat ¶
func (UnimplementedEosServer) NsStat(context.Context, *NsStatRequest) (*NsStatResponse, error)
func (UnimplementedEosServer) Ping ¶
func (UnimplementedEosServer) Ping(context.Context, *PingRequest) (*PingReply, error)
type UnsafeEosServer ¶ added in v2.13.0
type UnsafeEosServer interface {
// contains filtered or unexported methods
}
UnsafeEosServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to EosServer will result in compilation errors.