Documentation ¶
Overview ¶
Package formicproto is a generated protocol buffer package.
It is generated from these files:
formic_api.proto
It has these top-level messages:
CheckRequest CheckResponse CreateFSRequest CreateFSResponse CreateRequest CreateResponse DeleteFSRequest DeleteFSResponse GetAttrRequest GetAttrResponse GetXAttrRequest GetXAttrResponse GrantAddressFSRequest GrantAddressFSResponse InitFSRequest InitFSResponse ListFSRequest ListFSResponse ListXAttrRequest ListXAttrResponse LookupRequest LookupResponse MkDirRequest MkDirResponse ReadLinkRequest ReadLinkResponse ReadDirAllRequest ReadDirAllResponse ReadDirAllEnt ReadRequest ReadResponse RemoveRequest RemoveResponse RemoveXAttrRequest RemoveXAttrResponse RenameRequest RenameResponse RevokeAddressFSRequest RevokeAddressFSResponse SetAttrRequest SetAttrResponse SetXAttrRequest SetXAttrResponse ShowFSRequest ShowFSResponse StatFSRequest StatFSResponse SymLinkRequest SymLinkResponse UpdateFSRequest UpdateFSResponse WriteRequest WriteResponse INodeEntry Attr DirEntry Tombstone FileBlock Dirty MetaAccount2Filesystem MetaFilesystemEntry MetaFilesystem2Address FSIDName
Index ¶
- func RegisterFormicServer(s *grpc.Server, srv FormicServer)
- type Attr
- func (*Attr) Descriptor() ([]byte, []int)
- func (m *Attr) GetATime() int64
- func (m *Attr) GetCTime() int64
- func (m *Attr) GetCrTime() int64
- func (m *Attr) GetGID() uint32
- func (m *Attr) GetINode() uint64
- func (m *Attr) GetMTime() int64
- func (m *Attr) GetMode() uint32
- func (m *Attr) GetSize() uint64
- func (m *Attr) GetUID() uint32
- func (m *Attr) GetValid() int32
- func (*Attr) ProtoMessage()
- func (m *Attr) Reset()
- func (m *Attr) String() string
- type CheckRequest
- type CheckResponse
- type CreateFSRequest
- type CreateFSResponse
- func (*CreateFSResponse) Descriptor() ([]byte, []int)
- func (m *CreateFSResponse) GetErr() string
- func (m *CreateFSResponse) GetFSID() string
- func (m *CreateFSResponse) GetRPCID() uint32
- func (*CreateFSResponse) ProtoMessage()
- func (m *CreateFSResponse) Reset()
- func (m *CreateFSResponse) String() string
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)
- func (m *CreateRequest) GetChildAttr() *Attr
- func (m *CreateRequest) GetChildName() string
- func (m *CreateRequest) GetParentINode() uint64
- func (m *CreateRequest) GetRPCID() uint32
- func (*CreateRequest) ProtoMessage()
- func (m *CreateRequest) Reset()
- func (m *CreateRequest) String() string
- type CreateResponse
- type DeleteFSRequest
- type DeleteFSResponse
- type DirEntry
- func (*DirEntry) Descriptor() ([]byte, []int)
- func (m *DirEntry) GetID() []byte
- func (m *DirEntry) GetName() string
- func (m *DirEntry) GetTombstone() *Tombstone
- func (m *DirEntry) GetType() uint32
- func (m *DirEntry) GetVersion() uint32
- func (*DirEntry) ProtoMessage()
- func (m *DirEntry) Reset()
- func (m *DirEntry) String() string
- type Dirty
- type FSIDName
- type FileBlock
- type FormicClient
- type FormicServer
- type Formic_CheckClient
- type Formic_CheckServer
- type Formic_CreateClient
- type Formic_CreateFSClient
- type Formic_CreateFSServer
- type Formic_CreateServer
- type Formic_DeleteFSClient
- type Formic_DeleteFSServer
- type Formic_GetAttrClient
- type Formic_GetAttrServer
- type Formic_GetXAttrClient
- type Formic_GetXAttrServer
- type Formic_GrantAddressFSClient
- type Formic_GrantAddressFSServer
- type Formic_InitFSClient
- type Formic_InitFSServer
- type Formic_ListFSClient
- type Formic_ListFSServer
- type Formic_ListXAttrClient
- type Formic_ListXAttrServer
- type Formic_LookupClient
- type Formic_LookupServer
- type Formic_MkDirClient
- type Formic_MkDirServer
- type Formic_ReadClient
- type Formic_ReadDirAllClient
- type Formic_ReadDirAllServer
- type Formic_ReadLinkClient
- type Formic_ReadLinkServer
- type Formic_ReadServer
- type Formic_RemoveClient
- type Formic_RemoveServer
- type Formic_RemoveXAttrClient
- type Formic_RemoveXAttrServer
- type Formic_RenameClient
- type Formic_RenameServer
- type Formic_RevokeAddressFSClient
- type Formic_RevokeAddressFSServer
- type Formic_SetAttrClient
- type Formic_SetAttrServer
- type Formic_SetXAttrClient
- type Formic_SetXAttrServer
- type Formic_ShowFSClient
- type Formic_ShowFSServer
- type Formic_StatFSClient
- type Formic_StatFSServer
- type Formic_SymLinkClient
- type Formic_SymLinkServer
- type Formic_UpdateFSClient
- type Formic_UpdateFSServer
- type Formic_WriteClient
- type Formic_WriteServer
- type GetAttrRequest
- type GetAttrResponse
- type GetXAttrRequest
- func (*GetXAttrRequest) Descriptor() ([]byte, []int)
- func (m *GetXAttrRequest) GetINode() uint64
- func (m *GetXAttrRequest) GetName() string
- func (m *GetXAttrRequest) GetPosition() uint32
- func (m *GetXAttrRequest) GetRPCID() uint32
- func (m *GetXAttrRequest) GetSize() uint32
- func (*GetXAttrRequest) ProtoMessage()
- func (m *GetXAttrRequest) Reset()
- func (m *GetXAttrRequest) String() string
- type GetXAttrResponse
- func (*GetXAttrResponse) Descriptor() ([]byte, []int)
- func (m *GetXAttrResponse) GetErr() string
- func (m *GetXAttrResponse) GetRPCID() uint32
- func (m *GetXAttrResponse) GetXAttr() []byte
- func (*GetXAttrResponse) ProtoMessage()
- func (m *GetXAttrResponse) Reset()
- func (m *GetXAttrResponse) String() string
- type GrantAddressFSRequest
- func (*GrantAddressFSRequest) Descriptor() ([]byte, []int)
- func (m *GrantAddressFSRequest) GetAddress() string
- func (m *GrantAddressFSRequest) GetFSID() string
- func (m *GrantAddressFSRequest) GetRPCID() uint32
- func (m *GrantAddressFSRequest) GetToken() string
- func (*GrantAddressFSRequest) ProtoMessage()
- func (m *GrantAddressFSRequest) Reset()
- func (m *GrantAddressFSRequest) String() string
- type GrantAddressFSResponse
- type INodeEntry
- func (*INodeEntry) Descriptor() ([]byte, []int)
- func (m *INodeEntry) GetAttr() *Attr
- func (m *INodeEntry) GetBlockSize() uint64
- func (m *INodeEntry) GetBlocks() uint64
- func (m *INodeEntry) GetFSID() []byte
- func (m *INodeEntry) GetINode() uint64
- func (m *INodeEntry) GetIsDir() bool
- func (m *INodeEntry) GetIsLink() bool
- func (m *INodeEntry) GetNodeCount() uint64
- func (m *INodeEntry) GetParent() uint64
- func (m *INodeEntry) GetTarget() string
- func (m *INodeEntry) GetVersion() uint32
- func (m *INodeEntry) GetXAttr() map[string][]byte
- func (*INodeEntry) ProtoMessage()
- func (m *INodeEntry) Reset()
- func (m *INodeEntry) String() string
- type InitFSRequest
- type InitFSResponse
- type ListFSRequest
- type ListFSResponse
- type ListXAttrRequest
- func (*ListXAttrRequest) Descriptor() ([]byte, []int)
- func (m *ListXAttrRequest) GetINode() uint64
- func (m *ListXAttrRequest) GetPosition() uint32
- func (m *ListXAttrRequest) GetRPCID() uint32
- func (m *ListXAttrRequest) GetSize() uint32
- func (*ListXAttrRequest) ProtoMessage()
- func (m *ListXAttrRequest) Reset()
- func (m *ListXAttrRequest) String() string
- type ListXAttrResponse
- func (*ListXAttrResponse) Descriptor() ([]byte, []int)
- func (m *ListXAttrResponse) GetErr() string
- func (m *ListXAttrResponse) GetRPCID() uint32
- func (m *ListXAttrResponse) GetXAttr() []byte
- func (*ListXAttrResponse) ProtoMessage()
- func (m *ListXAttrResponse) Reset()
- func (m *ListXAttrResponse) String() string
- type LookupRequest
- type LookupResponse
- type MetaAccount2Filesystem
- type MetaFilesystem2Address
- type MetaFilesystemEntry
- func (*MetaFilesystemEntry) Descriptor() ([]byte, []int)
- func (m *MetaFilesystemEntry) GetAID() string
- func (m *MetaFilesystemEntry) GetFSID() string
- func (m *MetaFilesystemEntry) GetName() string
- func (*MetaFilesystemEntry) ProtoMessage()
- func (m *MetaFilesystemEntry) Reset()
- func (m *MetaFilesystemEntry) String() string
- type MkDirRequest
- func (*MkDirRequest) Descriptor() ([]byte, []int)
- func (m *MkDirRequest) GetAttr() *Attr
- func (m *MkDirRequest) GetName() string
- func (m *MkDirRequest) GetParent() uint64
- func (m *MkDirRequest) GetRPCID() uint32
- func (*MkDirRequest) ProtoMessage()
- func (m *MkDirRequest) Reset()
- func (m *MkDirRequest) String() string
- type MkDirResponse
- type ReadDirAllEnt
- type ReadDirAllRequest
- type ReadDirAllResponse
- func (*ReadDirAllResponse) Descriptor() ([]byte, []int)
- func (m *ReadDirAllResponse) GetEnts() []*ReadDirAllEnt
- func (m *ReadDirAllResponse) GetErr() string
- func (m *ReadDirAllResponse) GetRPCID() uint32
- func (*ReadDirAllResponse) ProtoMessage()
- func (m *ReadDirAllResponse) Reset()
- func (m *ReadDirAllResponse) String() string
- type ReadLinkRequest
- type ReadLinkResponse
- func (*ReadLinkResponse) Descriptor() ([]byte, []int)
- func (m *ReadLinkResponse) GetErr() string
- func (m *ReadLinkResponse) GetRPCID() uint32
- func (m *ReadLinkResponse) GetTarget() string
- func (*ReadLinkResponse) ProtoMessage()
- func (m *ReadLinkResponse) Reset()
- func (m *ReadLinkResponse) String() string
- type ReadRequest
- func (*ReadRequest) Descriptor() ([]byte, []int)
- func (m *ReadRequest) GetINode() uint64
- func (m *ReadRequest) GetOffset() int64
- func (m *ReadRequest) GetRPCID() uint32
- func (m *ReadRequest) GetSize() int64
- func (*ReadRequest) ProtoMessage()
- func (m *ReadRequest) Reset()
- func (m *ReadRequest) String() string
- type ReadResponse
- type RemoveRequest
- type RemoveResponse
- type RemoveXAttrRequest
- func (*RemoveXAttrRequest) Descriptor() ([]byte, []int)
- func (m *RemoveXAttrRequest) GetINode() uint64
- func (m *RemoveXAttrRequest) GetName() string
- func (m *RemoveXAttrRequest) GetRPCID() uint32
- func (*RemoveXAttrRequest) ProtoMessage()
- func (m *RemoveXAttrRequest) Reset()
- func (m *RemoveXAttrRequest) String() string
- type RemoveXAttrResponse
- type RenameRequest
- func (*RenameRequest) Descriptor() ([]byte, []int)
- func (m *RenameRequest) GetNewName() string
- func (m *RenameRequest) GetNewParent() uint64
- func (m *RenameRequest) GetOldName() string
- func (m *RenameRequest) GetOldParent() uint64
- func (m *RenameRequest) GetRPCID() uint32
- func (*RenameRequest) ProtoMessage()
- func (m *RenameRequest) Reset()
- func (m *RenameRequest) String() string
- type RenameResponse
- type RevokeAddressFSRequest
- func (*RevokeAddressFSRequest) Descriptor() ([]byte, []int)
- func (m *RevokeAddressFSRequest) GetAddress() string
- func (m *RevokeAddressFSRequest) GetFSID() string
- func (m *RevokeAddressFSRequest) GetRPCID() uint32
- func (m *RevokeAddressFSRequest) GetToken() string
- func (*RevokeAddressFSRequest) ProtoMessage()
- func (m *RevokeAddressFSRequest) Reset()
- func (m *RevokeAddressFSRequest) String() string
- type RevokeAddressFSResponse
- func (*RevokeAddressFSResponse) Descriptor() ([]byte, []int)
- func (m *RevokeAddressFSResponse) GetErr() string
- func (m *RevokeAddressFSResponse) GetRPCID() uint32
- func (*RevokeAddressFSResponse) ProtoMessage()
- func (m *RevokeAddressFSResponse) Reset()
- func (m *RevokeAddressFSResponse) String() string
- type SetAttrRequest
- type SetAttrResponse
- type SetXAttrRequest
- func (*SetXAttrRequest) Descriptor() ([]byte, []int)
- func (m *SetXAttrRequest) GetFlags() uint32
- func (m *SetXAttrRequest) GetINode() uint64
- func (m *SetXAttrRequest) GetName() string
- func (m *SetXAttrRequest) GetPosition() uint32
- func (m *SetXAttrRequest) GetRPCID() uint32
- func (m *SetXAttrRequest) GetValue() []byte
- func (*SetXAttrRequest) ProtoMessage()
- func (m *SetXAttrRequest) Reset()
- func (m *SetXAttrRequest) String() string
- type SetXAttrResponse
- type ShowFSRequest
- type ShowFSResponse
- func (*ShowFSResponse) Descriptor() ([]byte, []int)
- func (m *ShowFSResponse) GetAddresses() []string
- func (m *ShowFSResponse) GetErr() string
- func (m *ShowFSResponse) GetName() string
- func (m *ShowFSResponse) GetRPCID() uint32
- func (*ShowFSResponse) ProtoMessage()
- func (m *ShowFSResponse) Reset()
- func (m *ShowFSResponse) String() string
- type StatFSRequest
- type StatFSResponse
- func (*StatFSResponse) Descriptor() ([]byte, []int)
- func (m *StatFSResponse) GetBAvail() uint64
- func (m *StatFSResponse) GetBFree() uint64
- func (m *StatFSResponse) GetBSize() uint32
- func (m *StatFSResponse) GetBlocks() uint64
- func (m *StatFSResponse) GetErr() string
- func (m *StatFSResponse) GetFFree() uint64
- func (m *StatFSResponse) GetFiles() uint64
- func (m *StatFSResponse) GetFrSize() uint32
- func (m *StatFSResponse) GetNameLen() uint32
- func (m *StatFSResponse) GetRPCID() uint32
- func (*StatFSResponse) ProtoMessage()
- func (m *StatFSResponse) Reset()
- func (m *StatFSResponse) String() string
- type SymLinkRequest
- func (*SymLinkRequest) Descriptor() ([]byte, []int)
- func (m *SymLinkRequest) GetGID() uint32
- func (m *SymLinkRequest) GetName() string
- func (m *SymLinkRequest) GetParent() uint64
- func (m *SymLinkRequest) GetRPCID() uint32
- func (m *SymLinkRequest) GetTarget() string
- func (m *SymLinkRequest) GetUID() uint32
- func (*SymLinkRequest) ProtoMessage()
- func (m *SymLinkRequest) Reset()
- func (m *SymLinkRequest) String() string
- type SymLinkResponse
- type Tombstone
- func (*Tombstone) Descriptor() ([]byte, []int)
- func (m *Tombstone) GetBlocks() uint64
- func (m *Tombstone) GetDTime() int64
- func (m *Tombstone) GetFSID() string
- func (m *Tombstone) GetINode() uint64
- func (m *Tombstone) GetQTime() int64
- func (*Tombstone) ProtoMessage()
- func (m *Tombstone) Reset()
- func (m *Tombstone) String() string
- type UpdateFSRequest
- func (*UpdateFSRequest) Descriptor() ([]byte, []int)
- func (m *UpdateFSRequest) GetFSID() string
- func (m *UpdateFSRequest) GetNewName() string
- func (m *UpdateFSRequest) GetRPCID() uint32
- func (m *UpdateFSRequest) GetToken() string
- func (*UpdateFSRequest) ProtoMessage()
- func (m *UpdateFSRequest) Reset()
- func (m *UpdateFSRequest) String() string
- type UpdateFSResponse
- type WriteRequest
- func (*WriteRequest) Descriptor() ([]byte, []int)
- func (m *WriteRequest) GetINode() uint64
- func (m *WriteRequest) GetOffset() int64
- func (m *WriteRequest) GetPayload() []byte
- func (m *WriteRequest) GetRPCID() uint32
- func (*WriteRequest) ProtoMessage()
- func (m *WriteRequest) Reset()
- func (m *WriteRequest) String() string
- type WriteResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterFormicServer ¶
func RegisterFormicServer(s *grpc.Server, srv FormicServer)
Types ¶
type Attr ¶
type Attr struct { INode uint64 `protobuf:"varint,1,opt,name=INode" json:"INode,omitempty"` ATime int64 `protobuf:"varint,2,opt,name=ATime" json:"ATime,omitempty"` MTime int64 `protobuf:"varint,3,opt,name=MTime" json:"MTime,omitempty"` CTime int64 `protobuf:"varint,4,opt,name=CTime" json:"CTime,omitempty"` CrTime int64 `protobuf:"varint,5,opt,name=CrTime" json:"CrTime,omitempty"` Mode uint32 `protobuf:"varint,6,opt,name=Mode" json:"Mode,omitempty"` Valid int32 `protobuf:"varint,7,opt,name=Valid" json:"Valid,omitempty"` Size uint64 `protobuf:"varint,8,opt,name=Size" json:"Size,omitempty"` UID uint32 `protobuf:"varint,9,opt,name=UID" json:"UID,omitempty"` GID uint32 `protobuf:"varint,10,opt,name=GID" json:"GID,omitempty"` }
func (*Attr) Descriptor ¶
func (*Attr) ProtoMessage ¶
func (*Attr) ProtoMessage()
type CheckRequest ¶
type CheckRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` ParentINode uint64 `protobuf:"varint,2,opt,name=ParentINode" json:"ParentINode,omitempty"` ChildName string `protobuf:"bytes,3,opt,name=ChildName" json:"ChildName,omitempty"` }
func (*CheckRequest) Descriptor ¶
func (*CheckRequest) Descriptor() ([]byte, []int)
func (*CheckRequest) GetChildName ¶
func (m *CheckRequest) GetChildName() string
func (*CheckRequest) GetParentINode ¶
func (m *CheckRequest) GetParentINode() uint64
func (*CheckRequest) GetRPCID ¶
func (m *CheckRequest) GetRPCID() uint32
func (*CheckRequest) ProtoMessage ¶
func (*CheckRequest) ProtoMessage()
func (*CheckRequest) Reset ¶
func (m *CheckRequest) Reset()
func (*CheckRequest) String ¶
func (m *CheckRequest) String() string
type CheckResponse ¶
type CheckResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Response string `protobuf:"bytes,2,opt,name=Response" json:"Response,omitempty"` Err string `protobuf:"bytes,3,opt,name=Err" json:"Err,omitempty"` }
func (*CheckResponse) Descriptor ¶
func (*CheckResponse) Descriptor() ([]byte, []int)
func (*CheckResponse) GetErr ¶
func (m *CheckResponse) GetErr() string
func (*CheckResponse) GetRPCID ¶
func (m *CheckResponse) GetRPCID() uint32
func (*CheckResponse) GetResponse ¶
func (m *CheckResponse) GetResponse() string
func (*CheckResponse) ProtoMessage ¶
func (*CheckResponse) ProtoMessage()
func (*CheckResponse) Reset ¶
func (m *CheckResponse) Reset()
func (*CheckResponse) String ¶
func (m *CheckResponse) String() string
type CreateFSRequest ¶
type CreateFSRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Token string `protobuf:"bytes,2,opt,name=Token" json:"Token,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name" json:"Name,omitempty"` }
func (*CreateFSRequest) Descriptor ¶
func (*CreateFSRequest) Descriptor() ([]byte, []int)
func (*CreateFSRequest) GetName ¶
func (m *CreateFSRequest) GetName() string
func (*CreateFSRequest) GetRPCID ¶
func (m *CreateFSRequest) GetRPCID() uint32
func (*CreateFSRequest) GetToken ¶
func (m *CreateFSRequest) GetToken() string
func (*CreateFSRequest) ProtoMessage ¶
func (*CreateFSRequest) ProtoMessage()
func (*CreateFSRequest) Reset ¶
func (m *CreateFSRequest) Reset()
func (*CreateFSRequest) String ¶
func (m *CreateFSRequest) String() string
type CreateFSResponse ¶
type CreateFSResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` FSID string `protobuf:"bytes,2,opt,name=FSID" json:"FSID,omitempty"` Err string `protobuf:"bytes,3,opt,name=Err" json:"Err,omitempty"` }
func (*CreateFSResponse) Descriptor ¶
func (*CreateFSResponse) Descriptor() ([]byte, []int)
func (*CreateFSResponse) GetErr ¶
func (m *CreateFSResponse) GetErr() string
func (*CreateFSResponse) GetFSID ¶
func (m *CreateFSResponse) GetFSID() string
func (*CreateFSResponse) GetRPCID ¶
func (m *CreateFSResponse) GetRPCID() uint32
func (*CreateFSResponse) ProtoMessage ¶
func (*CreateFSResponse) ProtoMessage()
func (*CreateFSResponse) Reset ¶
func (m *CreateFSResponse) Reset()
func (*CreateFSResponse) String ¶
func (m *CreateFSResponse) String() string
type CreateRequest ¶
type CreateRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` ParentINode uint64 `protobuf:"varint,2,opt,name=ParentINode" json:"ParentINode,omitempty"` ChildName string `protobuf:"bytes,3,opt,name=ChildName" json:"ChildName,omitempty"` ChildAttr *Attr `protobuf:"bytes,4,opt,name=ChildAttr" json:"ChildAttr,omitempty"` }
func (*CreateRequest) Descriptor ¶
func (*CreateRequest) Descriptor() ([]byte, []int)
func (*CreateRequest) GetChildAttr ¶
func (m *CreateRequest) GetChildAttr() *Attr
func (*CreateRequest) GetChildName ¶
func (m *CreateRequest) GetChildName() string
func (*CreateRequest) GetParentINode ¶
func (m *CreateRequest) GetParentINode() uint64
func (*CreateRequest) GetRPCID ¶
func (m *CreateRequest) GetRPCID() uint32
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) Reset ¶
func (m *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (m *CreateRequest) String() string
type CreateResponse ¶
type CreateResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` ChildAttr *Attr `protobuf:"bytes,2,opt,name=ChildAttr" json:"ChildAttr,omitempty"` Err string `protobuf:"bytes,3,opt,name=Err" json:"Err,omitempty"` }
func (*CreateResponse) Descriptor ¶
func (*CreateResponse) Descriptor() ([]byte, []int)
func (*CreateResponse) GetChildAttr ¶
func (m *CreateResponse) GetChildAttr() *Attr
func (*CreateResponse) GetErr ¶
func (m *CreateResponse) GetErr() string
func (*CreateResponse) GetRPCID ¶
func (m *CreateResponse) GetRPCID() uint32
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) Reset ¶
func (m *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (m *CreateResponse) String() string
type DeleteFSRequest ¶
type DeleteFSRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Token string `protobuf:"bytes,2,opt,name=Token" json:"Token,omitempty"` FSID string `protobuf:"bytes,3,opt,name=FSID" json:"FSID,omitempty"` }
func (*DeleteFSRequest) Descriptor ¶
func (*DeleteFSRequest) Descriptor() ([]byte, []int)
func (*DeleteFSRequest) GetFSID ¶
func (m *DeleteFSRequest) GetFSID() string
func (*DeleteFSRequest) GetRPCID ¶
func (m *DeleteFSRequest) GetRPCID() uint32
func (*DeleteFSRequest) GetToken ¶
func (m *DeleteFSRequest) GetToken() string
func (*DeleteFSRequest) ProtoMessage ¶
func (*DeleteFSRequest) ProtoMessage()
func (*DeleteFSRequest) Reset ¶
func (m *DeleteFSRequest) Reset()
func (*DeleteFSRequest) String ¶
func (m *DeleteFSRequest) String() string
type DeleteFSResponse ¶
type DeleteFSResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Err string `protobuf:"bytes,2,opt,name=Err" json:"Err,omitempty"` }
func (*DeleteFSResponse) Descriptor ¶
func (*DeleteFSResponse) Descriptor() ([]byte, []int)
func (*DeleteFSResponse) GetErr ¶
func (m *DeleteFSResponse) GetErr() string
func (*DeleteFSResponse) GetRPCID ¶
func (m *DeleteFSResponse) GetRPCID() uint32
func (*DeleteFSResponse) ProtoMessage ¶
func (*DeleteFSResponse) ProtoMessage()
func (*DeleteFSResponse) Reset ¶
func (m *DeleteFSResponse) Reset()
func (*DeleteFSResponse) String ¶
func (m *DeleteFSResponse) String() string
type DirEntry ¶
type DirEntry struct { Version uint32 `protobuf:"varint,1,opt,name=Version" json:"Version,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"` ID []byte `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"` Tombstone *Tombstone `protobuf:"bytes,4,opt,name=Tombstone" json:"Tombstone,omitempty"` Type uint32 `protobuf:"varint,5,opt,name=Type" json:"Type,omitempty"` }
func (*DirEntry) Descriptor ¶
func (*DirEntry) GetTombstone ¶
func (*DirEntry) GetVersion ¶
func (*DirEntry) ProtoMessage ¶
func (*DirEntry) ProtoMessage()
type Dirty ¶
type Dirty struct { DTime int64 `protobuf:"varint,1,opt,name=DTime" json:"DTime,omitempty"` QTime int64 `protobuf:"varint,2,opt,name=QTime" json:"QTime,omitempty"` FSID string `protobuf:"bytes,3,opt,name=FSID" json:"FSID,omitempty"` INode uint64 `protobuf:"varint,4,opt,name=INode" json:"INode,omitempty"` Blocks uint64 `protobuf:"varint,5,opt,name=Blocks" json:"Blocks,omitempty"` }
func (*Dirty) Descriptor ¶
func (*Dirty) ProtoMessage ¶
func (*Dirty) ProtoMessage()
type FSIDName ¶
type FSIDName struct { FSID string `protobuf:"bytes,1,opt,name=FSID" json:"FSID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"` }
func (*FSIDName) Descriptor ¶
func (*FSIDName) ProtoMessage ¶
func (*FSIDName) ProtoMessage()
type FileBlock ¶
type FileBlock struct { Version uint32 `protobuf:"varint,1,opt,name=Version" json:"Version,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=Data,proto3" json:"Data,omitempty"` Checksum uint32 `protobuf:"varint,3,opt,name=Checksum" json:"Checksum,omitempty"` }
func (*FileBlock) Descriptor ¶
func (*FileBlock) GetChecksum ¶
func (*FileBlock) GetVersion ¶
func (*FileBlock) ProtoMessage ¶
func (*FileBlock) ProtoMessage()
type FormicClient ¶
type FormicClient interface { Check(ctx context.Context, opts ...grpc.CallOption) (Formic_CheckClient, error) CreateFS(ctx context.Context, opts ...grpc.CallOption) (Formic_CreateFSClient, error) Create(ctx context.Context, opts ...grpc.CallOption) (Formic_CreateClient, error) DeleteFS(ctx context.Context, opts ...grpc.CallOption) (Formic_DeleteFSClient, error) GetAttr(ctx context.Context, opts ...grpc.CallOption) (Formic_GetAttrClient, error) GetXAttr(ctx context.Context, opts ...grpc.CallOption) (Formic_GetXAttrClient, error) GrantAddressFS(ctx context.Context, opts ...grpc.CallOption) (Formic_GrantAddressFSClient, error) InitFS(ctx context.Context, opts ...grpc.CallOption) (Formic_InitFSClient, error) ListFS(ctx context.Context, opts ...grpc.CallOption) (Formic_ListFSClient, error) ListXAttr(ctx context.Context, opts ...grpc.CallOption) (Formic_ListXAttrClient, error) Lookup(ctx context.Context, opts ...grpc.CallOption) (Formic_LookupClient, error) MkDir(ctx context.Context, opts ...grpc.CallOption) (Formic_MkDirClient, error) ReadDirAll(ctx context.Context, opts ...grpc.CallOption) (Formic_ReadDirAllClient, error) ReadLink(ctx context.Context, opts ...grpc.CallOption) (Formic_ReadLinkClient, error) Read(ctx context.Context, opts ...grpc.CallOption) (Formic_ReadClient, error) Remove(ctx context.Context, opts ...grpc.CallOption) (Formic_RemoveClient, error) RemoveXAttr(ctx context.Context, opts ...grpc.CallOption) (Formic_RemoveXAttrClient, error) Rename(ctx context.Context, opts ...grpc.CallOption) (Formic_RenameClient, error) RevokeAddressFS(ctx context.Context, opts ...grpc.CallOption) (Formic_RevokeAddressFSClient, error) SetAttr(ctx context.Context, opts ...grpc.CallOption) (Formic_SetAttrClient, error) SetXAttr(ctx context.Context, opts ...grpc.CallOption) (Formic_SetXAttrClient, error) ShowFS(ctx context.Context, opts ...grpc.CallOption) (Formic_ShowFSClient, error) StatFS(ctx context.Context, opts ...grpc.CallOption) (Formic_StatFSClient, error) SymLink(ctx context.Context, opts ...grpc.CallOption) (Formic_SymLinkClient, error) UpdateFS(ctx context.Context, opts ...grpc.CallOption) (Formic_UpdateFSClient, error) Write(ctx context.Context, opts ...grpc.CallOption) (Formic_WriteClient, error) }
func NewFormicClient ¶
func NewFormicClient(cc *grpc.ClientConn) FormicClient
type FormicServer ¶
type FormicServer interface { Check(Formic_CheckServer) error CreateFS(Formic_CreateFSServer) error Create(Formic_CreateServer) error DeleteFS(Formic_DeleteFSServer) error GetAttr(Formic_GetAttrServer) error GetXAttr(Formic_GetXAttrServer) error GrantAddressFS(Formic_GrantAddressFSServer) error InitFS(Formic_InitFSServer) error ListFS(Formic_ListFSServer) error ListXAttr(Formic_ListXAttrServer) error Lookup(Formic_LookupServer) error MkDir(Formic_MkDirServer) error ReadDirAll(Formic_ReadDirAllServer) error ReadLink(Formic_ReadLinkServer) error Read(Formic_ReadServer) error Remove(Formic_RemoveServer) error RemoveXAttr(Formic_RemoveXAttrServer) error Rename(Formic_RenameServer) error RevokeAddressFS(Formic_RevokeAddressFSServer) error SetAttr(Formic_SetAttrServer) error SetXAttr(Formic_SetXAttrServer) error ShowFS(Formic_ShowFSServer) error StatFS(Formic_StatFSServer) error SymLink(Formic_SymLinkServer) error UpdateFS(Formic_UpdateFSServer) error Write(Formic_WriteServer) error }
type Formic_CheckClient ¶
type Formic_CheckClient interface { Send(*CheckRequest) error Recv() (*CheckResponse, error) grpc.ClientStream }
type Formic_CheckServer ¶
type Formic_CheckServer interface { Send(*CheckResponse) error Recv() (*CheckRequest, error) grpc.ServerStream }
type Formic_CreateClient ¶
type Formic_CreateClient interface { Send(*CreateRequest) error Recv() (*CreateResponse, error) grpc.ClientStream }
type Formic_CreateFSClient ¶
type Formic_CreateFSClient interface { Send(*CreateFSRequest) error Recv() (*CreateFSResponse, error) grpc.ClientStream }
type Formic_CreateFSServer ¶
type Formic_CreateFSServer interface { Send(*CreateFSResponse) error Recv() (*CreateFSRequest, error) grpc.ServerStream }
type Formic_CreateServer ¶
type Formic_CreateServer interface { Send(*CreateResponse) error Recv() (*CreateRequest, error) grpc.ServerStream }
type Formic_DeleteFSClient ¶
type Formic_DeleteFSClient interface { Send(*DeleteFSRequest) error Recv() (*DeleteFSResponse, error) grpc.ClientStream }
type Formic_DeleteFSServer ¶
type Formic_DeleteFSServer interface { Send(*DeleteFSResponse) error Recv() (*DeleteFSRequest, error) grpc.ServerStream }
type Formic_GetAttrClient ¶
type Formic_GetAttrClient interface { Send(*GetAttrRequest) error Recv() (*GetAttrResponse, error) grpc.ClientStream }
type Formic_GetAttrServer ¶
type Formic_GetAttrServer interface { Send(*GetAttrResponse) error Recv() (*GetAttrRequest, error) grpc.ServerStream }
type Formic_GetXAttrClient ¶
type Formic_GetXAttrClient interface { Send(*GetXAttrRequest) error Recv() (*GetXAttrResponse, error) grpc.ClientStream }
type Formic_GetXAttrServer ¶
type Formic_GetXAttrServer interface { Send(*GetXAttrResponse) error Recv() (*GetXAttrRequest, error) grpc.ServerStream }
type Formic_GrantAddressFSClient ¶
type Formic_GrantAddressFSClient interface { Send(*GrantAddressFSRequest) error Recv() (*GrantAddressFSResponse, error) grpc.ClientStream }
type Formic_GrantAddressFSServer ¶
type Formic_GrantAddressFSServer interface { Send(*GrantAddressFSResponse) error Recv() (*GrantAddressFSRequest, error) grpc.ServerStream }
type Formic_InitFSClient ¶
type Formic_InitFSClient interface { Send(*InitFSRequest) error Recv() (*InitFSResponse, error) grpc.ClientStream }
type Formic_InitFSServer ¶
type Formic_InitFSServer interface { Send(*InitFSResponse) error Recv() (*InitFSRequest, error) grpc.ServerStream }
type Formic_ListFSClient ¶
type Formic_ListFSClient interface { Send(*ListFSRequest) error Recv() (*ListFSResponse, error) grpc.ClientStream }
type Formic_ListFSServer ¶
type Formic_ListFSServer interface { Send(*ListFSResponse) error Recv() (*ListFSRequest, error) grpc.ServerStream }
type Formic_ListXAttrClient ¶
type Formic_ListXAttrClient interface { Send(*ListXAttrRequest) error Recv() (*ListXAttrResponse, error) grpc.ClientStream }
type Formic_ListXAttrServer ¶
type Formic_ListXAttrServer interface { Send(*ListXAttrResponse) error Recv() (*ListXAttrRequest, error) grpc.ServerStream }
type Formic_LookupClient ¶
type Formic_LookupClient interface { Send(*LookupRequest) error Recv() (*LookupResponse, error) grpc.ClientStream }
type Formic_LookupServer ¶
type Formic_LookupServer interface { Send(*LookupResponse) error Recv() (*LookupRequest, error) grpc.ServerStream }
type Formic_MkDirClient ¶
type Formic_MkDirClient interface { Send(*MkDirRequest) error Recv() (*MkDirResponse, error) grpc.ClientStream }
type Formic_MkDirServer ¶
type Formic_MkDirServer interface { Send(*MkDirResponse) error Recv() (*MkDirRequest, error) grpc.ServerStream }
type Formic_ReadClient ¶
type Formic_ReadClient interface { Send(*ReadRequest) error Recv() (*ReadResponse, error) grpc.ClientStream }
type Formic_ReadDirAllClient ¶
type Formic_ReadDirAllClient interface { Send(*ReadDirAllRequest) error Recv() (*ReadDirAllResponse, error) grpc.ClientStream }
type Formic_ReadDirAllServer ¶
type Formic_ReadDirAllServer interface { Send(*ReadDirAllResponse) error Recv() (*ReadDirAllRequest, error) grpc.ServerStream }
type Formic_ReadLinkClient ¶
type Formic_ReadLinkClient interface { Send(*ReadLinkRequest) error Recv() (*ReadLinkResponse, error) grpc.ClientStream }
type Formic_ReadLinkServer ¶
type Formic_ReadLinkServer interface { Send(*ReadLinkResponse) error Recv() (*ReadLinkRequest, error) grpc.ServerStream }
type Formic_ReadServer ¶
type Formic_ReadServer interface { Send(*ReadResponse) error Recv() (*ReadRequest, error) grpc.ServerStream }
type Formic_RemoveClient ¶
type Formic_RemoveClient interface { Send(*RemoveRequest) error Recv() (*RemoveResponse, error) grpc.ClientStream }
type Formic_RemoveServer ¶
type Formic_RemoveServer interface { Send(*RemoveResponse) error Recv() (*RemoveRequest, error) grpc.ServerStream }
type Formic_RemoveXAttrClient ¶
type Formic_RemoveXAttrClient interface { Send(*RemoveXAttrRequest) error Recv() (*RemoveXAttrResponse, error) grpc.ClientStream }
type Formic_RemoveXAttrServer ¶
type Formic_RemoveXAttrServer interface { Send(*RemoveXAttrResponse) error Recv() (*RemoveXAttrRequest, error) grpc.ServerStream }
type Formic_RenameClient ¶
type Formic_RenameClient interface { Send(*RenameRequest) error Recv() (*RenameResponse, error) grpc.ClientStream }
type Formic_RenameServer ¶
type Formic_RenameServer interface { Send(*RenameResponse) error Recv() (*RenameRequest, error) grpc.ServerStream }
type Formic_RevokeAddressFSClient ¶
type Formic_RevokeAddressFSClient interface { Send(*RevokeAddressFSRequest) error Recv() (*RevokeAddressFSResponse, error) grpc.ClientStream }
type Formic_RevokeAddressFSServer ¶
type Formic_RevokeAddressFSServer interface { Send(*RevokeAddressFSResponse) error Recv() (*RevokeAddressFSRequest, error) grpc.ServerStream }
type Formic_SetAttrClient ¶
type Formic_SetAttrClient interface { Send(*SetAttrRequest) error Recv() (*SetAttrResponse, error) grpc.ClientStream }
type Formic_SetAttrServer ¶
type Formic_SetAttrServer interface { Send(*SetAttrResponse) error Recv() (*SetAttrRequest, error) grpc.ServerStream }
type Formic_SetXAttrClient ¶
type Formic_SetXAttrClient interface { Send(*SetXAttrRequest) error Recv() (*SetXAttrResponse, error) grpc.ClientStream }
type Formic_SetXAttrServer ¶
type Formic_SetXAttrServer interface { Send(*SetXAttrResponse) error Recv() (*SetXAttrRequest, error) grpc.ServerStream }
type Formic_ShowFSClient ¶
type Formic_ShowFSClient interface { Send(*ShowFSRequest) error Recv() (*ShowFSResponse, error) grpc.ClientStream }
type Formic_ShowFSServer ¶
type Formic_ShowFSServer interface { Send(*ShowFSResponse) error Recv() (*ShowFSRequest, error) grpc.ServerStream }
type Formic_StatFSClient ¶
type Formic_StatFSClient interface { Send(*StatFSRequest) error Recv() (*StatFSResponse, error) grpc.ClientStream }
type Formic_StatFSServer ¶
type Formic_StatFSServer interface { Send(*StatFSResponse) error Recv() (*StatFSRequest, error) grpc.ServerStream }
type Formic_SymLinkClient ¶
type Formic_SymLinkClient interface { Send(*SymLinkRequest) error Recv() (*SymLinkResponse, error) grpc.ClientStream }
type Formic_SymLinkServer ¶
type Formic_SymLinkServer interface { Send(*SymLinkResponse) error Recv() (*SymLinkRequest, error) grpc.ServerStream }
type Formic_UpdateFSClient ¶
type Formic_UpdateFSClient interface { Send(*UpdateFSRequest) error Recv() (*UpdateFSResponse, error) grpc.ClientStream }
type Formic_UpdateFSServer ¶
type Formic_UpdateFSServer interface { Send(*UpdateFSResponse) error Recv() (*UpdateFSRequest, error) grpc.ServerStream }
type Formic_WriteClient ¶
type Formic_WriteClient interface { Send(*WriteRequest) error Recv() (*WriteResponse, error) grpc.ClientStream }
type Formic_WriteServer ¶
type Formic_WriteServer interface { Send(*WriteResponse) error Recv() (*WriteRequest, error) grpc.ServerStream }
type GetAttrRequest ¶
type GetAttrRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` INode uint64 `protobuf:"varint,2,opt,name=INode" json:"INode,omitempty"` }
func (*GetAttrRequest) Descriptor ¶
func (*GetAttrRequest) Descriptor() ([]byte, []int)
func (*GetAttrRequest) GetINode ¶
func (m *GetAttrRequest) GetINode() uint64
func (*GetAttrRequest) GetRPCID ¶
func (m *GetAttrRequest) GetRPCID() uint32
func (*GetAttrRequest) ProtoMessage ¶
func (*GetAttrRequest) ProtoMessage()
func (*GetAttrRequest) Reset ¶
func (m *GetAttrRequest) Reset()
func (*GetAttrRequest) String ¶
func (m *GetAttrRequest) String() string
type GetAttrResponse ¶
type GetAttrResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Attr *Attr `protobuf:"bytes,2,opt,name=Attr" json:"Attr,omitempty"` Err string `protobuf:"bytes,3,opt,name=Err" json:"Err,omitempty"` }
func (*GetAttrResponse) Descriptor ¶
func (*GetAttrResponse) Descriptor() ([]byte, []int)
func (*GetAttrResponse) GetAttr ¶
func (m *GetAttrResponse) GetAttr() *Attr
func (*GetAttrResponse) GetErr ¶
func (m *GetAttrResponse) GetErr() string
func (*GetAttrResponse) GetRPCID ¶
func (m *GetAttrResponse) GetRPCID() uint32
func (*GetAttrResponse) ProtoMessage ¶
func (*GetAttrResponse) ProtoMessage()
func (*GetAttrResponse) Reset ¶
func (m *GetAttrResponse) Reset()
func (*GetAttrResponse) String ¶
func (m *GetAttrResponse) String() string
type GetXAttrRequest ¶
type GetXAttrRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` INode uint64 `protobuf:"varint,2,opt,name=INode" json:"INode,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name" json:"Name,omitempty"` Size uint32 `protobuf:"varint,4,opt,name=Size" json:"Size,omitempty"` Position uint32 `protobuf:"varint,5,opt,name=Position" json:"Position,omitempty"` }
func (*GetXAttrRequest) Descriptor ¶
func (*GetXAttrRequest) Descriptor() ([]byte, []int)
func (*GetXAttrRequest) GetINode ¶
func (m *GetXAttrRequest) GetINode() uint64
func (*GetXAttrRequest) GetName ¶
func (m *GetXAttrRequest) GetName() string
func (*GetXAttrRequest) GetPosition ¶
func (m *GetXAttrRequest) GetPosition() uint32
func (*GetXAttrRequest) GetRPCID ¶
func (m *GetXAttrRequest) GetRPCID() uint32
func (*GetXAttrRequest) GetSize ¶
func (m *GetXAttrRequest) GetSize() uint32
func (*GetXAttrRequest) ProtoMessage ¶
func (*GetXAttrRequest) ProtoMessage()
func (*GetXAttrRequest) Reset ¶
func (m *GetXAttrRequest) Reset()
func (*GetXAttrRequest) String ¶
func (m *GetXAttrRequest) String() string
type GetXAttrResponse ¶
type GetXAttrResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` XAttr []byte `protobuf:"bytes,2,opt,name=XAttr,proto3" json:"XAttr,omitempty"` Err string `protobuf:"bytes,3,opt,name=Err" json:"Err,omitempty"` }
func (*GetXAttrResponse) Descriptor ¶
func (*GetXAttrResponse) Descriptor() ([]byte, []int)
func (*GetXAttrResponse) GetErr ¶
func (m *GetXAttrResponse) GetErr() string
func (*GetXAttrResponse) GetRPCID ¶
func (m *GetXAttrResponse) GetRPCID() uint32
func (*GetXAttrResponse) GetXAttr ¶
func (m *GetXAttrResponse) GetXAttr() []byte
func (*GetXAttrResponse) ProtoMessage ¶
func (*GetXAttrResponse) ProtoMessage()
func (*GetXAttrResponse) Reset ¶
func (m *GetXAttrResponse) Reset()
func (*GetXAttrResponse) String ¶
func (m *GetXAttrResponse) String() string
type GrantAddressFSRequest ¶
type GrantAddressFSRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Token string `protobuf:"bytes,2,opt,name=Token" json:"Token,omitempty"` FSID string `protobuf:"bytes,3,opt,name=FSID" json:"FSID,omitempty"` Address string `protobuf:"bytes,4,opt,name=Address" json:"Address,omitempty"` }
func (*GrantAddressFSRequest) Descriptor ¶
func (*GrantAddressFSRequest) Descriptor() ([]byte, []int)
func (*GrantAddressFSRequest) GetAddress ¶
func (m *GrantAddressFSRequest) GetAddress() string
func (*GrantAddressFSRequest) GetFSID ¶
func (m *GrantAddressFSRequest) GetFSID() string
func (*GrantAddressFSRequest) GetRPCID ¶
func (m *GrantAddressFSRequest) GetRPCID() uint32
func (*GrantAddressFSRequest) GetToken ¶
func (m *GrantAddressFSRequest) GetToken() string
func (*GrantAddressFSRequest) ProtoMessage ¶
func (*GrantAddressFSRequest) ProtoMessage()
func (*GrantAddressFSRequest) Reset ¶
func (m *GrantAddressFSRequest) Reset()
func (*GrantAddressFSRequest) String ¶
func (m *GrantAddressFSRequest) String() string
type GrantAddressFSResponse ¶
type GrantAddressFSResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Err string `protobuf:"bytes,2,opt,name=Err" json:"Err,omitempty"` }
func (*GrantAddressFSResponse) Descriptor ¶
func (*GrantAddressFSResponse) Descriptor() ([]byte, []int)
func (*GrantAddressFSResponse) GetErr ¶
func (m *GrantAddressFSResponse) GetErr() string
func (*GrantAddressFSResponse) GetRPCID ¶
func (m *GrantAddressFSResponse) GetRPCID() uint32
func (*GrantAddressFSResponse) ProtoMessage ¶
func (*GrantAddressFSResponse) ProtoMessage()
func (*GrantAddressFSResponse) Reset ¶
func (m *GrantAddressFSResponse) Reset()
func (*GrantAddressFSResponse) String ¶
func (m *GrantAddressFSResponse) String() string
type INodeEntry ¶
type INodeEntry struct { Version uint32 `protobuf:"varint,1,opt,name=Version" json:"Version,omitempty"` IsDir bool `protobuf:"varint,2,opt,name=IsDir" json:"IsDir,omitempty"` Attr *Attr `protobuf:"bytes,3,opt,name=Attr" json:"Attr,omitempty"` Parent uint64 `protobuf:"varint,4,opt,name=Parent" json:"Parent,omitempty"` INode uint64 `protobuf:"varint,5,opt,name=INode" json:"INode,omitempty"` NodeCount uint64 `protobuf:"varint,6,opt,name=NodeCount" json:"NodeCount,omitempty"` IsLink bool `protobuf:"varint,7,opt,name=IsLink" json:"IsLink,omitempty"` Target string `protobuf:"bytes,8,opt,name=Target" json:"Target,omitempty"` XAttr map[string][]byte `` /* 137-byte string literal not displayed */ Blocks uint64 `protobuf:"varint,10,opt,name=Blocks" json:"Blocks,omitempty"` BlockSize uint64 `protobuf:"varint,11,opt,name=BlockSize" json:"BlockSize,omitempty"` FSID []byte `protobuf:"bytes,13,opt,name=FSID,proto3" json:"FSID,omitempty"` }
func (*INodeEntry) Descriptor ¶
func (*INodeEntry) Descriptor() ([]byte, []int)
func (*INodeEntry) GetAttr ¶
func (m *INodeEntry) GetAttr() *Attr
func (*INodeEntry) GetBlockSize ¶
func (m *INodeEntry) GetBlockSize() uint64
func (*INodeEntry) GetBlocks ¶
func (m *INodeEntry) GetBlocks() uint64
func (*INodeEntry) GetFSID ¶
func (m *INodeEntry) GetFSID() []byte
func (*INodeEntry) GetINode ¶
func (m *INodeEntry) GetINode() uint64
func (*INodeEntry) GetIsDir ¶
func (m *INodeEntry) GetIsDir() bool
func (*INodeEntry) GetIsLink ¶
func (m *INodeEntry) GetIsLink() bool
func (*INodeEntry) GetNodeCount ¶
func (m *INodeEntry) GetNodeCount() uint64
func (*INodeEntry) GetParent ¶
func (m *INodeEntry) GetParent() uint64
func (*INodeEntry) GetTarget ¶
func (m *INodeEntry) GetTarget() string
func (*INodeEntry) GetVersion ¶
func (m *INodeEntry) GetVersion() uint32
func (*INodeEntry) GetXAttr ¶
func (m *INodeEntry) GetXAttr() map[string][]byte
func (*INodeEntry) ProtoMessage ¶
func (*INodeEntry) ProtoMessage()
func (*INodeEntry) Reset ¶
func (m *INodeEntry) Reset()
func (*INodeEntry) String ¶
func (m *INodeEntry) String() string
type InitFSRequest ¶
type InitFSRequest struct {
RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"`
}
func (*InitFSRequest) Descriptor ¶
func (*InitFSRequest) Descriptor() ([]byte, []int)
func (*InitFSRequest) GetRPCID ¶
func (m *InitFSRequest) GetRPCID() uint32
func (*InitFSRequest) ProtoMessage ¶
func (*InitFSRequest) ProtoMessage()
func (*InitFSRequest) Reset ¶
func (m *InitFSRequest) Reset()
func (*InitFSRequest) String ¶
func (m *InitFSRequest) String() string
type InitFSResponse ¶
type InitFSResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Err string `protobuf:"bytes,2,opt,name=Err" json:"Err,omitempty"` }
func (*InitFSResponse) Descriptor ¶
func (*InitFSResponse) Descriptor() ([]byte, []int)
func (*InitFSResponse) GetErr ¶
func (m *InitFSResponse) GetErr() string
func (*InitFSResponse) GetRPCID ¶
func (m *InitFSResponse) GetRPCID() uint32
func (*InitFSResponse) ProtoMessage ¶
func (*InitFSResponse) ProtoMessage()
func (*InitFSResponse) Reset ¶
func (m *InitFSResponse) Reset()
func (*InitFSResponse) String ¶
func (m *InitFSResponse) String() string
type ListFSRequest ¶
type ListFSRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Token string `protobuf:"bytes,2,opt,name=Token" json:"Token,omitempty"` }
func (*ListFSRequest) Descriptor ¶
func (*ListFSRequest) Descriptor() ([]byte, []int)
func (*ListFSRequest) GetRPCID ¶
func (m *ListFSRequest) GetRPCID() uint32
func (*ListFSRequest) GetToken ¶
func (m *ListFSRequest) GetToken() string
func (*ListFSRequest) ProtoMessage ¶
func (*ListFSRequest) ProtoMessage()
func (*ListFSRequest) Reset ¶
func (m *ListFSRequest) Reset()
func (*ListFSRequest) String ¶
func (m *ListFSRequest) String() string
type ListFSResponse ¶
type ListFSResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` List []*FSIDName `protobuf:"bytes,2,rep,name=List" json:"List,omitempty"` Err string `protobuf:"bytes,3,opt,name=Err" json:"Err,omitempty"` }
func (*ListFSResponse) Descriptor ¶
func (*ListFSResponse) Descriptor() ([]byte, []int)
func (*ListFSResponse) GetErr ¶
func (m *ListFSResponse) GetErr() string
func (*ListFSResponse) GetList ¶
func (m *ListFSResponse) GetList() []*FSIDName
func (*ListFSResponse) GetRPCID ¶
func (m *ListFSResponse) GetRPCID() uint32
func (*ListFSResponse) ProtoMessage ¶
func (*ListFSResponse) ProtoMessage()
func (*ListFSResponse) Reset ¶
func (m *ListFSResponse) Reset()
func (*ListFSResponse) String ¶
func (m *ListFSResponse) String() string
type ListXAttrRequest ¶
type ListXAttrRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` INode uint64 `protobuf:"varint,2,opt,name=INode" json:"INode,omitempty"` Size uint32 `protobuf:"varint,3,opt,name=Size" json:"Size,omitempty"` Position uint32 `protobuf:"varint,4,opt,name=Position" json:"Position,omitempty"` }
func (*ListXAttrRequest) Descriptor ¶
func (*ListXAttrRequest) Descriptor() ([]byte, []int)
func (*ListXAttrRequest) GetINode ¶
func (m *ListXAttrRequest) GetINode() uint64
func (*ListXAttrRequest) GetPosition ¶
func (m *ListXAttrRequest) GetPosition() uint32
func (*ListXAttrRequest) GetRPCID ¶
func (m *ListXAttrRequest) GetRPCID() uint32
func (*ListXAttrRequest) GetSize ¶
func (m *ListXAttrRequest) GetSize() uint32
func (*ListXAttrRequest) ProtoMessage ¶
func (*ListXAttrRequest) ProtoMessage()
func (*ListXAttrRequest) Reset ¶
func (m *ListXAttrRequest) Reset()
func (*ListXAttrRequest) String ¶
func (m *ListXAttrRequest) String() string
type ListXAttrResponse ¶
type ListXAttrResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` XAttr []byte `protobuf:"bytes,2,opt,name=XAttr,proto3" json:"XAttr,omitempty"` Err string `protobuf:"bytes,3,opt,name=Err" json:"Err,omitempty"` }
func (*ListXAttrResponse) Descriptor ¶
func (*ListXAttrResponse) Descriptor() ([]byte, []int)
func (*ListXAttrResponse) GetErr ¶
func (m *ListXAttrResponse) GetErr() string
func (*ListXAttrResponse) GetRPCID ¶
func (m *ListXAttrResponse) GetRPCID() uint32
func (*ListXAttrResponse) GetXAttr ¶
func (m *ListXAttrResponse) GetXAttr() []byte
func (*ListXAttrResponse) ProtoMessage ¶
func (*ListXAttrResponse) ProtoMessage()
func (*ListXAttrResponse) Reset ¶
func (m *ListXAttrResponse) Reset()
func (*ListXAttrResponse) String ¶
func (m *ListXAttrResponse) String() string
type LookupRequest ¶
type LookupRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Parent uint64 `protobuf:"varint,2,opt,name=Parent" json:"Parent,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name" json:"Name,omitempty"` }
func (*LookupRequest) Descriptor ¶
func (*LookupRequest) Descriptor() ([]byte, []int)
func (*LookupRequest) GetName ¶
func (m *LookupRequest) GetName() string
func (*LookupRequest) GetParent ¶
func (m *LookupRequest) GetParent() uint64
func (*LookupRequest) GetRPCID ¶
func (m *LookupRequest) GetRPCID() uint32
func (*LookupRequest) ProtoMessage ¶
func (*LookupRequest) ProtoMessage()
func (*LookupRequest) Reset ¶
func (m *LookupRequest) Reset()
func (*LookupRequest) String ¶
func (m *LookupRequest) String() string
type LookupResponse ¶
type LookupResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Attr *Attr `protobuf:"bytes,2,opt,name=Attr" json:"Attr,omitempty"` Err string `protobuf:"bytes,3,opt,name=Err" json:"Err,omitempty"` }
func (*LookupResponse) Descriptor ¶
func (*LookupResponse) Descriptor() ([]byte, []int)
func (*LookupResponse) GetAttr ¶
func (m *LookupResponse) GetAttr() *Attr
func (*LookupResponse) GetErr ¶
func (m *LookupResponse) GetErr() string
func (*LookupResponse) GetRPCID ¶
func (m *LookupResponse) GetRPCID() uint32
func (*LookupResponse) ProtoMessage ¶
func (*LookupResponse) ProtoMessage()
func (*LookupResponse) Reset ¶
func (m *LookupResponse) Reset()
func (*LookupResponse) String ¶
func (m *LookupResponse) String() string
type MetaAccount2Filesystem ¶
type MetaAccount2Filesystem struct {
FSID string `protobuf:"bytes,1,opt,name=FSID" json:"FSID,omitempty"`
}
func (*MetaAccount2Filesystem) Descriptor ¶
func (*MetaAccount2Filesystem) Descriptor() ([]byte, []int)
func (*MetaAccount2Filesystem) GetFSID ¶
func (m *MetaAccount2Filesystem) GetFSID() string
func (*MetaAccount2Filesystem) ProtoMessage ¶
func (*MetaAccount2Filesystem) ProtoMessage()
func (*MetaAccount2Filesystem) Reset ¶
func (m *MetaAccount2Filesystem) Reset()
func (*MetaAccount2Filesystem) String ¶
func (m *MetaAccount2Filesystem) String() string
type MetaFilesystem2Address ¶
type MetaFilesystem2Address struct {
Address string `protobuf:"bytes,1,opt,name=Address" json:"Address,omitempty"`
}
func (*MetaFilesystem2Address) Descriptor ¶
func (*MetaFilesystem2Address) Descriptor() ([]byte, []int)
func (*MetaFilesystem2Address) GetAddress ¶
func (m *MetaFilesystem2Address) GetAddress() string
func (*MetaFilesystem2Address) ProtoMessage ¶
func (*MetaFilesystem2Address) ProtoMessage()
func (*MetaFilesystem2Address) Reset ¶
func (m *MetaFilesystem2Address) Reset()
func (*MetaFilesystem2Address) String ¶
func (m *MetaFilesystem2Address) String() string
type MetaFilesystemEntry ¶
type MetaFilesystemEntry struct { AID string `protobuf:"bytes,1,opt,name=AID" json:"AID,omitempty"` FSID string `protobuf:"bytes,2,opt,name=FSID" json:"FSID,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name" json:"Name,omitempty"` }
func (*MetaFilesystemEntry) Descriptor ¶
func (*MetaFilesystemEntry) Descriptor() ([]byte, []int)
func (*MetaFilesystemEntry) GetAID ¶
func (m *MetaFilesystemEntry) GetAID() string
func (*MetaFilesystemEntry) GetFSID ¶
func (m *MetaFilesystemEntry) GetFSID() string
func (*MetaFilesystemEntry) GetName ¶
func (m *MetaFilesystemEntry) GetName() string
func (*MetaFilesystemEntry) ProtoMessage ¶
func (*MetaFilesystemEntry) ProtoMessage()
func (*MetaFilesystemEntry) Reset ¶
func (m *MetaFilesystemEntry) Reset()
func (*MetaFilesystemEntry) String ¶
func (m *MetaFilesystemEntry) String() string
type MkDirRequest ¶
type MkDirRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Parent uint64 `protobuf:"varint,2,opt,name=Parent" json:"Parent,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name" json:"Name,omitempty"` Attr *Attr `protobuf:"bytes,4,opt,name=Attr" json:"Attr,omitempty"` }
func (*MkDirRequest) Descriptor ¶
func (*MkDirRequest) Descriptor() ([]byte, []int)
func (*MkDirRequest) GetAttr ¶
func (m *MkDirRequest) GetAttr() *Attr
func (*MkDirRequest) GetName ¶
func (m *MkDirRequest) GetName() string
func (*MkDirRequest) GetParent ¶
func (m *MkDirRequest) GetParent() uint64
func (*MkDirRequest) GetRPCID ¶
func (m *MkDirRequest) GetRPCID() uint32
func (*MkDirRequest) ProtoMessage ¶
func (*MkDirRequest) ProtoMessage()
func (*MkDirRequest) Reset ¶
func (m *MkDirRequest) Reset()
func (*MkDirRequest) String ¶
func (m *MkDirRequest) String() string
type MkDirResponse ¶
type MkDirResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Attr *Attr `protobuf:"bytes,2,opt,name=Attr" json:"Attr,omitempty"` Err string `protobuf:"bytes,3,opt,name=Err" json:"Err,omitempty"` }
func (*MkDirResponse) Descriptor ¶
func (*MkDirResponse) Descriptor() ([]byte, []int)
func (*MkDirResponse) GetAttr ¶
func (m *MkDirResponse) GetAttr() *Attr
func (*MkDirResponse) GetErr ¶
func (m *MkDirResponse) GetErr() string
func (*MkDirResponse) GetRPCID ¶
func (m *MkDirResponse) GetRPCID() uint32
func (*MkDirResponse) ProtoMessage ¶
func (*MkDirResponse) ProtoMessage()
func (*MkDirResponse) Reset ¶
func (m *MkDirResponse) Reset()
func (*MkDirResponse) String ¶
func (m *MkDirResponse) String() string
type ReadDirAllEnt ¶
type ReadDirAllEnt struct { Name string `protobuf:"bytes,1,opt,name=Name" json:"Name,omitempty"` Type uint32 `protobuf:"varint,2,opt,name=Type" json:"Type,omitempty"` }
func (*ReadDirAllEnt) Descriptor ¶
func (*ReadDirAllEnt) Descriptor() ([]byte, []int)
func (*ReadDirAllEnt) GetName ¶
func (m *ReadDirAllEnt) GetName() string
func (*ReadDirAllEnt) GetType ¶
func (m *ReadDirAllEnt) GetType() uint32
func (*ReadDirAllEnt) ProtoMessage ¶
func (*ReadDirAllEnt) ProtoMessage()
func (*ReadDirAllEnt) Reset ¶
func (m *ReadDirAllEnt) Reset()
func (*ReadDirAllEnt) String ¶
func (m *ReadDirAllEnt) String() string
type ReadDirAllRequest ¶
type ReadDirAllRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` INode uint64 `protobuf:"varint,2,opt,name=INode" json:"INode,omitempty"` }
func (*ReadDirAllRequest) Descriptor ¶
func (*ReadDirAllRequest) Descriptor() ([]byte, []int)
func (*ReadDirAllRequest) GetINode ¶
func (m *ReadDirAllRequest) GetINode() uint64
func (*ReadDirAllRequest) GetRPCID ¶
func (m *ReadDirAllRequest) GetRPCID() uint32
func (*ReadDirAllRequest) ProtoMessage ¶
func (*ReadDirAllRequest) ProtoMessage()
func (*ReadDirAllRequest) Reset ¶
func (m *ReadDirAllRequest) Reset()
func (*ReadDirAllRequest) String ¶
func (m *ReadDirAllRequest) String() string
type ReadDirAllResponse ¶
type ReadDirAllResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Ents []*ReadDirAllEnt `protobuf:"bytes,2,rep,name=Ents" json:"Ents,omitempty"` Err string `protobuf:"bytes,3,opt,name=Err" json:"Err,omitempty"` }
func (*ReadDirAllResponse) Descriptor ¶
func (*ReadDirAllResponse) Descriptor() ([]byte, []int)
func (*ReadDirAllResponse) GetEnts ¶
func (m *ReadDirAllResponse) GetEnts() []*ReadDirAllEnt
func (*ReadDirAllResponse) GetErr ¶
func (m *ReadDirAllResponse) GetErr() string
func (*ReadDirAllResponse) GetRPCID ¶
func (m *ReadDirAllResponse) GetRPCID() uint32
func (*ReadDirAllResponse) ProtoMessage ¶
func (*ReadDirAllResponse) ProtoMessage()
func (*ReadDirAllResponse) Reset ¶
func (m *ReadDirAllResponse) Reset()
func (*ReadDirAllResponse) String ¶
func (m *ReadDirAllResponse) String() string
type ReadLinkRequest ¶
type ReadLinkRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` INode uint64 `protobuf:"varint,2,opt,name=INode" json:"INode,omitempty"` }
func (*ReadLinkRequest) Descriptor ¶
func (*ReadLinkRequest) Descriptor() ([]byte, []int)
func (*ReadLinkRequest) GetINode ¶
func (m *ReadLinkRequest) GetINode() uint64
func (*ReadLinkRequest) GetRPCID ¶
func (m *ReadLinkRequest) GetRPCID() uint32
func (*ReadLinkRequest) ProtoMessage ¶
func (*ReadLinkRequest) ProtoMessage()
func (*ReadLinkRequest) Reset ¶
func (m *ReadLinkRequest) Reset()
func (*ReadLinkRequest) String ¶
func (m *ReadLinkRequest) String() string
type ReadLinkResponse ¶
type ReadLinkResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Target string `protobuf:"bytes,2,opt,name=Target" json:"Target,omitempty"` Err string `protobuf:"bytes,3,opt,name=Err" json:"Err,omitempty"` }
func (*ReadLinkResponse) Descriptor ¶
func (*ReadLinkResponse) Descriptor() ([]byte, []int)
func (*ReadLinkResponse) GetErr ¶
func (m *ReadLinkResponse) GetErr() string
func (*ReadLinkResponse) GetRPCID ¶
func (m *ReadLinkResponse) GetRPCID() uint32
func (*ReadLinkResponse) GetTarget ¶
func (m *ReadLinkResponse) GetTarget() string
func (*ReadLinkResponse) ProtoMessage ¶
func (*ReadLinkResponse) ProtoMessage()
func (*ReadLinkResponse) Reset ¶
func (m *ReadLinkResponse) Reset()
func (*ReadLinkResponse) String ¶
func (m *ReadLinkResponse) String() string
type ReadRequest ¶
type ReadRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` INode uint64 `protobuf:"varint,2,opt,name=INode" json:"INode,omitempty"` Offset int64 `protobuf:"varint,3,opt,name=Offset" json:"Offset,omitempty"` Size int64 `protobuf:"varint,4,opt,name=Size" json:"Size,omitempty"` }
func (*ReadRequest) Descriptor ¶
func (*ReadRequest) Descriptor() ([]byte, []int)
func (*ReadRequest) GetINode ¶
func (m *ReadRequest) GetINode() uint64
func (*ReadRequest) GetOffset ¶
func (m *ReadRequest) GetOffset() int64
func (*ReadRequest) GetRPCID ¶
func (m *ReadRequest) GetRPCID() uint32
func (*ReadRequest) GetSize ¶
func (m *ReadRequest) GetSize() int64
func (*ReadRequest) ProtoMessage ¶
func (*ReadRequest) ProtoMessage()
func (*ReadRequest) Reset ¶
func (m *ReadRequest) Reset()
func (*ReadRequest) String ¶
func (m *ReadRequest) String() string
type ReadResponse ¶
type ReadResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Payload []byte `protobuf:"bytes,2,opt,name=Payload,proto3" json:"Payload,omitempty"` Err string `protobuf:"bytes,3,opt,name=Err" json:"Err,omitempty"` }
func (*ReadResponse) Descriptor ¶
func (*ReadResponse) Descriptor() ([]byte, []int)
func (*ReadResponse) GetErr ¶
func (m *ReadResponse) GetErr() string
func (*ReadResponse) GetPayload ¶
func (m *ReadResponse) GetPayload() []byte
func (*ReadResponse) GetRPCID ¶
func (m *ReadResponse) GetRPCID() uint32
func (*ReadResponse) ProtoMessage ¶
func (*ReadResponse) ProtoMessage()
func (*ReadResponse) Reset ¶
func (m *ReadResponse) Reset()
func (*ReadResponse) String ¶
func (m *ReadResponse) String() string
type RemoveRequest ¶
type RemoveRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Parent uint64 `protobuf:"varint,2,opt,name=Parent" json:"Parent,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name" json:"Name,omitempty"` }
func (*RemoveRequest) Descriptor ¶
func (*RemoveRequest) Descriptor() ([]byte, []int)
func (*RemoveRequest) GetName ¶
func (m *RemoveRequest) GetName() string
func (*RemoveRequest) GetParent ¶
func (m *RemoveRequest) GetParent() uint64
func (*RemoveRequest) GetRPCID ¶
func (m *RemoveRequest) GetRPCID() uint32
func (*RemoveRequest) ProtoMessage ¶
func (*RemoveRequest) ProtoMessage()
func (*RemoveRequest) Reset ¶
func (m *RemoveRequest) Reset()
func (*RemoveRequest) String ¶
func (m *RemoveRequest) String() string
type RemoveResponse ¶
type RemoveResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Err string `protobuf:"bytes,2,opt,name=Err" json:"Err,omitempty"` }
func (*RemoveResponse) Descriptor ¶
func (*RemoveResponse) Descriptor() ([]byte, []int)
func (*RemoveResponse) GetErr ¶
func (m *RemoveResponse) GetErr() string
func (*RemoveResponse) GetRPCID ¶
func (m *RemoveResponse) GetRPCID() uint32
func (*RemoveResponse) ProtoMessage ¶
func (*RemoveResponse) ProtoMessage()
func (*RemoveResponse) Reset ¶
func (m *RemoveResponse) Reset()
func (*RemoveResponse) String ¶
func (m *RemoveResponse) String() string
type RemoveXAttrRequest ¶
type RemoveXAttrRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` INode uint64 `protobuf:"varint,2,opt,name=INode" json:"INode,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name" json:"Name,omitempty"` }
func (*RemoveXAttrRequest) Descriptor ¶
func (*RemoveXAttrRequest) Descriptor() ([]byte, []int)
func (*RemoveXAttrRequest) GetINode ¶
func (m *RemoveXAttrRequest) GetINode() uint64
func (*RemoveXAttrRequest) GetName ¶
func (m *RemoveXAttrRequest) GetName() string
func (*RemoveXAttrRequest) GetRPCID ¶
func (m *RemoveXAttrRequest) GetRPCID() uint32
func (*RemoveXAttrRequest) ProtoMessage ¶
func (*RemoveXAttrRequest) ProtoMessage()
func (*RemoveXAttrRequest) Reset ¶
func (m *RemoveXAttrRequest) Reset()
func (*RemoveXAttrRequest) String ¶
func (m *RemoveXAttrRequest) String() string
type RemoveXAttrResponse ¶
type RemoveXAttrResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Err string `protobuf:"bytes,2,opt,name=Err" json:"Err,omitempty"` }
func (*RemoveXAttrResponse) Descriptor ¶
func (*RemoveXAttrResponse) Descriptor() ([]byte, []int)
func (*RemoveXAttrResponse) GetErr ¶
func (m *RemoveXAttrResponse) GetErr() string
func (*RemoveXAttrResponse) GetRPCID ¶
func (m *RemoveXAttrResponse) GetRPCID() uint32
func (*RemoveXAttrResponse) ProtoMessage ¶
func (*RemoveXAttrResponse) ProtoMessage()
func (*RemoveXAttrResponse) Reset ¶
func (m *RemoveXAttrResponse) Reset()
func (*RemoveXAttrResponse) String ¶
func (m *RemoveXAttrResponse) String() string
type RenameRequest ¶
type RenameRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` OldParent uint64 `protobuf:"varint,2,opt,name=OldParent" json:"OldParent,omitempty"` NewParent uint64 `protobuf:"varint,3,opt,name=NewParent" json:"NewParent,omitempty"` OldName string `protobuf:"bytes,4,opt,name=OldName" json:"OldName,omitempty"` NewName string `protobuf:"bytes,5,opt,name=NewName" json:"NewName,omitempty"` }
func (*RenameRequest) Descriptor ¶
func (*RenameRequest) Descriptor() ([]byte, []int)
func (*RenameRequest) GetNewName ¶
func (m *RenameRequest) GetNewName() string
func (*RenameRequest) GetNewParent ¶
func (m *RenameRequest) GetNewParent() uint64
func (*RenameRequest) GetOldName ¶
func (m *RenameRequest) GetOldName() string
func (*RenameRequest) GetOldParent ¶
func (m *RenameRequest) GetOldParent() uint64
func (*RenameRequest) GetRPCID ¶
func (m *RenameRequest) GetRPCID() uint32
func (*RenameRequest) ProtoMessage ¶
func (*RenameRequest) ProtoMessage()
func (*RenameRequest) Reset ¶
func (m *RenameRequest) Reset()
func (*RenameRequest) String ¶
func (m *RenameRequest) String() string
type RenameResponse ¶
type RenameResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Err string `protobuf:"bytes,2,opt,name=Err" json:"Err,omitempty"` }
func (*RenameResponse) Descriptor ¶
func (*RenameResponse) Descriptor() ([]byte, []int)
func (*RenameResponse) GetErr ¶
func (m *RenameResponse) GetErr() string
func (*RenameResponse) GetRPCID ¶
func (m *RenameResponse) GetRPCID() uint32
func (*RenameResponse) ProtoMessage ¶
func (*RenameResponse) ProtoMessage()
func (*RenameResponse) Reset ¶
func (m *RenameResponse) Reset()
func (*RenameResponse) String ¶
func (m *RenameResponse) String() string
type RevokeAddressFSRequest ¶
type RevokeAddressFSRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Token string `protobuf:"bytes,2,opt,name=Token" json:"Token,omitempty"` FSID string `protobuf:"bytes,3,opt,name=FSID" json:"FSID,omitempty"` Address string `protobuf:"bytes,4,opt,name=Address" json:"Address,omitempty"` }
func (*RevokeAddressFSRequest) Descriptor ¶
func (*RevokeAddressFSRequest) Descriptor() ([]byte, []int)
func (*RevokeAddressFSRequest) GetAddress ¶
func (m *RevokeAddressFSRequest) GetAddress() string
func (*RevokeAddressFSRequest) GetFSID ¶
func (m *RevokeAddressFSRequest) GetFSID() string
func (*RevokeAddressFSRequest) GetRPCID ¶
func (m *RevokeAddressFSRequest) GetRPCID() uint32
func (*RevokeAddressFSRequest) GetToken ¶
func (m *RevokeAddressFSRequest) GetToken() string
func (*RevokeAddressFSRequest) ProtoMessage ¶
func (*RevokeAddressFSRequest) ProtoMessage()
func (*RevokeAddressFSRequest) Reset ¶
func (m *RevokeAddressFSRequest) Reset()
func (*RevokeAddressFSRequest) String ¶
func (m *RevokeAddressFSRequest) String() string
type RevokeAddressFSResponse ¶
type RevokeAddressFSResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Err string `protobuf:"bytes,2,opt,name=Err" json:"Err,omitempty"` }
func (*RevokeAddressFSResponse) Descriptor ¶
func (*RevokeAddressFSResponse) Descriptor() ([]byte, []int)
func (*RevokeAddressFSResponse) GetErr ¶
func (m *RevokeAddressFSResponse) GetErr() string
func (*RevokeAddressFSResponse) GetRPCID ¶
func (m *RevokeAddressFSResponse) GetRPCID() uint32
func (*RevokeAddressFSResponse) ProtoMessage ¶
func (*RevokeAddressFSResponse) ProtoMessage()
func (*RevokeAddressFSResponse) Reset ¶
func (m *RevokeAddressFSResponse) Reset()
func (*RevokeAddressFSResponse) String ¶
func (m *RevokeAddressFSResponse) String() string
type SetAttrRequest ¶
type SetAttrRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Attr *Attr `protobuf:"bytes,2,opt,name=Attr" json:"Attr,omitempty"` Valid uint32 `protobuf:"varint,3,opt,name=Valid" json:"Valid,omitempty"` }
func (*SetAttrRequest) Descriptor ¶
func (*SetAttrRequest) Descriptor() ([]byte, []int)
func (*SetAttrRequest) GetAttr ¶
func (m *SetAttrRequest) GetAttr() *Attr
func (*SetAttrRequest) GetRPCID ¶
func (m *SetAttrRequest) GetRPCID() uint32
func (*SetAttrRequest) GetValid ¶
func (m *SetAttrRequest) GetValid() uint32
func (*SetAttrRequest) ProtoMessage ¶
func (*SetAttrRequest) ProtoMessage()
func (*SetAttrRequest) Reset ¶
func (m *SetAttrRequest) Reset()
func (*SetAttrRequest) String ¶
func (m *SetAttrRequest) String() string
type SetAttrResponse ¶
type SetAttrResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Attr *Attr `protobuf:"bytes,2,opt,name=Attr" json:"Attr,omitempty"` Err string `protobuf:"bytes,3,opt,name=Err" json:"Err,omitempty"` }
func (*SetAttrResponse) Descriptor ¶
func (*SetAttrResponse) Descriptor() ([]byte, []int)
func (*SetAttrResponse) GetAttr ¶
func (m *SetAttrResponse) GetAttr() *Attr
func (*SetAttrResponse) GetErr ¶
func (m *SetAttrResponse) GetErr() string
func (*SetAttrResponse) GetRPCID ¶
func (m *SetAttrResponse) GetRPCID() uint32
func (*SetAttrResponse) ProtoMessage ¶
func (*SetAttrResponse) ProtoMessage()
func (*SetAttrResponse) Reset ¶
func (m *SetAttrResponse) Reset()
func (*SetAttrResponse) String ¶
func (m *SetAttrResponse) String() string
type SetXAttrRequest ¶
type SetXAttrRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` INode uint64 `protobuf:"varint,2,opt,name=INode" json:"INode,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name" json:"Name,omitempty"` Value []byte `protobuf:"bytes,4,opt,name=Value,proto3" json:"Value,omitempty"` Position uint32 `protobuf:"varint,5,opt,name=Position" json:"Position,omitempty"` Flags uint32 `protobuf:"varint,6,opt,name=Flags" json:"Flags,omitempty"` }
func (*SetXAttrRequest) Descriptor ¶
func (*SetXAttrRequest) Descriptor() ([]byte, []int)
func (*SetXAttrRequest) GetFlags ¶
func (m *SetXAttrRequest) GetFlags() uint32
func (*SetXAttrRequest) GetINode ¶
func (m *SetXAttrRequest) GetINode() uint64
func (*SetXAttrRequest) GetName ¶
func (m *SetXAttrRequest) GetName() string
func (*SetXAttrRequest) GetPosition ¶
func (m *SetXAttrRequest) GetPosition() uint32
func (*SetXAttrRequest) GetRPCID ¶
func (m *SetXAttrRequest) GetRPCID() uint32
func (*SetXAttrRequest) GetValue ¶
func (m *SetXAttrRequest) GetValue() []byte
func (*SetXAttrRequest) ProtoMessage ¶
func (*SetXAttrRequest) ProtoMessage()
func (*SetXAttrRequest) Reset ¶
func (m *SetXAttrRequest) Reset()
func (*SetXAttrRequest) String ¶
func (m *SetXAttrRequest) String() string
type SetXAttrResponse ¶
type SetXAttrResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Err string `protobuf:"bytes,2,opt,name=Err" json:"Err,omitempty"` }
func (*SetXAttrResponse) Descriptor ¶
func (*SetXAttrResponse) Descriptor() ([]byte, []int)
func (*SetXAttrResponse) GetErr ¶
func (m *SetXAttrResponse) GetErr() string
func (*SetXAttrResponse) GetRPCID ¶
func (m *SetXAttrResponse) GetRPCID() uint32
func (*SetXAttrResponse) ProtoMessage ¶
func (*SetXAttrResponse) ProtoMessage()
func (*SetXAttrResponse) Reset ¶
func (m *SetXAttrResponse) Reset()
func (*SetXAttrResponse) String ¶
func (m *SetXAttrResponse) String() string
type ShowFSRequest ¶
type ShowFSRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Token string `protobuf:"bytes,2,opt,name=Token" json:"Token,omitempty"` FSID string `protobuf:"bytes,3,opt,name=FSID" json:"FSID,omitempty"` }
func (*ShowFSRequest) Descriptor ¶
func (*ShowFSRequest) Descriptor() ([]byte, []int)
func (*ShowFSRequest) GetFSID ¶
func (m *ShowFSRequest) GetFSID() string
func (*ShowFSRequest) GetRPCID ¶
func (m *ShowFSRequest) GetRPCID() uint32
func (*ShowFSRequest) GetToken ¶
func (m *ShowFSRequest) GetToken() string
func (*ShowFSRequest) ProtoMessage ¶
func (*ShowFSRequest) ProtoMessage()
func (*ShowFSRequest) Reset ¶
func (m *ShowFSRequest) Reset()
func (*ShowFSRequest) String ¶
func (m *ShowFSRequest) String() string
type ShowFSResponse ¶
type ShowFSResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name" json:"Name,omitempty"` Addresses []string `protobuf:"bytes,3,rep,name=Addresses" json:"Addresses,omitempty"` Err string `protobuf:"bytes,4,opt,name=Err" json:"Err,omitempty"` }
func (*ShowFSResponse) Descriptor ¶
func (*ShowFSResponse) Descriptor() ([]byte, []int)
func (*ShowFSResponse) GetAddresses ¶
func (m *ShowFSResponse) GetAddresses() []string
func (*ShowFSResponse) GetErr ¶
func (m *ShowFSResponse) GetErr() string
func (*ShowFSResponse) GetName ¶
func (m *ShowFSResponse) GetName() string
func (*ShowFSResponse) GetRPCID ¶
func (m *ShowFSResponse) GetRPCID() uint32
func (*ShowFSResponse) ProtoMessage ¶
func (*ShowFSResponse) ProtoMessage()
func (*ShowFSResponse) Reset ¶
func (m *ShowFSResponse) Reset()
func (*ShowFSResponse) String ¶
func (m *ShowFSResponse) String() string
type StatFSRequest ¶
type StatFSRequest struct {
RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"`
}
func (*StatFSRequest) Descriptor ¶
func (*StatFSRequest) Descriptor() ([]byte, []int)
func (*StatFSRequest) GetRPCID ¶
func (m *StatFSRequest) GetRPCID() uint32
func (*StatFSRequest) ProtoMessage ¶
func (*StatFSRequest) ProtoMessage()
func (*StatFSRequest) Reset ¶
func (m *StatFSRequest) Reset()
func (*StatFSRequest) String ¶
func (m *StatFSRequest) String() string
type StatFSResponse ¶
type StatFSResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Blocks uint64 `protobuf:"varint,2,opt,name=Blocks" json:"Blocks,omitempty"` BFree uint64 `protobuf:"varint,3,opt,name=BFree" json:"BFree,omitempty"` BAvail uint64 `protobuf:"varint,4,opt,name=BAvail" json:"BAvail,omitempty"` Files uint64 `protobuf:"varint,5,opt,name=Files" json:"Files,omitempty"` FFree uint64 `protobuf:"varint,6,opt,name=FFree" json:"FFree,omitempty"` BSize uint32 `protobuf:"varint,7,opt,name=BSize" json:"BSize,omitempty"` NameLen uint32 `protobuf:"varint,8,opt,name=NameLen" json:"NameLen,omitempty"` FrSize uint32 `protobuf:"varint,9,opt,name=FrSize" json:"FrSize,omitempty"` Err string `protobuf:"bytes,10,opt,name=Err" json:"Err,omitempty"` }
func (*StatFSResponse) Descriptor ¶
func (*StatFSResponse) Descriptor() ([]byte, []int)
func (*StatFSResponse) GetBAvail ¶
func (m *StatFSResponse) GetBAvail() uint64
func (*StatFSResponse) GetBFree ¶
func (m *StatFSResponse) GetBFree() uint64
func (*StatFSResponse) GetBSize ¶
func (m *StatFSResponse) GetBSize() uint32
func (*StatFSResponse) GetBlocks ¶
func (m *StatFSResponse) GetBlocks() uint64
func (*StatFSResponse) GetErr ¶
func (m *StatFSResponse) GetErr() string
func (*StatFSResponse) GetFFree ¶
func (m *StatFSResponse) GetFFree() uint64
func (*StatFSResponse) GetFiles ¶
func (m *StatFSResponse) GetFiles() uint64
func (*StatFSResponse) GetFrSize ¶
func (m *StatFSResponse) GetFrSize() uint32
func (*StatFSResponse) GetNameLen ¶
func (m *StatFSResponse) GetNameLen() uint32
func (*StatFSResponse) GetRPCID ¶
func (m *StatFSResponse) GetRPCID() uint32
func (*StatFSResponse) ProtoMessage ¶
func (*StatFSResponse) ProtoMessage()
func (*StatFSResponse) Reset ¶
func (m *StatFSResponse) Reset()
func (*StatFSResponse) String ¶
func (m *StatFSResponse) String() string
type SymLinkRequest ¶
type SymLinkRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Parent uint64 `protobuf:"varint,2,opt,name=Parent" json:"Parent,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name" json:"Name,omitempty"` Target string `protobuf:"bytes,4,opt,name=Target" json:"Target,omitempty"` UID uint32 `protobuf:"varint,5,opt,name=UID" json:"UID,omitempty"` GID uint32 `protobuf:"varint,6,opt,name=GID" json:"GID,omitempty"` }
func (*SymLinkRequest) Descriptor ¶
func (*SymLinkRequest) Descriptor() ([]byte, []int)
func (*SymLinkRequest) GetGID ¶
func (m *SymLinkRequest) GetGID() uint32
func (*SymLinkRequest) GetName ¶
func (m *SymLinkRequest) GetName() string
func (*SymLinkRequest) GetParent ¶
func (m *SymLinkRequest) GetParent() uint64
func (*SymLinkRequest) GetRPCID ¶
func (m *SymLinkRequest) GetRPCID() uint32
func (*SymLinkRequest) GetTarget ¶
func (m *SymLinkRequest) GetTarget() string
func (*SymLinkRequest) GetUID ¶
func (m *SymLinkRequest) GetUID() uint32
func (*SymLinkRequest) ProtoMessage ¶
func (*SymLinkRequest) ProtoMessage()
func (*SymLinkRequest) Reset ¶
func (m *SymLinkRequest) Reset()
func (*SymLinkRequest) String ¶
func (m *SymLinkRequest) String() string
type SymLinkResponse ¶
type SymLinkResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Attr *Attr `protobuf:"bytes,4,opt,name=Attr" json:"Attr,omitempty"` Err string `protobuf:"bytes,5,opt,name=Err" json:"Err,omitempty"` }
func (*SymLinkResponse) Descriptor ¶
func (*SymLinkResponse) Descriptor() ([]byte, []int)
func (*SymLinkResponse) GetAttr ¶
func (m *SymLinkResponse) GetAttr() *Attr
func (*SymLinkResponse) GetErr ¶
func (m *SymLinkResponse) GetErr() string
func (*SymLinkResponse) GetRPCID ¶
func (m *SymLinkResponse) GetRPCID() uint32
func (*SymLinkResponse) ProtoMessage ¶
func (*SymLinkResponse) ProtoMessage()
func (*SymLinkResponse) Reset ¶
func (m *SymLinkResponse) Reset()
func (*SymLinkResponse) String ¶
func (m *SymLinkResponse) String() string
type Tombstone ¶
type Tombstone struct { DTime int64 `protobuf:"varint,1,opt,name=DTime" json:"DTime,omitempty"` QTime int64 `protobuf:"varint,2,opt,name=QTime" json:"QTime,omitempty"` FSID string `protobuf:"bytes,3,opt,name=FSID" json:"FSID,omitempty"` INode uint64 `protobuf:"varint,4,opt,name=INode" json:"INode,omitempty"` Blocks uint64 `protobuf:"varint,5,opt,name=Blocks" json:"Blocks,omitempty"` }
func (*Tombstone) Descriptor ¶
func (*Tombstone) ProtoMessage ¶
func (*Tombstone) ProtoMessage()
type UpdateFSRequest ¶
type UpdateFSRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Token string `protobuf:"bytes,2,opt,name=Token" json:"Token,omitempty"` FSID string `protobuf:"bytes,3,opt,name=FSID" json:"FSID,omitempty"` NewName string `protobuf:"bytes,4,opt,name=NewName" json:"NewName,omitempty"` }
func (*UpdateFSRequest) Descriptor ¶
func (*UpdateFSRequest) Descriptor() ([]byte, []int)
func (*UpdateFSRequest) GetFSID ¶
func (m *UpdateFSRequest) GetFSID() string
func (*UpdateFSRequest) GetNewName ¶
func (m *UpdateFSRequest) GetNewName() string
func (*UpdateFSRequest) GetRPCID ¶
func (m *UpdateFSRequest) GetRPCID() uint32
func (*UpdateFSRequest) GetToken ¶
func (m *UpdateFSRequest) GetToken() string
func (*UpdateFSRequest) ProtoMessage ¶
func (*UpdateFSRequest) ProtoMessage()
func (*UpdateFSRequest) Reset ¶
func (m *UpdateFSRequest) Reset()
func (*UpdateFSRequest) String ¶
func (m *UpdateFSRequest) String() string
type UpdateFSResponse ¶
type UpdateFSResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Err string `protobuf:"bytes,3,opt,name=Err" json:"Err,omitempty"` }
func (*UpdateFSResponse) Descriptor ¶
func (*UpdateFSResponse) Descriptor() ([]byte, []int)
func (*UpdateFSResponse) GetErr ¶
func (m *UpdateFSResponse) GetErr() string
func (*UpdateFSResponse) GetRPCID ¶
func (m *UpdateFSResponse) GetRPCID() uint32
func (*UpdateFSResponse) ProtoMessage ¶
func (*UpdateFSResponse) ProtoMessage()
func (*UpdateFSResponse) Reset ¶
func (m *UpdateFSResponse) Reset()
func (*UpdateFSResponse) String ¶
func (m *UpdateFSResponse) String() string
type WriteRequest ¶
type WriteRequest struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` INode uint64 `protobuf:"varint,2,opt,name=INode" json:"INode,omitempty"` Offset int64 `protobuf:"varint,3,opt,name=Offset" json:"Offset,omitempty"` Payload []byte `protobuf:"bytes,4,opt,name=Payload,proto3" json:"Payload,omitempty"` }
func (*WriteRequest) Descriptor ¶
func (*WriteRequest) Descriptor() ([]byte, []int)
func (*WriteRequest) GetINode ¶
func (m *WriteRequest) GetINode() uint64
func (*WriteRequest) GetOffset ¶
func (m *WriteRequest) GetOffset() int64
func (*WriteRequest) GetPayload ¶
func (m *WriteRequest) GetPayload() []byte
func (*WriteRequest) GetRPCID ¶
func (m *WriteRequest) GetRPCID() uint32
func (*WriteRequest) ProtoMessage ¶
func (*WriteRequest) ProtoMessage()
func (*WriteRequest) Reset ¶
func (m *WriteRequest) Reset()
func (*WriteRequest) String ¶
func (m *WriteRequest) String() string
type WriteResponse ¶
type WriteResponse struct { RPCID uint32 `protobuf:"varint,1,opt,name=RPCID" json:"RPCID,omitempty"` Err string `protobuf:"bytes,2,opt,name=Err" json:"Err,omitempty"` }
func (*WriteResponse) Descriptor ¶
func (*WriteResponse) Descriptor() ([]byte, []int)
func (*WriteResponse) GetErr ¶
func (m *WriteResponse) GetErr() string
func (*WriteResponse) GetRPCID ¶
func (m *WriteResponse) GetRPCID() uint32
func (*WriteResponse) ProtoMessage ¶
func (*WriteResponse) ProtoMessage()
func (*WriteResponse) Reset ¶
func (m *WriteResponse) Reset()
func (*WriteResponse) String ¶
func (m *WriteResponse) String() string
Click to show internal directories.
Click to hide internal directories.