Documentation
¶
Index ¶
- Variables
- func RegisterTfsServer(s *grpc.Server, srv TfsServer)
- type AllocateRequest
- func (*AllocateRequest) Descriptor() ([]byte, []int)
- func (m *AllocateRequest) GetOffset() uint64
- func (m *AllocateRequest) GetPath() string
- func (m *AllocateRequest) GetSize() uint64
- func (*AllocateRequest) ProtoMessage()
- func (m *AllocateRequest) Reset()
- func (m *AllocateRequest) String() string
- func (m *AllocateRequest) XXX_DiscardUnknown()
- func (m *AllocateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllocateRequest) XXX_Merge(src proto.Message)
- func (m *AllocateRequest) XXX_Size() int
- func (m *AllocateRequest) XXX_Unmarshal(b []byte) error
- type AllocateResponse
- func (*AllocateResponse) Descriptor() ([]byte, []int)
- func (m *AllocateResponse) GetError() *Error
- func (*AllocateResponse) ProtoMessage()
- func (m *AllocateResponse) Reset()
- func (m *AllocateResponse) String() string
- func (m *AllocateResponse) XXX_DiscardUnknown()
- func (m *AllocateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllocateResponse) XXX_Merge(src proto.Message)
- func (m *AllocateResponse) XXX_Size() int
- func (m *AllocateResponse) XXX_Unmarshal(b []byte) error
- type Attr
- func (*Attr) Descriptor() ([]byte, []int)
- func (m *Attr) GetAccessTime() *timestamp.Timestamp
- func (m *Attr) GetChangeTime() *timestamp.Timestamp
- func (m *Attr) GetCreateTime() *timestamp.Timestamp
- func (m *Attr) GetMode() uint32
- func (m *Attr) GetModifyTime() *timestamp.Timestamp
- func (m *Attr) GetName() string
- func (m *Attr) GetSize() uint64
- func (m *Attr) GetType() EntryType
- func (*Attr) ProtoMessage()
- func (m *Attr) Reset()
- func (m *Attr) String() string
- func (m *Attr) XXX_DiscardUnknown()
- func (m *Attr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Attr) XXX_Merge(src proto.Message)
- func (m *Attr) XXX_Size() int
- func (m *Attr) XXX_Unmarshal(b []byte) error
- type CloseFileRequest
- func (*CloseFileRequest) Descriptor() ([]byte, []int)
- func (m *CloseFileRequest) GetPath() string
- func (*CloseFileRequest) ProtoMessage()
- func (m *CloseFileRequest) Reset()
- func (m *CloseFileRequest) String() string
- func (m *CloseFileRequest) XXX_DiscardUnknown()
- func (m *CloseFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloseFileRequest) XXX_Merge(src proto.Message)
- func (m *CloseFileRequest) XXX_Size() int
- func (m *CloseFileRequest) XXX_Unmarshal(b []byte) error
- type CloseFileResponse
- func (*CloseFileResponse) Descriptor() ([]byte, []int)
- func (m *CloseFileResponse) GetError() *Error
- func (*CloseFileResponse) ProtoMessage()
- func (m *CloseFileResponse) Reset()
- func (m *CloseFileResponse) String() string
- func (m *CloseFileResponse) XXX_DiscardUnknown()
- func (m *CloseFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CloseFileResponse) XXX_Merge(src proto.Message)
- func (m *CloseFileResponse) XXX_Size() int
- func (m *CloseFileResponse) XXX_Unmarshal(b []byte) error
- type CreateFileRequest
- func (*CreateFileRequest) Descriptor() ([]byte, []int)
- func (m *CreateFileRequest) GetDirPath() string
- func (m *CreateFileRequest) GetFilename() string
- func (m *CreateFileRequest) GetMode() uint32
- func (*CreateFileRequest) ProtoMessage()
- func (m *CreateFileRequest) Reset()
- func (m *CreateFileRequest) String() string
- func (m *CreateFileRequest) XXX_DiscardUnknown()
- func (m *CreateFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateFileRequest) XXX_Merge(src proto.Message)
- func (m *CreateFileRequest) XXX_Size() int
- func (m *CreateFileRequest) XXX_Unmarshal(b []byte) error
- type CreateFileResponse
- func (*CreateFileResponse) Descriptor() ([]byte, []int)
- func (m *CreateFileResponse) GetAttr() *Attr
- func (m *CreateFileResponse) GetError() *Error
- func (m *CreateFileResponse) GetResult() isCreateFileResponse_Result
- func (*CreateFileResponse) ProtoMessage()
- func (m *CreateFileResponse) Reset()
- func (m *CreateFileResponse) String() string
- func (m *CreateFileResponse) XXX_DiscardUnknown()
- func (m *CreateFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateFileResponse) XXX_Merge(src proto.Message)
- func (*CreateFileResponse) XXX_OneofWrappers() []interface{}
- func (m *CreateFileResponse) XXX_Size() int
- func (m *CreateFileResponse) XXX_Unmarshal(b []byte) error
- type CreateFileResponse_Attr
- type CreateFileResponse_Error
- type EntryType
- type Error
- func (*Error) Descriptor() ([]byte, []int)
- func (m *Error) GetErr() isError_Err
- func (m *Error) GetErrno() uint32
- func (m *Error) GetMsg() string
- func (*Error) ProtoMessage()
- func (m *Error) Reset()
- func (m *Error) String() string
- func (m *Error) XXX_DiscardUnknown()
- func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Error) XXX_Merge(src proto.Message)
- func (*Error) XXX_OneofWrappers() []interface{}
- func (m *Error) XXX_Size() int
- func (m *Error) XXX_Unmarshal(b []byte) error
- type Error_Errno
- type Error_Msg
- type GetAttrRequest
- func (*GetAttrRequest) Descriptor() ([]byte, []int)
- func (m *GetAttrRequest) GetPath() string
- func (*GetAttrRequest) ProtoMessage()
- func (m *GetAttrRequest) Reset()
- func (m *GetAttrRequest) String() string
- func (m *GetAttrRequest) XXX_DiscardUnknown()
- func (m *GetAttrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAttrRequest) XXX_Merge(src proto.Message)
- func (m *GetAttrRequest) XXX_Size() int
- func (m *GetAttrRequest) XXX_Unmarshal(b []byte) error
- type GetAttrResponse
- func (*GetAttrResponse) Descriptor() ([]byte, []int)
- func (m *GetAttrResponse) GetAttr() *Attr
- func (m *GetAttrResponse) GetError() *Error
- func (m *GetAttrResponse) GetResult() isGetAttrResponse_Result
- func (*GetAttrResponse) ProtoMessage()
- func (m *GetAttrResponse) Reset()
- func (m *GetAttrResponse) String() string
- func (m *GetAttrResponse) XXX_DiscardUnknown()
- func (m *GetAttrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAttrResponse) XXX_Merge(src proto.Message)
- func (*GetAttrResponse) XXX_OneofWrappers() []interface{}
- func (m *GetAttrResponse) XXX_Size() int
- func (m *GetAttrResponse) XXX_Unmarshal(b []byte) error
- type GetAttrResponse_Attr
- type GetAttrResponse_Error
- type LookupRequest
- func (*LookupRequest) Descriptor() ([]byte, []int)
- func (m *LookupRequest) GetDirPath() string
- func (m *LookupRequest) GetFilename() string
- func (*LookupRequest) ProtoMessage()
- func (m *LookupRequest) Reset()
- func (m *LookupRequest) String() string
- func (m *LookupRequest) XXX_DiscardUnknown()
- func (m *LookupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LookupRequest) XXX_Merge(src proto.Message)
- func (m *LookupRequest) XXX_Size() int
- func (m *LookupRequest) XXX_Unmarshal(b []byte) error
- type LookupResponse
- func (*LookupResponse) Descriptor() ([]byte, []int)
- func (m *LookupResponse) GetAttr() *Attr
- func (m *LookupResponse) GetError() *Error
- func (m *LookupResponse) GetResult() isLookupResponse_Result
- func (*LookupResponse) ProtoMessage()
- func (m *LookupResponse) Reset()
- func (m *LookupResponse) String() string
- func (m *LookupResponse) XXX_DiscardUnknown()
- func (m *LookupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LookupResponse) XXX_Merge(src proto.Message)
- func (*LookupResponse) XXX_OneofWrappers() []interface{}
- func (m *LookupResponse) XXX_Size() int
- func (m *LookupResponse) XXX_Unmarshal(b []byte) error
- type LookupResponse_Attr
- type LookupResponse_Error
- type MkdirRequest
- func (*MkdirRequest) Descriptor() ([]byte, []int)
- func (m *MkdirRequest) GetDirPath() string
- func (m *MkdirRequest) GetNewName() string
- func (*MkdirRequest) ProtoMessage()
- func (m *MkdirRequest) Reset()
- func (m *MkdirRequest) String() string
- func (m *MkdirRequest) XXX_DiscardUnknown()
- func (m *MkdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MkdirRequest) XXX_Merge(src proto.Message)
- func (m *MkdirRequest) XXX_Size() int
- func (m *MkdirRequest) XXX_Unmarshal(b []byte) error
- type MkdirResponse
- func (*MkdirResponse) Descriptor() ([]byte, []int)
- func (m *MkdirResponse) GetAttr() *Attr
- func (m *MkdirResponse) GetError() *Error
- func (m *MkdirResponse) GetResult() isMkdirResponse_Result
- func (*MkdirResponse) ProtoMessage()
- func (m *MkdirResponse) Reset()
- func (m *MkdirResponse) String() string
- func (m *MkdirResponse) XXX_DiscardUnknown()
- func (m *MkdirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MkdirResponse) XXX_Merge(src proto.Message)
- func (*MkdirResponse) XXX_OneofWrappers() []interface{}
- func (m *MkdirResponse) XXX_Size() int
- func (m *MkdirResponse) XXX_Unmarshal(b []byte) error
- type MkdirResponse_Attr
- type MkdirResponse_Error
- type OpenFileRequest
- func (*OpenFileRequest) Descriptor() ([]byte, []int)
- func (m *OpenFileRequest) GetPath() string
- func (*OpenFileRequest) ProtoMessage()
- func (m *OpenFileRequest) Reset()
- func (m *OpenFileRequest) String() string
- func (m *OpenFileRequest) XXX_DiscardUnknown()
- func (m *OpenFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OpenFileRequest) XXX_Merge(src proto.Message)
- func (m *OpenFileRequest) XXX_Size() int
- func (m *OpenFileRequest) XXX_Unmarshal(b []byte) error
- type OpenFileResponse
- func (*OpenFileResponse) Descriptor() ([]byte, []int)
- func (m *OpenFileResponse) GetAttr() *Attr
- func (m *OpenFileResponse) GetError() *Error
- func (m *OpenFileResponse) GetResult() isOpenFileResponse_Result
- func (*OpenFileResponse) ProtoMessage()
- func (m *OpenFileResponse) Reset()
- func (m *OpenFileResponse) String() string
- func (m *OpenFileResponse) XXX_DiscardUnknown()
- func (m *OpenFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OpenFileResponse) XXX_Merge(src proto.Message)
- func (*OpenFileResponse) XXX_OneofWrappers() []interface{}
- func (m *OpenFileResponse) XXX_Size() int
- func (m *OpenFileResponse) XXX_Unmarshal(b []byte) error
- type OpenFileResponse_Attr
- type OpenFileResponse_Error
- type ReadDirRequest
- func (*ReadDirRequest) Descriptor() ([]byte, []int)
- func (m *ReadDirRequest) GetDirPath() string
- func (*ReadDirRequest) ProtoMessage()
- func (m *ReadDirRequest) Reset()
- func (m *ReadDirRequest) String() string
- func (m *ReadDirRequest) XXX_DiscardUnknown()
- func (m *ReadDirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadDirRequest) XXX_Merge(src proto.Message)
- func (m *ReadDirRequest) XXX_Size() int
- func (m *ReadDirRequest) XXX_Unmarshal(b []byte) error
- type ReadDirResponse
- func (*ReadDirResponse) Descriptor() ([]byte, []int)
- func (m *ReadDirResponse) GetDirEntries() []*ReadDirResponse_DirEntry
- func (m *ReadDirResponse) GetError() *Error
- func (*ReadDirResponse) ProtoMessage()
- func (m *ReadDirResponse) Reset()
- func (m *ReadDirResponse) String() string
- func (m *ReadDirResponse) XXX_DiscardUnknown()
- func (m *ReadDirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadDirResponse) XXX_Merge(src proto.Message)
- func (m *ReadDirResponse) XXX_Size() int
- func (m *ReadDirResponse) XXX_Unmarshal(b []byte) error
- type ReadDirResponse_DirEntry
- func (*ReadDirResponse_DirEntry) Descriptor() ([]byte, []int)
- func (m *ReadDirResponse_DirEntry) GetMode() uint32
- func (m *ReadDirResponse_DirEntry) GetName() string
- func (m *ReadDirResponse_DirEntry) GetType() EntryType
- func (*ReadDirResponse_DirEntry) ProtoMessage()
- func (m *ReadDirResponse_DirEntry) Reset()
- func (m *ReadDirResponse_DirEntry) String() string
- func (m *ReadDirResponse_DirEntry) XXX_DiscardUnknown()
- func (m *ReadDirResponse_DirEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadDirResponse_DirEntry) XXX_Merge(src proto.Message)
- func (m *ReadDirResponse_DirEntry) XXX_Size() int
- func (m *ReadDirResponse_DirEntry) XXX_Unmarshal(b []byte) error
- type ReadFileRequest
- func (*ReadFileRequest) Descriptor() ([]byte, []int)
- func (m *ReadFileRequest) GetOffset() uint64
- func (m *ReadFileRequest) GetPath() string
- func (m *ReadFileRequest) GetSize() uint64
- func (*ReadFileRequest) ProtoMessage()
- func (m *ReadFileRequest) Reset()
- func (m *ReadFileRequest) String() string
- func (m *ReadFileRequest) XXX_DiscardUnknown()
- func (m *ReadFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadFileRequest) XXX_Merge(src proto.Message)
- func (m *ReadFileRequest) XXX_Size() int
- func (m *ReadFileRequest) XXX_Unmarshal(b []byte) error
- type ReadFileResponse
- func (*ReadFileResponse) Descriptor() ([]byte, []int)
- func (m *ReadFileResponse) GetData() []byte
- func (m *ReadFileResponse) GetError() *Error
- func (m *ReadFileResponse) GetResult() isReadFileResponse_Result
- func (*ReadFileResponse) ProtoMessage()
- func (m *ReadFileResponse) Reset()
- func (m *ReadFileResponse) String() string
- func (m *ReadFileResponse) XXX_DiscardUnknown()
- func (m *ReadFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReadFileResponse) XXX_Merge(src proto.Message)
- func (*ReadFileResponse) XXX_OneofWrappers() []interface{}
- func (m *ReadFileResponse) XXX_Size() int
- func (m *ReadFileResponse) XXX_Unmarshal(b []byte) error
- type ReadFileResponse_Data
- type ReadFileResponse_Error
- type RenameRequest
- func (*RenameRequest) Descriptor() ([]byte, []int)
- func (m *RenameRequest) GetDirPath() string
- func (m *RenameRequest) GetNewDirPath() string
- func (m *RenameRequest) GetNewName() string
- func (m *RenameRequest) GetOldName() string
- func (*RenameRequest) ProtoMessage()
- func (m *RenameRequest) Reset()
- func (m *RenameRequest) String() string
- func (m *RenameRequest) XXX_DiscardUnknown()
- func (m *RenameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RenameRequest) XXX_Merge(src proto.Message)
- func (m *RenameRequest) XXX_Size() int
- func (m *RenameRequest) XXX_Unmarshal(b []byte) error
- type RenameResponse
- func (*RenameResponse) Descriptor() ([]byte, []int)
- func (m *RenameResponse) GetError() *Error
- func (*RenameResponse) ProtoMessage()
- func (m *RenameResponse) Reset()
- func (m *RenameResponse) String() string
- func (m *RenameResponse) XXX_DiscardUnknown()
- func (m *RenameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RenameResponse) XXX_Merge(src proto.Message)
- func (m *RenameResponse) XXX_Size() int
- func (m *RenameResponse) XXX_Unmarshal(b []byte) error
- type RmDirRequest
- func (*RmDirRequest) Descriptor() ([]byte, []int)
- func (m *RmDirRequest) GetDirPath() string
- func (m *RmDirRequest) GetRmName() string
- func (*RmDirRequest) ProtoMessage()
- func (m *RmDirRequest) Reset()
- func (m *RmDirRequest) String() string
- func (m *RmDirRequest) XXX_DiscardUnknown()
- func (m *RmDirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RmDirRequest) XXX_Merge(src proto.Message)
- func (m *RmDirRequest) XXX_Size() int
- func (m *RmDirRequest) XXX_Unmarshal(b []byte) error
- type RmDirResponse
- func (*RmDirResponse) Descriptor() ([]byte, []int)
- func (m *RmDirResponse) GetError() *Error
- func (*RmDirResponse) ProtoMessage()
- func (m *RmDirResponse) Reset()
- func (m *RmDirResponse) String() string
- func (m *RmDirResponse) XXX_DiscardUnknown()
- func (m *RmDirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RmDirResponse) XXX_Merge(src proto.Message)
- func (m *RmDirResponse) XXX_Size() int
- func (m *RmDirResponse) XXX_Unmarshal(b []byte) error
- type SetAttrRequest
- func (*SetAttrRequest) Descriptor() ([]byte, []int)
- func (m *SetAttrRequest) GetAttr() *Attr
- func (m *SetAttrRequest) GetPath() string
- func (*SetAttrRequest) ProtoMessage()
- func (m *SetAttrRequest) Reset()
- func (m *SetAttrRequest) String() string
- func (m *SetAttrRequest) XXX_DiscardUnknown()
- func (m *SetAttrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetAttrRequest) XXX_Merge(src proto.Message)
- func (m *SetAttrRequest) XXX_Size() int
- func (m *SetAttrRequest) XXX_Unmarshal(b []byte) error
- type SetAttrResponse
- func (*SetAttrResponse) Descriptor() ([]byte, []int)
- func (m *SetAttrResponse) GetAttr() *Attr
- func (m *SetAttrResponse) GetError() *Error
- func (m *SetAttrResponse) GetResult() isSetAttrResponse_Result
- func (*SetAttrResponse) ProtoMessage()
- func (m *SetAttrResponse) Reset()
- func (m *SetAttrResponse) String() string
- func (m *SetAttrResponse) XXX_DiscardUnknown()
- func (m *SetAttrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetAttrResponse) XXX_Merge(src proto.Message)
- func (*SetAttrResponse) XXX_OneofWrappers() []interface{}
- func (m *SetAttrResponse) XXX_Size() int
- func (m *SetAttrResponse) XXX_Unmarshal(b []byte) error
- type SetAttrResponse_Attr
- type SetAttrResponse_Error
- type SyncFileRequest
- func (*SyncFileRequest) Descriptor() ([]byte, []int)
- func (m *SyncFileRequest) GetData() []byte
- func (m *SyncFileRequest) GetOffset() uint64
- func (m *SyncFileRequest) GetPath() string
- func (*SyncFileRequest) ProtoMessage()
- func (m *SyncFileRequest) Reset()
- func (m *SyncFileRequest) String() string
- func (m *SyncFileRequest) XXX_DiscardUnknown()
- func (m *SyncFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncFileRequest) XXX_Merge(src proto.Message)
- func (m *SyncFileRequest) XXX_Size() int
- func (m *SyncFileRequest) XXX_Unmarshal(b []byte) error
- type SyncFileResponse
- func (*SyncFileResponse) Descriptor() ([]byte, []int)
- func (m *SyncFileResponse) GetError() *Error
- func (*SyncFileResponse) ProtoMessage()
- func (m *SyncFileResponse) Reset()
- func (m *SyncFileResponse) String() string
- func (m *SyncFileResponse) XXX_DiscardUnknown()
- func (m *SyncFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncFileResponse) XXX_Merge(src proto.Message)
- func (m *SyncFileResponse) XXX_Size() int
- func (m *SyncFileResponse) XXX_Unmarshal(b []byte) error
- type TfsClient
- type TfsServer
- type Tfs_ReadFileClient
- type Tfs_ReadFileServer
- type Tfs_SyncFileClient
- type Tfs_SyncFileServer
- type Tfs_WriteFileClient
- type Tfs_WriteFileServer
- type UnimplementedTfsServer
- func (*UnimplementedTfsServer) Allocate(ctx context.Context, req *AllocateRequest) (*AllocateResponse, error)
- func (*UnimplementedTfsServer) CloseFile(ctx context.Context, req *CloseFileRequest) (*CloseFileResponse, error)
- func (*UnimplementedTfsServer) CreateFile(ctx context.Context, req *CreateFileRequest) (*CreateFileResponse, error)
- func (*UnimplementedTfsServer) GetAttr(ctx context.Context, req *GetAttrRequest) (*GetAttrResponse, error)
- func (*UnimplementedTfsServer) Lookup(ctx context.Context, req *LookupRequest) (*LookupResponse, error)
- func (*UnimplementedTfsServer) Mkdir(ctx context.Context, req *MkdirRequest) (*MkdirResponse, error)
- func (*UnimplementedTfsServer) Nothing(ctx context.Context, req *empty.Empty) (*empty.Empty, error)
- func (*UnimplementedTfsServer) OpenFile(ctx context.Context, req *OpenFileRequest) (*OpenFileResponse, error)
- func (*UnimplementedTfsServer) ReadDir(ctx context.Context, req *ReadDirRequest) (*ReadDirResponse, error)
- func (*UnimplementedTfsServer) ReadFile(req *ReadFileRequest, srv Tfs_ReadFileServer) error
- func (*UnimplementedTfsServer) Rename(ctx context.Context, req *RenameRequest) (*RenameResponse, error)
- func (*UnimplementedTfsServer) RmDir(ctx context.Context, req *RmDirRequest) (*RmDirResponse, error)
- func (*UnimplementedTfsServer) SetAttr(ctx context.Context, req *SetAttrRequest) (*SetAttrResponse, error)
- func (*UnimplementedTfsServer) SyncFile(srv Tfs_SyncFileServer) error
- func (*UnimplementedTfsServer) Unlink(ctx context.Context, req *UnlinkRequest) (*UnlinkResponse, error)
- func (*UnimplementedTfsServer) WriteFile(srv Tfs_WriteFileServer) error
- type UnlinkRequest
- func (*UnlinkRequest) Descriptor() ([]byte, []int)
- func (m *UnlinkRequest) GetDirPath() string
- func (m *UnlinkRequest) GetFilename() string
- func (*UnlinkRequest) ProtoMessage()
- func (m *UnlinkRequest) Reset()
- func (m *UnlinkRequest) String() string
- func (m *UnlinkRequest) XXX_DiscardUnknown()
- func (m *UnlinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnlinkRequest) XXX_Merge(src proto.Message)
- func (m *UnlinkRequest) XXX_Size() int
- func (m *UnlinkRequest) XXX_Unmarshal(b []byte) error
- type UnlinkResponse
- func (*UnlinkResponse) Descriptor() ([]byte, []int)
- func (m *UnlinkResponse) GetError() *Error
- func (*UnlinkResponse) ProtoMessage()
- func (m *UnlinkResponse) Reset()
- func (m *UnlinkResponse) String() string
- func (m *UnlinkResponse) XXX_DiscardUnknown()
- func (m *UnlinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnlinkResponse) XXX_Merge(src proto.Message)
- func (m *UnlinkResponse) XXX_Size() int
- func (m *UnlinkResponse) XXX_Unmarshal(b []byte) error
- type WriteFileRequest
- func (*WriteFileRequest) Descriptor() ([]byte, []int)
- func (m *WriteFileRequest) GetData() []byte
- func (m *WriteFileRequest) GetOffset() uint64
- func (m *WriteFileRequest) GetPath() string
- func (*WriteFileRequest) ProtoMessage()
- func (m *WriteFileRequest) Reset()
- func (m *WriteFileRequest) String() string
- func (m *WriteFileRequest) XXX_DiscardUnknown()
- func (m *WriteFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WriteFileRequest) XXX_Merge(src proto.Message)
- func (m *WriteFileRequest) XXX_Size() int
- func (m *WriteFileRequest) XXX_Unmarshal(b []byte) error
- type WriteFileResponse
- func (*WriteFileResponse) Descriptor() ([]byte, []int)
- func (m *WriteFileResponse) GetError() *Error
- func (m *WriteFileResponse) GetResult() isWriteFileResponse_Result
- func (m *WriteFileResponse) GetWritten() uint64
- func (*WriteFileResponse) ProtoMessage()
- func (m *WriteFileResponse) Reset()
- func (m *WriteFileResponse) String() string
- func (m *WriteFileResponse) XXX_DiscardUnknown()
- func (m *WriteFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WriteFileResponse) XXX_Merge(src proto.Message)
- func (*WriteFileResponse) XXX_OneofWrappers() []interface{}
- func (m *WriteFileResponse) XXX_Size() int
- func (m *WriteFileResponse) XXX_Unmarshal(b []byte) error
- type WriteFileResponse_Error
- type WriteFileResponse_Written
Constants ¶
This section is empty.
Variables ¶
var EntryType_name = map[int32]string{
0: "file",
1: "dir",
}
var EntryType_value = map[string]int32{
"file": 0,
"dir": 1,
}
Functions ¶
func RegisterTfsServer ¶
Types ¶
type AllocateRequest ¶
type AllocateRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Offset uint64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` Size uint64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AllocateRequest) Descriptor ¶
func (*AllocateRequest) Descriptor() ([]byte, []int)
func (*AllocateRequest) GetOffset ¶
func (m *AllocateRequest) GetOffset() uint64
func (*AllocateRequest) GetPath ¶
func (m *AllocateRequest) GetPath() string
func (*AllocateRequest) GetSize ¶
func (m *AllocateRequest) GetSize() uint64
func (*AllocateRequest) ProtoMessage ¶
func (*AllocateRequest) ProtoMessage()
func (*AllocateRequest) Reset ¶
func (m *AllocateRequest) Reset()
func (*AllocateRequest) String ¶
func (m *AllocateRequest) String() string
func (*AllocateRequest) XXX_DiscardUnknown ¶
func (m *AllocateRequest) XXX_DiscardUnknown()
func (*AllocateRequest) XXX_Marshal ¶
func (m *AllocateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllocateRequest) XXX_Merge ¶
func (m *AllocateRequest) XXX_Merge(src proto.Message)
func (*AllocateRequest) XXX_Size ¶
func (m *AllocateRequest) XXX_Size() int
func (*AllocateRequest) XXX_Unmarshal ¶
func (m *AllocateRequest) XXX_Unmarshal(b []byte) error
type AllocateResponse ¶
type AllocateResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AllocateResponse) Descriptor ¶
func (*AllocateResponse) Descriptor() ([]byte, []int)
func (*AllocateResponse) GetError ¶
func (m *AllocateResponse) GetError() *Error
func (*AllocateResponse) ProtoMessage ¶
func (*AllocateResponse) ProtoMessage()
func (*AllocateResponse) Reset ¶
func (m *AllocateResponse) Reset()
func (*AllocateResponse) String ¶
func (m *AllocateResponse) String() string
func (*AllocateResponse) XXX_DiscardUnknown ¶
func (m *AllocateResponse) XXX_DiscardUnknown()
func (*AllocateResponse) XXX_Marshal ¶
func (m *AllocateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllocateResponse) XXX_Merge ¶
func (m *AllocateResponse) XXX_Merge(src proto.Message)
func (*AllocateResponse) XXX_Size ¶
func (m *AllocateResponse) XXX_Size() int
func (*AllocateResponse) XXX_Unmarshal ¶
func (m *AllocateResponse) XXX_Unmarshal(b []byte) error
type Attr ¶
type Attr struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Mode uint32 `protobuf:"varint,2,opt,name=mode,proto3" json:"mode,omitempty"` Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` Type EntryType `protobuf:"varint,4,opt,name=type,proto3,enum=rpc.EntryType" json:"type,omitempty"` AccessTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=accessTime,proto3" json:"accessTime,omitempty"` ModifyTime *timestamp.Timestamp `protobuf:"bytes,6,opt,name=modifyTime,proto3" json:"modifyTime,omitempty"` ChangeTime *timestamp.Timestamp `protobuf:"bytes,7,opt,name=changeTime,proto3" json:"changeTime,omitempty"` CreateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=createTime,proto3" json:"createTime,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Attr) Descriptor ¶
func (*Attr) GetAccessTime ¶
func (*Attr) GetChangeTime ¶
func (*Attr) GetCreateTime ¶
func (*Attr) GetModifyTime ¶
func (*Attr) ProtoMessage ¶
func (*Attr) ProtoMessage()
func (*Attr) XXX_DiscardUnknown ¶
func (m *Attr) XXX_DiscardUnknown()
func (*Attr) XXX_Unmarshal ¶
type CloseFileRequest ¶
type CloseFileRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CloseFileRequest) Descriptor ¶
func (*CloseFileRequest) Descriptor() ([]byte, []int)
func (*CloseFileRequest) GetPath ¶
func (m *CloseFileRequest) GetPath() string
func (*CloseFileRequest) ProtoMessage ¶
func (*CloseFileRequest) ProtoMessage()
func (*CloseFileRequest) Reset ¶
func (m *CloseFileRequest) Reset()
func (*CloseFileRequest) String ¶
func (m *CloseFileRequest) String() string
func (*CloseFileRequest) XXX_DiscardUnknown ¶
func (m *CloseFileRequest) XXX_DiscardUnknown()
func (*CloseFileRequest) XXX_Marshal ¶
func (m *CloseFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CloseFileRequest) XXX_Merge ¶
func (m *CloseFileRequest) XXX_Merge(src proto.Message)
func (*CloseFileRequest) XXX_Size ¶
func (m *CloseFileRequest) XXX_Size() int
func (*CloseFileRequest) XXX_Unmarshal ¶
func (m *CloseFileRequest) XXX_Unmarshal(b []byte) error
type CloseFileResponse ¶
type CloseFileResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CloseFileResponse) Descriptor ¶
func (*CloseFileResponse) Descriptor() ([]byte, []int)
func (*CloseFileResponse) GetError ¶
func (m *CloseFileResponse) GetError() *Error
func (*CloseFileResponse) ProtoMessage ¶
func (*CloseFileResponse) ProtoMessage()
func (*CloseFileResponse) Reset ¶
func (m *CloseFileResponse) Reset()
func (*CloseFileResponse) String ¶
func (m *CloseFileResponse) String() string
func (*CloseFileResponse) XXX_DiscardUnknown ¶
func (m *CloseFileResponse) XXX_DiscardUnknown()
func (*CloseFileResponse) XXX_Marshal ¶
func (m *CloseFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CloseFileResponse) XXX_Merge ¶
func (m *CloseFileResponse) XXX_Merge(src proto.Message)
func (*CloseFileResponse) XXX_Size ¶
func (m *CloseFileResponse) XXX_Size() int
func (*CloseFileResponse) XXX_Unmarshal ¶
func (m *CloseFileResponse) XXX_Unmarshal(b []byte) error
type CreateFileRequest ¶
type CreateFileRequest struct { DirPath string `protobuf:"bytes,1,opt,name=dirPath,proto3" json:"dirPath,omitempty"` Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` Mode uint32 `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateFileRequest) Descriptor ¶
func (*CreateFileRequest) Descriptor() ([]byte, []int)
func (*CreateFileRequest) GetDirPath ¶
func (m *CreateFileRequest) GetDirPath() string
func (*CreateFileRequest) GetFilename ¶
func (m *CreateFileRequest) GetFilename() string
func (*CreateFileRequest) GetMode ¶
func (m *CreateFileRequest) GetMode() uint32
func (*CreateFileRequest) ProtoMessage ¶
func (*CreateFileRequest) ProtoMessage()
func (*CreateFileRequest) Reset ¶
func (m *CreateFileRequest) Reset()
func (*CreateFileRequest) String ¶
func (m *CreateFileRequest) String() string
func (*CreateFileRequest) XXX_DiscardUnknown ¶
func (m *CreateFileRequest) XXX_DiscardUnknown()
func (*CreateFileRequest) XXX_Marshal ¶
func (m *CreateFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateFileRequest) XXX_Merge ¶
func (m *CreateFileRequest) XXX_Merge(src proto.Message)
func (*CreateFileRequest) XXX_Size ¶
func (m *CreateFileRequest) XXX_Size() int
func (*CreateFileRequest) XXX_Unmarshal ¶
func (m *CreateFileRequest) XXX_Unmarshal(b []byte) error
type CreateFileResponse ¶
type CreateFileResponse struct { // Types that are valid to be assigned to Result: // *CreateFileResponse_Attr // *CreateFileResponse_Error Result isCreateFileResponse_Result `protobuf_oneof:"result"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateFileResponse) Descriptor ¶
func (*CreateFileResponse) Descriptor() ([]byte, []int)
func (*CreateFileResponse) GetAttr ¶
func (m *CreateFileResponse) GetAttr() *Attr
func (*CreateFileResponse) GetError ¶
func (m *CreateFileResponse) GetError() *Error
func (*CreateFileResponse) GetResult ¶
func (m *CreateFileResponse) GetResult() isCreateFileResponse_Result
func (*CreateFileResponse) ProtoMessage ¶
func (*CreateFileResponse) ProtoMessage()
func (*CreateFileResponse) Reset ¶
func (m *CreateFileResponse) Reset()
func (*CreateFileResponse) String ¶
func (m *CreateFileResponse) String() string
func (*CreateFileResponse) XXX_DiscardUnknown ¶
func (m *CreateFileResponse) XXX_DiscardUnknown()
func (*CreateFileResponse) XXX_Marshal ¶
func (m *CreateFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateFileResponse) XXX_Merge ¶
func (m *CreateFileResponse) XXX_Merge(src proto.Message)
func (*CreateFileResponse) XXX_OneofWrappers ¶
func (*CreateFileResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*CreateFileResponse) XXX_Size ¶
func (m *CreateFileResponse) XXX_Size() int
func (*CreateFileResponse) XXX_Unmarshal ¶
func (m *CreateFileResponse) XXX_Unmarshal(b []byte) error
type CreateFileResponse_Attr ¶
type CreateFileResponse_Attr struct {
Attr *Attr `protobuf:"bytes,1,opt,name=attr,proto3,oneof"`
}
type CreateFileResponse_Error ¶
type CreateFileResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type Error ¶
type Error struct { // Types that are valid to be assigned to Err: // *Error_Errno // *Error_Msg Err isError_Err `protobuf_oneof:"err"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Error) Descriptor ¶
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) XXX_DiscardUnknown ¶
func (m *Error) XXX_DiscardUnknown()
func (*Error) XXX_Marshal ¶
func (*Error) XXX_OneofWrappers ¶
func (*Error) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Error) XXX_Unmarshal ¶
type Error_Errno ¶
type Error_Errno struct {
Errno uint32 `protobuf:"varint,1,opt,name=errno,proto3,oneof"`
}
type Error_Msg ¶
type Error_Msg struct {
Msg string `protobuf:"bytes,2,opt,name=msg,proto3,oneof"`
}
type GetAttrRequest ¶
type GetAttrRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAttrRequest) Descriptor ¶
func (*GetAttrRequest) Descriptor() ([]byte, []int)
func (*GetAttrRequest) GetPath ¶
func (m *GetAttrRequest) GetPath() string
func (*GetAttrRequest) ProtoMessage ¶
func (*GetAttrRequest) ProtoMessage()
func (*GetAttrRequest) Reset ¶
func (m *GetAttrRequest) Reset()
func (*GetAttrRequest) String ¶
func (m *GetAttrRequest) String() string
func (*GetAttrRequest) XXX_DiscardUnknown ¶
func (m *GetAttrRequest) XXX_DiscardUnknown()
func (*GetAttrRequest) XXX_Marshal ¶
func (m *GetAttrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAttrRequest) XXX_Merge ¶
func (m *GetAttrRequest) XXX_Merge(src proto.Message)
func (*GetAttrRequest) XXX_Size ¶
func (m *GetAttrRequest) XXX_Size() int
func (*GetAttrRequest) XXX_Unmarshal ¶
func (m *GetAttrRequest) XXX_Unmarshal(b []byte) error
type GetAttrResponse ¶
type GetAttrResponse struct { // Types that are valid to be assigned to Result: // *GetAttrResponse_Attr // *GetAttrResponse_Error Result isGetAttrResponse_Result `protobuf_oneof:"result"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetAttrResponse) Descriptor ¶
func (*GetAttrResponse) Descriptor() ([]byte, []int)
func (*GetAttrResponse) GetAttr ¶
func (m *GetAttrResponse) GetAttr() *Attr
func (*GetAttrResponse) GetError ¶
func (m *GetAttrResponse) GetError() *Error
func (*GetAttrResponse) GetResult ¶
func (m *GetAttrResponse) GetResult() isGetAttrResponse_Result
func (*GetAttrResponse) ProtoMessage ¶
func (*GetAttrResponse) ProtoMessage()
func (*GetAttrResponse) Reset ¶
func (m *GetAttrResponse) Reset()
func (*GetAttrResponse) String ¶
func (m *GetAttrResponse) String() string
func (*GetAttrResponse) XXX_DiscardUnknown ¶
func (m *GetAttrResponse) XXX_DiscardUnknown()
func (*GetAttrResponse) XXX_Marshal ¶
func (m *GetAttrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAttrResponse) XXX_Merge ¶
func (m *GetAttrResponse) XXX_Merge(src proto.Message)
func (*GetAttrResponse) XXX_OneofWrappers ¶
func (*GetAttrResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*GetAttrResponse) XXX_Size ¶
func (m *GetAttrResponse) XXX_Size() int
func (*GetAttrResponse) XXX_Unmarshal ¶
func (m *GetAttrResponse) XXX_Unmarshal(b []byte) error
type GetAttrResponse_Attr ¶
type GetAttrResponse_Attr struct {
Attr *Attr `protobuf:"bytes,1,opt,name=attr,proto3,oneof"`
}
type GetAttrResponse_Error ¶
type GetAttrResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type LookupRequest ¶
type LookupRequest struct { DirPath string `protobuf:"bytes,1,opt,name=dirPath,proto3" json:"dirPath,omitempty"` Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LookupRequest) Descriptor ¶
func (*LookupRequest) Descriptor() ([]byte, []int)
func (*LookupRequest) GetDirPath ¶
func (m *LookupRequest) GetDirPath() string
func (*LookupRequest) GetFilename ¶
func (m *LookupRequest) GetFilename() string
func (*LookupRequest) ProtoMessage ¶
func (*LookupRequest) ProtoMessage()
func (*LookupRequest) Reset ¶
func (m *LookupRequest) Reset()
func (*LookupRequest) String ¶
func (m *LookupRequest) String() string
func (*LookupRequest) XXX_DiscardUnknown ¶
func (m *LookupRequest) XXX_DiscardUnknown()
func (*LookupRequest) XXX_Marshal ¶
func (m *LookupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LookupRequest) XXX_Merge ¶
func (m *LookupRequest) XXX_Merge(src proto.Message)
func (*LookupRequest) XXX_Size ¶
func (m *LookupRequest) XXX_Size() int
func (*LookupRequest) XXX_Unmarshal ¶
func (m *LookupRequest) XXX_Unmarshal(b []byte) error
type LookupResponse ¶
type LookupResponse struct { // Types that are valid to be assigned to Result: // *LookupResponse_Attr // *LookupResponse_Error Result isLookupResponse_Result `protobuf_oneof:"result"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LookupResponse) Descriptor ¶
func (*LookupResponse) Descriptor() ([]byte, []int)
func (*LookupResponse) GetAttr ¶
func (m *LookupResponse) GetAttr() *Attr
func (*LookupResponse) GetError ¶
func (m *LookupResponse) GetError() *Error
func (*LookupResponse) GetResult ¶
func (m *LookupResponse) GetResult() isLookupResponse_Result
func (*LookupResponse) ProtoMessage ¶
func (*LookupResponse) ProtoMessage()
func (*LookupResponse) Reset ¶
func (m *LookupResponse) Reset()
func (*LookupResponse) String ¶
func (m *LookupResponse) String() string
func (*LookupResponse) XXX_DiscardUnknown ¶
func (m *LookupResponse) XXX_DiscardUnknown()
func (*LookupResponse) XXX_Marshal ¶
func (m *LookupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LookupResponse) XXX_Merge ¶
func (m *LookupResponse) XXX_Merge(src proto.Message)
func (*LookupResponse) XXX_OneofWrappers ¶
func (*LookupResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*LookupResponse) XXX_Size ¶
func (m *LookupResponse) XXX_Size() int
func (*LookupResponse) XXX_Unmarshal ¶
func (m *LookupResponse) XXX_Unmarshal(b []byte) error
type LookupResponse_Attr ¶
type LookupResponse_Attr struct {
Attr *Attr `protobuf:"bytes,1,opt,name=attr,proto3,oneof"`
}
type LookupResponse_Error ¶
type LookupResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type MkdirRequest ¶
type MkdirRequest struct { DirPath string `protobuf:"bytes,1,opt,name=dirPath,proto3" json:"dirPath,omitempty"` NewName string `protobuf:"bytes,2,opt,name=newName,proto3" json:"newName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MkdirRequest) Descriptor ¶
func (*MkdirRequest) Descriptor() ([]byte, []int)
func (*MkdirRequest) GetDirPath ¶
func (m *MkdirRequest) GetDirPath() string
func (*MkdirRequest) GetNewName ¶
func (m *MkdirRequest) GetNewName() string
func (*MkdirRequest) ProtoMessage ¶
func (*MkdirRequest) ProtoMessage()
func (*MkdirRequest) Reset ¶
func (m *MkdirRequest) Reset()
func (*MkdirRequest) String ¶
func (m *MkdirRequest) String() string
func (*MkdirRequest) XXX_DiscardUnknown ¶
func (m *MkdirRequest) XXX_DiscardUnknown()
func (*MkdirRequest) XXX_Marshal ¶
func (m *MkdirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MkdirRequest) XXX_Merge ¶
func (m *MkdirRequest) XXX_Merge(src proto.Message)
func (*MkdirRequest) XXX_Size ¶
func (m *MkdirRequest) XXX_Size() int
func (*MkdirRequest) XXX_Unmarshal ¶
func (m *MkdirRequest) XXX_Unmarshal(b []byte) error
type MkdirResponse ¶
type MkdirResponse struct { // Types that are valid to be assigned to Result: // *MkdirResponse_Attr // *MkdirResponse_Error Result isMkdirResponse_Result `protobuf_oneof:"result"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MkdirResponse) Descriptor ¶
func (*MkdirResponse) Descriptor() ([]byte, []int)
func (*MkdirResponse) GetAttr ¶
func (m *MkdirResponse) GetAttr() *Attr
func (*MkdirResponse) GetError ¶
func (m *MkdirResponse) GetError() *Error
func (*MkdirResponse) GetResult ¶
func (m *MkdirResponse) GetResult() isMkdirResponse_Result
func (*MkdirResponse) ProtoMessage ¶
func (*MkdirResponse) ProtoMessage()
func (*MkdirResponse) Reset ¶
func (m *MkdirResponse) Reset()
func (*MkdirResponse) String ¶
func (m *MkdirResponse) String() string
func (*MkdirResponse) XXX_DiscardUnknown ¶
func (m *MkdirResponse) XXX_DiscardUnknown()
func (*MkdirResponse) XXX_Marshal ¶
func (m *MkdirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MkdirResponse) XXX_Merge ¶
func (m *MkdirResponse) XXX_Merge(src proto.Message)
func (*MkdirResponse) XXX_OneofWrappers ¶
func (*MkdirResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*MkdirResponse) XXX_Size ¶
func (m *MkdirResponse) XXX_Size() int
func (*MkdirResponse) XXX_Unmarshal ¶
func (m *MkdirResponse) XXX_Unmarshal(b []byte) error
type MkdirResponse_Attr ¶
type MkdirResponse_Attr struct {
Attr *Attr `protobuf:"bytes,1,opt,name=attr,proto3,oneof"`
}
type MkdirResponse_Error ¶
type MkdirResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type OpenFileRequest ¶
type OpenFileRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OpenFileRequest) Descriptor ¶
func (*OpenFileRequest) Descriptor() ([]byte, []int)
func (*OpenFileRequest) GetPath ¶
func (m *OpenFileRequest) GetPath() string
func (*OpenFileRequest) ProtoMessage ¶
func (*OpenFileRequest) ProtoMessage()
func (*OpenFileRequest) Reset ¶
func (m *OpenFileRequest) Reset()
func (*OpenFileRequest) String ¶
func (m *OpenFileRequest) String() string
func (*OpenFileRequest) XXX_DiscardUnknown ¶
func (m *OpenFileRequest) XXX_DiscardUnknown()
func (*OpenFileRequest) XXX_Marshal ¶
func (m *OpenFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OpenFileRequest) XXX_Merge ¶
func (m *OpenFileRequest) XXX_Merge(src proto.Message)
func (*OpenFileRequest) XXX_Size ¶
func (m *OpenFileRequest) XXX_Size() int
func (*OpenFileRequest) XXX_Unmarshal ¶
func (m *OpenFileRequest) XXX_Unmarshal(b []byte) error
type OpenFileResponse ¶
type OpenFileResponse struct { // Types that are valid to be assigned to Result: // *OpenFileResponse_Attr // *OpenFileResponse_Error Result isOpenFileResponse_Result `protobuf_oneof:"result"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OpenFileResponse) Descriptor ¶
func (*OpenFileResponse) Descriptor() ([]byte, []int)
func (*OpenFileResponse) GetAttr ¶
func (m *OpenFileResponse) GetAttr() *Attr
func (*OpenFileResponse) GetError ¶
func (m *OpenFileResponse) GetError() *Error
func (*OpenFileResponse) GetResult ¶
func (m *OpenFileResponse) GetResult() isOpenFileResponse_Result
func (*OpenFileResponse) ProtoMessage ¶
func (*OpenFileResponse) ProtoMessage()
func (*OpenFileResponse) Reset ¶
func (m *OpenFileResponse) Reset()
func (*OpenFileResponse) String ¶
func (m *OpenFileResponse) String() string
func (*OpenFileResponse) XXX_DiscardUnknown ¶
func (m *OpenFileResponse) XXX_DiscardUnknown()
func (*OpenFileResponse) XXX_Marshal ¶
func (m *OpenFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OpenFileResponse) XXX_Merge ¶
func (m *OpenFileResponse) XXX_Merge(src proto.Message)
func (*OpenFileResponse) XXX_OneofWrappers ¶
func (*OpenFileResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*OpenFileResponse) XXX_Size ¶
func (m *OpenFileResponse) XXX_Size() int
func (*OpenFileResponse) XXX_Unmarshal ¶
func (m *OpenFileResponse) XXX_Unmarshal(b []byte) error
type OpenFileResponse_Attr ¶
type OpenFileResponse_Attr struct {
Attr *Attr `protobuf:"bytes,1,opt,name=attr,proto3,oneof"`
}
type OpenFileResponse_Error ¶
type OpenFileResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type ReadDirRequest ¶
type ReadDirRequest struct { DirPath string `protobuf:"bytes,1,opt,name=dirPath,proto3" json:"dirPath,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReadDirRequest) Descriptor ¶
func (*ReadDirRequest) Descriptor() ([]byte, []int)
func (*ReadDirRequest) GetDirPath ¶
func (m *ReadDirRequest) GetDirPath() string
func (*ReadDirRequest) ProtoMessage ¶
func (*ReadDirRequest) ProtoMessage()
func (*ReadDirRequest) Reset ¶
func (m *ReadDirRequest) Reset()
func (*ReadDirRequest) String ¶
func (m *ReadDirRequest) String() string
func (*ReadDirRequest) XXX_DiscardUnknown ¶
func (m *ReadDirRequest) XXX_DiscardUnknown()
func (*ReadDirRequest) XXX_Marshal ¶
func (m *ReadDirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadDirRequest) XXX_Merge ¶
func (m *ReadDirRequest) XXX_Merge(src proto.Message)
func (*ReadDirRequest) XXX_Size ¶
func (m *ReadDirRequest) XXX_Size() int
func (*ReadDirRequest) XXX_Unmarshal ¶
func (m *ReadDirRequest) XXX_Unmarshal(b []byte) error
type ReadDirResponse ¶
type ReadDirResponse struct { DirEntries []*ReadDirResponse_DirEntry `protobuf:"bytes,1,rep,name=dirEntries,proto3" json:"dirEntries,omitempty"` Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReadDirResponse) Descriptor ¶
func (*ReadDirResponse) Descriptor() ([]byte, []int)
func (*ReadDirResponse) GetDirEntries ¶
func (m *ReadDirResponse) GetDirEntries() []*ReadDirResponse_DirEntry
func (*ReadDirResponse) GetError ¶
func (m *ReadDirResponse) GetError() *Error
func (*ReadDirResponse) ProtoMessage ¶
func (*ReadDirResponse) ProtoMessage()
func (*ReadDirResponse) Reset ¶
func (m *ReadDirResponse) Reset()
func (*ReadDirResponse) String ¶
func (m *ReadDirResponse) String() string
func (*ReadDirResponse) XXX_DiscardUnknown ¶
func (m *ReadDirResponse) XXX_DiscardUnknown()
func (*ReadDirResponse) XXX_Marshal ¶
func (m *ReadDirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadDirResponse) XXX_Merge ¶
func (m *ReadDirResponse) XXX_Merge(src proto.Message)
func (*ReadDirResponse) XXX_Size ¶
func (m *ReadDirResponse) XXX_Size() int
func (*ReadDirResponse) XXX_Unmarshal ¶
func (m *ReadDirResponse) XXX_Unmarshal(b []byte) error
type ReadDirResponse_DirEntry ¶
type ReadDirResponse_DirEntry struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Type EntryType `protobuf:"varint,2,opt,name=type,proto3,enum=rpc.EntryType" json:"type,omitempty"` Mode uint32 `protobuf:"varint,3,opt,name=mode,proto3" json:"mode,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReadDirResponse_DirEntry) Descriptor ¶
func (*ReadDirResponse_DirEntry) Descriptor() ([]byte, []int)
func (*ReadDirResponse_DirEntry) GetMode ¶
func (m *ReadDirResponse_DirEntry) GetMode() uint32
func (*ReadDirResponse_DirEntry) GetName ¶
func (m *ReadDirResponse_DirEntry) GetName() string
func (*ReadDirResponse_DirEntry) GetType ¶
func (m *ReadDirResponse_DirEntry) GetType() EntryType
func (*ReadDirResponse_DirEntry) ProtoMessage ¶
func (*ReadDirResponse_DirEntry) ProtoMessage()
func (*ReadDirResponse_DirEntry) Reset ¶
func (m *ReadDirResponse_DirEntry) Reset()
func (*ReadDirResponse_DirEntry) String ¶
func (m *ReadDirResponse_DirEntry) String() string
func (*ReadDirResponse_DirEntry) XXX_DiscardUnknown ¶
func (m *ReadDirResponse_DirEntry) XXX_DiscardUnknown()
func (*ReadDirResponse_DirEntry) XXX_Marshal ¶
func (m *ReadDirResponse_DirEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadDirResponse_DirEntry) XXX_Merge ¶
func (m *ReadDirResponse_DirEntry) XXX_Merge(src proto.Message)
func (*ReadDirResponse_DirEntry) XXX_Size ¶
func (m *ReadDirResponse_DirEntry) XXX_Size() int
func (*ReadDirResponse_DirEntry) XXX_Unmarshal ¶
func (m *ReadDirResponse_DirEntry) XXX_Unmarshal(b []byte) error
type ReadFileRequest ¶
type ReadFileRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReadFileRequest) Descriptor ¶
func (*ReadFileRequest) Descriptor() ([]byte, []int)
func (*ReadFileRequest) GetOffset ¶
func (m *ReadFileRequest) GetOffset() uint64
func (*ReadFileRequest) GetPath ¶
func (m *ReadFileRequest) GetPath() string
func (*ReadFileRequest) GetSize ¶
func (m *ReadFileRequest) GetSize() uint64
func (*ReadFileRequest) ProtoMessage ¶
func (*ReadFileRequest) ProtoMessage()
func (*ReadFileRequest) Reset ¶
func (m *ReadFileRequest) Reset()
func (*ReadFileRequest) String ¶
func (m *ReadFileRequest) String() string
func (*ReadFileRequest) XXX_DiscardUnknown ¶
func (m *ReadFileRequest) XXX_DiscardUnknown()
func (*ReadFileRequest) XXX_Marshal ¶
func (m *ReadFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadFileRequest) XXX_Merge ¶
func (m *ReadFileRequest) XXX_Merge(src proto.Message)
func (*ReadFileRequest) XXX_Size ¶
func (m *ReadFileRequest) XXX_Size() int
func (*ReadFileRequest) XXX_Unmarshal ¶
func (m *ReadFileRequest) XXX_Unmarshal(b []byte) error
type ReadFileResponse ¶
type ReadFileResponse struct { // Types that are valid to be assigned to Result: // *ReadFileResponse_Data // *ReadFileResponse_Error Result isReadFileResponse_Result `protobuf_oneof:"result"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReadFileResponse) Descriptor ¶
func (*ReadFileResponse) Descriptor() ([]byte, []int)
func (*ReadFileResponse) GetData ¶
func (m *ReadFileResponse) GetData() []byte
func (*ReadFileResponse) GetError ¶
func (m *ReadFileResponse) GetError() *Error
func (*ReadFileResponse) GetResult ¶
func (m *ReadFileResponse) GetResult() isReadFileResponse_Result
func (*ReadFileResponse) ProtoMessage ¶
func (*ReadFileResponse) ProtoMessage()
func (*ReadFileResponse) Reset ¶
func (m *ReadFileResponse) Reset()
func (*ReadFileResponse) String ¶
func (m *ReadFileResponse) String() string
func (*ReadFileResponse) XXX_DiscardUnknown ¶
func (m *ReadFileResponse) XXX_DiscardUnknown()
func (*ReadFileResponse) XXX_Marshal ¶
func (m *ReadFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReadFileResponse) XXX_Merge ¶
func (m *ReadFileResponse) XXX_Merge(src proto.Message)
func (*ReadFileResponse) XXX_OneofWrappers ¶
func (*ReadFileResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ReadFileResponse) XXX_Size ¶
func (m *ReadFileResponse) XXX_Size() int
func (*ReadFileResponse) XXX_Unmarshal ¶
func (m *ReadFileResponse) XXX_Unmarshal(b []byte) error
type ReadFileResponse_Data ¶
type ReadFileResponse_Data struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}
type ReadFileResponse_Error ¶
type ReadFileResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type RenameRequest ¶
type RenameRequest struct { DirPath string `protobuf:"bytes,1,opt,name=dirPath,proto3" json:"dirPath,omitempty"` OldName string `protobuf:"bytes,2,opt,name=oldName,proto3" json:"oldName,omitempty"` NewDirPath string `protobuf:"bytes,3,opt,name=newDirPath,proto3" json:"newDirPath,omitempty"` NewName string `protobuf:"bytes,4,opt,name=newName,proto3" json:"newName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RenameRequest) Descriptor ¶
func (*RenameRequest) Descriptor() ([]byte, []int)
func (*RenameRequest) GetDirPath ¶
func (m *RenameRequest) GetDirPath() string
func (*RenameRequest) GetNewDirPath ¶
func (m *RenameRequest) GetNewDirPath() string
func (*RenameRequest) GetNewName ¶
func (m *RenameRequest) GetNewName() string
func (*RenameRequest) GetOldName ¶
func (m *RenameRequest) GetOldName() string
func (*RenameRequest) ProtoMessage ¶
func (*RenameRequest) ProtoMessage()
func (*RenameRequest) Reset ¶
func (m *RenameRequest) Reset()
func (*RenameRequest) String ¶
func (m *RenameRequest) String() string
func (*RenameRequest) XXX_DiscardUnknown ¶
func (m *RenameRequest) XXX_DiscardUnknown()
func (*RenameRequest) XXX_Marshal ¶
func (m *RenameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RenameRequest) XXX_Merge ¶
func (m *RenameRequest) XXX_Merge(src proto.Message)
func (*RenameRequest) XXX_Size ¶
func (m *RenameRequest) XXX_Size() int
func (*RenameRequest) XXX_Unmarshal ¶
func (m *RenameRequest) XXX_Unmarshal(b []byte) error
type RenameResponse ¶
type RenameResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RenameResponse) Descriptor ¶
func (*RenameResponse) Descriptor() ([]byte, []int)
func (*RenameResponse) GetError ¶
func (m *RenameResponse) GetError() *Error
func (*RenameResponse) ProtoMessage ¶
func (*RenameResponse) ProtoMessage()
func (*RenameResponse) Reset ¶
func (m *RenameResponse) Reset()
func (*RenameResponse) String ¶
func (m *RenameResponse) String() string
func (*RenameResponse) XXX_DiscardUnknown ¶
func (m *RenameResponse) XXX_DiscardUnknown()
func (*RenameResponse) XXX_Marshal ¶
func (m *RenameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RenameResponse) XXX_Merge ¶
func (m *RenameResponse) XXX_Merge(src proto.Message)
func (*RenameResponse) XXX_Size ¶
func (m *RenameResponse) XXX_Size() int
func (*RenameResponse) XXX_Unmarshal ¶
func (m *RenameResponse) XXX_Unmarshal(b []byte) error
type RmDirRequest ¶
type RmDirRequest struct { DirPath string `protobuf:"bytes,1,opt,name=dirPath,proto3" json:"dirPath,omitempty"` RmName string `protobuf:"bytes,2,opt,name=rmName,proto3" json:"rmName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RmDirRequest) Descriptor ¶
func (*RmDirRequest) Descriptor() ([]byte, []int)
func (*RmDirRequest) GetDirPath ¶
func (m *RmDirRequest) GetDirPath() string
func (*RmDirRequest) GetRmName ¶
func (m *RmDirRequest) GetRmName() string
func (*RmDirRequest) ProtoMessage ¶
func (*RmDirRequest) ProtoMessage()
func (*RmDirRequest) Reset ¶
func (m *RmDirRequest) Reset()
func (*RmDirRequest) String ¶
func (m *RmDirRequest) String() string
func (*RmDirRequest) XXX_DiscardUnknown ¶
func (m *RmDirRequest) XXX_DiscardUnknown()
func (*RmDirRequest) XXX_Marshal ¶
func (m *RmDirRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RmDirRequest) XXX_Merge ¶
func (m *RmDirRequest) XXX_Merge(src proto.Message)
func (*RmDirRequest) XXX_Size ¶
func (m *RmDirRequest) XXX_Size() int
func (*RmDirRequest) XXX_Unmarshal ¶
func (m *RmDirRequest) XXX_Unmarshal(b []byte) error
type RmDirResponse ¶
type RmDirResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RmDirResponse) Descriptor ¶
func (*RmDirResponse) Descriptor() ([]byte, []int)
func (*RmDirResponse) GetError ¶
func (m *RmDirResponse) GetError() *Error
func (*RmDirResponse) ProtoMessage ¶
func (*RmDirResponse) ProtoMessage()
func (*RmDirResponse) Reset ¶
func (m *RmDirResponse) Reset()
func (*RmDirResponse) String ¶
func (m *RmDirResponse) String() string
func (*RmDirResponse) XXX_DiscardUnknown ¶
func (m *RmDirResponse) XXX_DiscardUnknown()
func (*RmDirResponse) XXX_Marshal ¶
func (m *RmDirResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RmDirResponse) XXX_Merge ¶
func (m *RmDirResponse) XXX_Merge(src proto.Message)
func (*RmDirResponse) XXX_Size ¶
func (m *RmDirResponse) XXX_Size() int
func (*RmDirResponse) XXX_Unmarshal ¶
func (m *RmDirResponse) XXX_Unmarshal(b []byte) error
type SetAttrRequest ¶
type SetAttrRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Attr *Attr `protobuf:"bytes,2,opt,name=attr,proto3" json:"attr,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetAttrRequest) Descriptor ¶
func (*SetAttrRequest) Descriptor() ([]byte, []int)
func (*SetAttrRequest) GetAttr ¶
func (m *SetAttrRequest) GetAttr() *Attr
func (*SetAttrRequest) GetPath ¶
func (m *SetAttrRequest) GetPath() string
func (*SetAttrRequest) ProtoMessage ¶
func (*SetAttrRequest) ProtoMessage()
func (*SetAttrRequest) Reset ¶
func (m *SetAttrRequest) Reset()
func (*SetAttrRequest) String ¶
func (m *SetAttrRequest) String() string
func (*SetAttrRequest) XXX_DiscardUnknown ¶
func (m *SetAttrRequest) XXX_DiscardUnknown()
func (*SetAttrRequest) XXX_Marshal ¶
func (m *SetAttrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetAttrRequest) XXX_Merge ¶
func (m *SetAttrRequest) XXX_Merge(src proto.Message)
func (*SetAttrRequest) XXX_Size ¶
func (m *SetAttrRequest) XXX_Size() int
func (*SetAttrRequest) XXX_Unmarshal ¶
func (m *SetAttrRequest) XXX_Unmarshal(b []byte) error
type SetAttrResponse ¶
type SetAttrResponse struct { // Types that are valid to be assigned to Result: // *SetAttrResponse_Attr // *SetAttrResponse_Error Result isSetAttrResponse_Result `protobuf_oneof:"result"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetAttrResponse) Descriptor ¶
func (*SetAttrResponse) Descriptor() ([]byte, []int)
func (*SetAttrResponse) GetAttr ¶
func (m *SetAttrResponse) GetAttr() *Attr
func (*SetAttrResponse) GetError ¶
func (m *SetAttrResponse) GetError() *Error
func (*SetAttrResponse) GetResult ¶
func (m *SetAttrResponse) GetResult() isSetAttrResponse_Result
func (*SetAttrResponse) ProtoMessage ¶
func (*SetAttrResponse) ProtoMessage()
func (*SetAttrResponse) Reset ¶
func (m *SetAttrResponse) Reset()
func (*SetAttrResponse) String ¶
func (m *SetAttrResponse) String() string
func (*SetAttrResponse) XXX_DiscardUnknown ¶
func (m *SetAttrResponse) XXX_DiscardUnknown()
func (*SetAttrResponse) XXX_Marshal ¶
func (m *SetAttrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetAttrResponse) XXX_Merge ¶
func (m *SetAttrResponse) XXX_Merge(src proto.Message)
func (*SetAttrResponse) XXX_OneofWrappers ¶
func (*SetAttrResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*SetAttrResponse) XXX_Size ¶
func (m *SetAttrResponse) XXX_Size() int
func (*SetAttrResponse) XXX_Unmarshal ¶
func (m *SetAttrResponse) XXX_Unmarshal(b []byte) error
type SetAttrResponse_Attr ¶
type SetAttrResponse_Attr struct {
Attr *Attr `protobuf:"bytes,1,opt,name=attr,proto3,oneof"`
}
type SetAttrResponse_Error ¶
type SetAttrResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type SyncFileRequest ¶
type SyncFileRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SyncFileRequest) Descriptor ¶
func (*SyncFileRequest) Descriptor() ([]byte, []int)
func (*SyncFileRequest) GetData ¶
func (m *SyncFileRequest) GetData() []byte
func (*SyncFileRequest) GetOffset ¶
func (m *SyncFileRequest) GetOffset() uint64
func (*SyncFileRequest) GetPath ¶
func (m *SyncFileRequest) GetPath() string
func (*SyncFileRequest) ProtoMessage ¶
func (*SyncFileRequest) ProtoMessage()
func (*SyncFileRequest) Reset ¶
func (m *SyncFileRequest) Reset()
func (*SyncFileRequest) String ¶
func (m *SyncFileRequest) String() string
func (*SyncFileRequest) XXX_DiscardUnknown ¶
func (m *SyncFileRequest) XXX_DiscardUnknown()
func (*SyncFileRequest) XXX_Marshal ¶
func (m *SyncFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SyncFileRequest) XXX_Merge ¶
func (m *SyncFileRequest) XXX_Merge(src proto.Message)
func (*SyncFileRequest) XXX_Size ¶
func (m *SyncFileRequest) XXX_Size() int
func (*SyncFileRequest) XXX_Unmarshal ¶
func (m *SyncFileRequest) XXX_Unmarshal(b []byte) error
type SyncFileResponse ¶
type SyncFileResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SyncFileResponse) Descriptor ¶
func (*SyncFileResponse) Descriptor() ([]byte, []int)
func (*SyncFileResponse) GetError ¶
func (m *SyncFileResponse) GetError() *Error
func (*SyncFileResponse) ProtoMessage ¶
func (*SyncFileResponse) ProtoMessage()
func (*SyncFileResponse) Reset ¶
func (m *SyncFileResponse) Reset()
func (*SyncFileResponse) String ¶
func (m *SyncFileResponse) String() string
func (*SyncFileResponse) XXX_DiscardUnknown ¶
func (m *SyncFileResponse) XXX_DiscardUnknown()
func (*SyncFileResponse) XXX_Marshal ¶
func (m *SyncFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SyncFileResponse) XXX_Merge ¶
func (m *SyncFileResponse) XXX_Merge(src proto.Message)
func (*SyncFileResponse) XXX_Size ¶
func (m *SyncFileResponse) XXX_Size() int
func (*SyncFileResponse) XXX_Unmarshal ¶
func (m *SyncFileResponse) XXX_Unmarshal(b []byte) error
type TfsClient ¶
type TfsClient interface { // speed test Nothing(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error) // dir ReadDir(ctx context.Context, in *ReadDirRequest, opts ...grpc.CallOption) (*ReadDirResponse, error) Lookup(ctx context.Context, in *LookupRequest, opts ...grpc.CallOption) (*LookupResponse, error) Mkdir(ctx context.Context, in *MkdirRequest, opts ...grpc.CallOption) (*MkdirResponse, error) CreateFile(ctx context.Context, in *CreateFileRequest, opts ...grpc.CallOption) (*CreateFileResponse, error) Unlink(ctx context.Context, in *UnlinkRequest, opts ...grpc.CallOption) (*UnlinkResponse, error) RmDir(ctx context.Context, in *RmDirRequest, opts ...grpc.CallOption) (*RmDirResponse, error) Rename(ctx context.Context, in *RenameRequest, opts ...grpc.CallOption) (*RenameResponse, error) // file OpenFile(ctx context.Context, in *OpenFileRequest, opts ...grpc.CallOption) (*OpenFileResponse, error) Allocate(ctx context.Context, in *AllocateRequest, opts ...grpc.CallOption) (*AllocateResponse, error) ReadFile(ctx context.Context, in *ReadFileRequest, opts ...grpc.CallOption) (Tfs_ReadFileClient, error) WriteFile(ctx context.Context, opts ...grpc.CallOption) (Tfs_WriteFileClient, error) CloseFile(ctx context.Context, in *CloseFileRequest, opts ...grpc.CallOption) (*CloseFileResponse, error) SyncFile(ctx context.Context, opts ...grpc.CallOption) (Tfs_SyncFileClient, error) // normal GetAttr(ctx context.Context, in *GetAttrRequest, opts ...grpc.CallOption) (*GetAttrResponse, error) SetAttr(ctx context.Context, in *SetAttrRequest, opts ...grpc.CallOption) (*SetAttrResponse, error) }
TfsClient is the client API for Tfs service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTfsClient ¶
func NewTfsClient(cc *grpc.ClientConn) TfsClient
type TfsServer ¶
type TfsServer interface { // speed test Nothing(context.Context, *empty.Empty) (*empty.Empty, error) // dir ReadDir(context.Context, *ReadDirRequest) (*ReadDirResponse, error) Lookup(context.Context, *LookupRequest) (*LookupResponse, error) Mkdir(context.Context, *MkdirRequest) (*MkdirResponse, error) CreateFile(context.Context, *CreateFileRequest) (*CreateFileResponse, error) Unlink(context.Context, *UnlinkRequest) (*UnlinkResponse, error) RmDir(context.Context, *RmDirRequest) (*RmDirResponse, error) Rename(context.Context, *RenameRequest) (*RenameResponse, error) // file OpenFile(context.Context, *OpenFileRequest) (*OpenFileResponse, error) Allocate(context.Context, *AllocateRequest) (*AllocateResponse, error) ReadFile(*ReadFileRequest, Tfs_ReadFileServer) error WriteFile(Tfs_WriteFileServer) error CloseFile(context.Context, *CloseFileRequest) (*CloseFileResponse, error) SyncFile(Tfs_SyncFileServer) error // normal GetAttr(context.Context, *GetAttrRequest) (*GetAttrResponse, error) SetAttr(context.Context, *SetAttrRequest) (*SetAttrResponse, error) }
TfsServer is the server API for Tfs service.
type Tfs_ReadFileClient ¶
type Tfs_ReadFileClient interface { Recv() (*ReadFileResponse, error) grpc.ClientStream }
type Tfs_ReadFileServer ¶
type Tfs_ReadFileServer interface { Send(*ReadFileResponse) error grpc.ServerStream }
type Tfs_SyncFileClient ¶
type Tfs_SyncFileClient interface { Send(*SyncFileRequest) error CloseAndRecv() (*SyncFileResponse, error) grpc.ClientStream }
type Tfs_SyncFileServer ¶
type Tfs_SyncFileServer interface { SendAndClose(*SyncFileResponse) error Recv() (*SyncFileRequest, error) grpc.ServerStream }
type Tfs_WriteFileClient ¶
type Tfs_WriteFileClient interface { Send(*WriteFileRequest) error CloseAndRecv() (*WriteFileResponse, error) grpc.ClientStream }
type Tfs_WriteFileServer ¶
type Tfs_WriteFileServer interface { SendAndClose(*WriteFileResponse) error Recv() (*WriteFileRequest, error) grpc.ServerStream }
type UnimplementedTfsServer ¶
type UnimplementedTfsServer struct { }
UnimplementedTfsServer can be embedded to have forward compatible implementations.
func (*UnimplementedTfsServer) Allocate ¶
func (*UnimplementedTfsServer) Allocate(ctx context.Context, req *AllocateRequest) (*AllocateResponse, error)
func (*UnimplementedTfsServer) CloseFile ¶
func (*UnimplementedTfsServer) CloseFile(ctx context.Context, req *CloseFileRequest) (*CloseFileResponse, error)
func (*UnimplementedTfsServer) CreateFile ¶
func (*UnimplementedTfsServer) CreateFile(ctx context.Context, req *CreateFileRequest) (*CreateFileResponse, error)
func (*UnimplementedTfsServer) GetAttr ¶
func (*UnimplementedTfsServer) GetAttr(ctx context.Context, req *GetAttrRequest) (*GetAttrResponse, error)
func (*UnimplementedTfsServer) Lookup ¶
func (*UnimplementedTfsServer) Lookup(ctx context.Context, req *LookupRequest) (*LookupResponse, error)
func (*UnimplementedTfsServer) Mkdir ¶
func (*UnimplementedTfsServer) Mkdir(ctx context.Context, req *MkdirRequest) (*MkdirResponse, error)
func (*UnimplementedTfsServer) OpenFile ¶
func (*UnimplementedTfsServer) OpenFile(ctx context.Context, req *OpenFileRequest) (*OpenFileResponse, error)
func (*UnimplementedTfsServer) ReadDir ¶
func (*UnimplementedTfsServer) ReadDir(ctx context.Context, req *ReadDirRequest) (*ReadDirResponse, error)
func (*UnimplementedTfsServer) ReadFile ¶
func (*UnimplementedTfsServer) ReadFile(req *ReadFileRequest, srv Tfs_ReadFileServer) error
func (*UnimplementedTfsServer) Rename ¶
func (*UnimplementedTfsServer) Rename(ctx context.Context, req *RenameRequest) (*RenameResponse, error)
func (*UnimplementedTfsServer) RmDir ¶
func (*UnimplementedTfsServer) RmDir(ctx context.Context, req *RmDirRequest) (*RmDirResponse, error)
func (*UnimplementedTfsServer) SetAttr ¶
func (*UnimplementedTfsServer) SetAttr(ctx context.Context, req *SetAttrRequest) (*SetAttrResponse, error)
func (*UnimplementedTfsServer) SyncFile ¶
func (*UnimplementedTfsServer) SyncFile(srv Tfs_SyncFileServer) error
func (*UnimplementedTfsServer) Unlink ¶
func (*UnimplementedTfsServer) Unlink(ctx context.Context, req *UnlinkRequest) (*UnlinkResponse, error)
func (*UnimplementedTfsServer) WriteFile ¶
func (*UnimplementedTfsServer) WriteFile(srv Tfs_WriteFileServer) error
type UnlinkRequest ¶
type UnlinkRequest struct { DirPath string `protobuf:"bytes,1,opt,name=dirPath,proto3" json:"dirPath,omitempty"` Filename string `protobuf:"bytes,2,opt,name=filename,proto3" json:"filename,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnlinkRequest) Descriptor ¶
func (*UnlinkRequest) Descriptor() ([]byte, []int)
func (*UnlinkRequest) GetDirPath ¶
func (m *UnlinkRequest) GetDirPath() string
func (*UnlinkRequest) GetFilename ¶
func (m *UnlinkRequest) GetFilename() string
func (*UnlinkRequest) ProtoMessage ¶
func (*UnlinkRequest) ProtoMessage()
func (*UnlinkRequest) Reset ¶
func (m *UnlinkRequest) Reset()
func (*UnlinkRequest) String ¶
func (m *UnlinkRequest) String() string
func (*UnlinkRequest) XXX_DiscardUnknown ¶
func (m *UnlinkRequest) XXX_DiscardUnknown()
func (*UnlinkRequest) XXX_Marshal ¶
func (m *UnlinkRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnlinkRequest) XXX_Merge ¶
func (m *UnlinkRequest) XXX_Merge(src proto.Message)
func (*UnlinkRequest) XXX_Size ¶
func (m *UnlinkRequest) XXX_Size() int
func (*UnlinkRequest) XXX_Unmarshal ¶
func (m *UnlinkRequest) XXX_Unmarshal(b []byte) error
type UnlinkResponse ¶
type UnlinkResponse struct { Error *Error `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnlinkResponse) Descriptor ¶
func (*UnlinkResponse) Descriptor() ([]byte, []int)
func (*UnlinkResponse) GetError ¶
func (m *UnlinkResponse) GetError() *Error
func (*UnlinkResponse) ProtoMessage ¶
func (*UnlinkResponse) ProtoMessage()
func (*UnlinkResponse) Reset ¶
func (m *UnlinkResponse) Reset()
func (*UnlinkResponse) String ¶
func (m *UnlinkResponse) String() string
func (*UnlinkResponse) XXX_DiscardUnknown ¶
func (m *UnlinkResponse) XXX_DiscardUnknown()
func (*UnlinkResponse) XXX_Marshal ¶
func (m *UnlinkResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnlinkResponse) XXX_Merge ¶
func (m *UnlinkResponse) XXX_Merge(src proto.Message)
func (*UnlinkResponse) XXX_Size ¶
func (m *UnlinkResponse) XXX_Size() int
func (*UnlinkResponse) XXX_Unmarshal ¶
func (m *UnlinkResponse) XXX_Unmarshal(b []byte) error
type WriteFileRequest ¶
type WriteFileRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Offset uint64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WriteFileRequest) Descriptor ¶
func (*WriteFileRequest) Descriptor() ([]byte, []int)
func (*WriteFileRequest) GetData ¶
func (m *WriteFileRequest) GetData() []byte
func (*WriteFileRequest) GetOffset ¶
func (m *WriteFileRequest) GetOffset() uint64
func (*WriteFileRequest) GetPath ¶
func (m *WriteFileRequest) GetPath() string
func (*WriteFileRequest) ProtoMessage ¶
func (*WriteFileRequest) ProtoMessage()
func (*WriteFileRequest) Reset ¶
func (m *WriteFileRequest) Reset()
func (*WriteFileRequest) String ¶
func (m *WriteFileRequest) String() string
func (*WriteFileRequest) XXX_DiscardUnknown ¶
func (m *WriteFileRequest) XXX_DiscardUnknown()
func (*WriteFileRequest) XXX_Marshal ¶
func (m *WriteFileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WriteFileRequest) XXX_Merge ¶
func (m *WriteFileRequest) XXX_Merge(src proto.Message)
func (*WriteFileRequest) XXX_Size ¶
func (m *WriteFileRequest) XXX_Size() int
func (*WriteFileRequest) XXX_Unmarshal ¶
func (m *WriteFileRequest) XXX_Unmarshal(b []byte) error
type WriteFileResponse ¶
type WriteFileResponse struct { // Types that are valid to be assigned to Result: // *WriteFileResponse_Written // *WriteFileResponse_Error Result isWriteFileResponse_Result `protobuf_oneof:"result"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WriteFileResponse) Descriptor ¶
func (*WriteFileResponse) Descriptor() ([]byte, []int)
func (*WriteFileResponse) GetError ¶
func (m *WriteFileResponse) GetError() *Error
func (*WriteFileResponse) GetResult ¶
func (m *WriteFileResponse) GetResult() isWriteFileResponse_Result
func (*WriteFileResponse) GetWritten ¶
func (m *WriteFileResponse) GetWritten() uint64
func (*WriteFileResponse) ProtoMessage ¶
func (*WriteFileResponse) ProtoMessage()
func (*WriteFileResponse) Reset ¶
func (m *WriteFileResponse) Reset()
func (*WriteFileResponse) String ¶
func (m *WriteFileResponse) String() string
func (*WriteFileResponse) XXX_DiscardUnknown ¶
func (m *WriteFileResponse) XXX_DiscardUnknown()
func (*WriteFileResponse) XXX_Marshal ¶
func (m *WriteFileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WriteFileResponse) XXX_Merge ¶
func (m *WriteFileResponse) XXX_Merge(src proto.Message)
func (*WriteFileResponse) XXX_OneofWrappers ¶
func (*WriteFileResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*WriteFileResponse) XXX_Size ¶
func (m *WriteFileResponse) XXX_Size() int
func (*WriteFileResponse) XXX_Unmarshal ¶
func (m *WriteFileResponse) XXX_Unmarshal(b []byte) error
type WriteFileResponse_Error ¶
type WriteFileResponse_Error struct {
Error *Error `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
type WriteFileResponse_Written ¶
type WriteFileResponse_Written struct {
Written uint64 `protobuf:"varint,1,opt,name=written,proto3,oneof"`
}