Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
pathfs.proto
It has these top-level messages:
Status Owner Context StringRequest StringResponse SetDebugRequest SetDebugResponse Attr GetAttrRequest GetAttrResponse ChmodRequest ChmodResponse ChownRequest ChownResponse UtimensRequest UtimensResponse TruncateRequest TruncateResponse AccessRequest AccessResponse LinkRequest LinkResponse MkdirRequest MkdirResponse MknodRequest MknodResponse RenameRequest RenameResponse RmdirRequest RmdirResponse UnlinkRequest UnlinkResponse GetXAttrRequest GetXAttrResponse ListXAttrRequest ListXAttrResponse RemoveXAttrRequest RemoveXAttrResponse SetXAttrRequest SetXAttrResponse File OpenRequest OpenResponse CreateRequest CreateResponse DirEntry OpenDirRequest OpenDirResponse SymlinkRequest SymlinkResponse ReadlinkRequest ReadlinkResponse StatFs StatFsRequest StatFsResponse
Index ¶
- func RegisterPathFSServer(s *grpc.Server, srv PathFSServer)
- type AccessRequest
- type AccessResponse
- type Attr
- type ChmodRequest
- type ChmodResponse
- type ChownRequest
- type ChownResponse
- type Context
- type CreateRequest
- type CreateResponse
- type DirEntry
- type File
- type GetAttrRequest
- type GetAttrResponse
- type GetXAttrRequest
- type GetXAttrResponse
- type LinkRequest
- type LinkResponse
- type ListXAttrRequest
- type ListXAttrResponse
- type MkdirRequest
- type MkdirResponse
- type MknodRequest
- type MknodResponse
- type OpenDirRequest
- type OpenDirResponse
- type OpenRequest
- type OpenResponse
- type Owner
- type PathFSClient
- type PathFSServer
- type ReadlinkRequest
- type ReadlinkResponse
- type RemoveXAttrRequest
- type RemoveXAttrResponse
- type RenameRequest
- type RenameResponse
- type RmdirRequest
- type RmdirResponse
- type SetDebugRequest
- type SetDebugResponse
- type SetXAttrRequest
- type SetXAttrResponse
- type StatFs
- type StatFsRequest
- type StatFsResponse
- type Status
- type StringRequest
- type StringResponse
- type SymlinkRequest
- type SymlinkResponse
- type TruncateRequest
- type TruncateResponse
- type UnlinkRequest
- type UnlinkResponse
- type UtimensRequest
- type UtimensResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPathFSServer ¶
func RegisterPathFSServer(s *grpc.Server, srv PathFSServer)
Types ¶
type AccessRequest ¶
type AccessRequest 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"` Context *Context `protobuf:"bytes,3,opt,name=Context" json:"Context,omitempty"` }
func (*AccessRequest) GetContext ¶
func (m *AccessRequest) GetContext() *Context
func (*AccessRequest) GoString ¶
func (this *AccessRequest) GoString() string
func (*AccessRequest) ProtoMessage ¶
func (*AccessRequest) ProtoMessage()
func (*AccessRequest) Reset ¶
func (m *AccessRequest) Reset()
func (*AccessRequest) String ¶
func (this *AccessRequest) String() string
type AccessResponse ¶
type AccessResponse struct {
Status *Status `protobuf:"bytes,1,opt,name=Status" json:"Status,omitempty"`
}
func (*AccessResponse) GetStatus ¶
func (m *AccessResponse) GetStatus() *Status
func (*AccessResponse) GoString ¶
func (this *AccessResponse) GoString() string
func (*AccessResponse) ProtoMessage ¶
func (*AccessResponse) ProtoMessage()
func (*AccessResponse) Reset ¶
func (m *AccessResponse) Reset()
func (*AccessResponse) String ¶
func (this *AccessResponse) String() string
type Attr ¶
type Attr struct { Ino uint64 `protobuf:"varint,1,opt,name=Ino,proto3" json:"Ino,omitempty"` SizeAttr uint64 `protobuf:"varint,2,opt,name=SizeAttr,proto3" json:"SizeAttr,omitempty"` Blocks uint64 `protobuf:"varint,3,opt,name=Blocks,proto3" json:"Blocks,omitempty"` Atime uint64 `protobuf:"varint,4,opt,name=Atime,proto3" json:"Atime,omitempty"` Mtime uint64 `protobuf:"varint,5,opt,name=Mtime,proto3" json:"Mtime,omitempty"` Ctime uint64 `protobuf:"varint,6,opt,name=Ctime,proto3" json:"Ctime,omitempty"` Atimensec uint32 `protobuf:"varint,7,opt,name=Atimensec,proto3" json:"Atimensec,omitempty"` Mtimensec uint32 `protobuf:"varint,8,opt,name=Mtimensec,proto3" json:"Mtimensec,omitempty"` Ctimensec uint32 `protobuf:"varint,9,opt,name=Ctimensec,proto3" json:"Ctimensec,omitempty"` Mode uint32 `protobuf:"varint,10,opt,name=Mode,proto3" json:"Mode,omitempty"` Nlink uint32 `protobuf:"varint,11,opt,name=Nlink,proto3" json:"Nlink,omitempty"` Owner *Owner `protobuf:"bytes,12,opt,name=Owner" json:"Owner,omitempty"` Rdev uint32 `protobuf:"varint,13,opt,name=Rdev,proto3" json:"Rdev,omitempty"` Blksize uint32 `protobuf:"varint,14,opt,name=Blksize,proto3" json:"Blksize,omitempty"` Padding uint32 `protobuf:"varint,15,opt,name=Padding,proto3" json:"Padding,omitempty"` }
func (*Attr) ProtoMessage ¶
func (*Attr) ProtoMessage()
type ChmodRequest ¶
type ChmodRequest 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"` Context *Context `protobuf:"bytes,3,opt,name=Context" json:"Context,omitempty"` }
func (*ChmodRequest) GetContext ¶
func (m *ChmodRequest) GetContext() *Context
func (*ChmodRequest) GoString ¶
func (this *ChmodRequest) GoString() string
func (*ChmodRequest) ProtoMessage ¶
func (*ChmodRequest) ProtoMessage()
func (*ChmodRequest) Reset ¶
func (m *ChmodRequest) Reset()
func (*ChmodRequest) String ¶
func (this *ChmodRequest) String() string
type ChmodResponse ¶
type ChmodResponse struct {
Status *Status `protobuf:"bytes,1,opt,name=Status" json:"Status,omitempty"`
}
func (*ChmodResponse) GetStatus ¶
func (m *ChmodResponse) GetStatus() *Status
func (*ChmodResponse) GoString ¶
func (this *ChmodResponse) GoString() string
func (*ChmodResponse) ProtoMessage ¶
func (*ChmodResponse) ProtoMessage()
func (*ChmodResponse) Reset ¶
func (m *ChmodResponse) Reset()
func (*ChmodResponse) String ¶
func (this *ChmodResponse) String() string
type ChownRequest ¶
type ChownRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` UID uint32 `protobuf:"varint,2,opt,name=UID,proto3" json:"UID,omitempty"` GID uint32 `protobuf:"varint,3,opt,name=GID,proto3" json:"GID,omitempty"` Context *Context `protobuf:"bytes,4,opt,name=Context" json:"Context,omitempty"` }
func (*ChownRequest) GetContext ¶
func (m *ChownRequest) GetContext() *Context
func (*ChownRequest) GoString ¶
func (this *ChownRequest) GoString() string
func (*ChownRequest) ProtoMessage ¶
func (*ChownRequest) ProtoMessage()
func (*ChownRequest) Reset ¶
func (m *ChownRequest) Reset()
func (*ChownRequest) String ¶
func (this *ChownRequest) String() string
type ChownResponse ¶
type ChownResponse struct {
Status *Status `protobuf:"bytes,1,opt,name=Status" json:"Status,omitempty"`
}
func (*ChownResponse) GetStatus ¶
func (m *ChownResponse) GetStatus() *Status
func (*ChownResponse) GoString ¶
func (this *ChownResponse) GoString() string
func (*ChownResponse) ProtoMessage ¶
func (*ChownResponse) ProtoMessage()
func (*ChownResponse) Reset ¶
func (m *ChownResponse) Reset()
func (*ChownResponse) String ¶
func (this *ChownResponse) String() string
type Context ¶
type Context struct { Owner *Owner `protobuf:"bytes,1,opt,name=Owner" json:"Owner,omitempty"` Pid uint32 `protobuf:"varint,2,opt,name=Pid,proto3" json:"Pid,omitempty"` }
func (*Context) ProtoMessage ¶
func (*Context) ProtoMessage()
type CreateRequest ¶
type CreateRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Flags uint32 `protobuf:"varint,2,opt,name=Flags,proto3" json:"Flags,omitempty"` Mode uint32 `protobuf:"varint,3,opt,name=Mode,proto3" json:"Mode,omitempty"` Context *Context `protobuf:"bytes,4,opt,name=Context" json:"Context,omitempty"` }
func (*CreateRequest) GetContext ¶
func (m *CreateRequest) GetContext() *Context
func (*CreateRequest) GoString ¶
func (this *CreateRequest) GoString() string
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) Reset ¶
func (m *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (this *CreateRequest) String() string
type CreateResponse ¶
type CreateResponse struct { File *File `protobuf:"bytes,1,opt,name=File" json:"File,omitempty"` Status *Status `protobuf:"bytes,2,opt,name=Status" json:"Status,omitempty"` Context *Context `protobuf:"bytes,3,opt,name=Context" json:"Context,omitempty"` }
func (*CreateResponse) GetContext ¶
func (m *CreateResponse) GetContext() *Context
func (*CreateResponse) GetFile ¶
func (m *CreateResponse) GetFile() *File
func (*CreateResponse) GetStatus ¶
func (m *CreateResponse) GetStatus() *Status
func (*CreateResponse) GoString ¶
func (this *CreateResponse) GoString() string
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) Reset ¶
func (m *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (this *CreateResponse) String() string
type DirEntry ¶
type DirEntry struct { Mode uint32 `protobuf:"varint,1,opt,name=Mode,proto3" json:"Mode,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` }
func (*DirEntry) ProtoMessage ¶
func (*DirEntry) ProtoMessage()
type File ¶
type File struct {
Data []byte `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"`
}
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
type GetAttrRequest ¶
type GetAttrRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Context *Context `protobuf:"bytes,2,opt,name=Context" json:"Context,omitempty"` }
func (*GetAttrRequest) GetContext ¶
func (m *GetAttrRequest) GetContext() *Context
func (*GetAttrRequest) GoString ¶
func (this *GetAttrRequest) GoString() string
func (*GetAttrRequest) ProtoMessage ¶
func (*GetAttrRequest) ProtoMessage()
func (*GetAttrRequest) Reset ¶
func (m *GetAttrRequest) Reset()
func (*GetAttrRequest) String ¶
func (this *GetAttrRequest) String() string
type GetAttrResponse ¶
type GetAttrResponse struct { Attr *Attr `protobuf:"bytes,1,opt,name=Attr" json:"Attr,omitempty"` Status *Status `protobuf:"bytes,2,opt,name=Status" json:"Status,omitempty"` }
func (*GetAttrResponse) GetAttr ¶
func (m *GetAttrResponse) GetAttr() *Attr
func (*GetAttrResponse) GetStatus ¶
func (m *GetAttrResponse) GetStatus() *Status
func (*GetAttrResponse) GoString ¶
func (this *GetAttrResponse) GoString() string
func (*GetAttrResponse) ProtoMessage ¶
func (*GetAttrResponse) ProtoMessage()
func (*GetAttrResponse) Reset ¶
func (m *GetAttrResponse) Reset()
func (*GetAttrResponse) String ¶
func (this *GetAttrResponse) String() string
type GetXAttrRequest ¶
type GetXAttrRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Attribute string `protobuf:"bytes,2,opt,name=Attribute,proto3" json:"Attribute,omitempty"` Context *Context `protobuf:"bytes,3,opt,name=Context" json:"Context,omitempty"` }
func (*GetXAttrRequest) GetContext ¶
func (m *GetXAttrRequest) GetContext() *Context
func (*GetXAttrRequest) GoString ¶
func (this *GetXAttrRequest) GoString() string
func (*GetXAttrRequest) ProtoMessage ¶
func (*GetXAttrRequest) ProtoMessage()
func (*GetXAttrRequest) Reset ¶
func (m *GetXAttrRequest) Reset()
func (*GetXAttrRequest) String ¶
func (this *GetXAttrRequest) String() string
type GetXAttrResponse ¶
type GetXAttrResponse struct { Data []byte `protobuf:"bytes,1,opt,name=Data,proto3" json:"Data,omitempty"` Status *Status `protobuf:"bytes,2,opt,name=Status" json:"Status,omitempty"` }
func (*GetXAttrResponse) GetStatus ¶
func (m *GetXAttrResponse) GetStatus() *Status
func (*GetXAttrResponse) GoString ¶
func (this *GetXAttrResponse) GoString() string
func (*GetXAttrResponse) ProtoMessage ¶
func (*GetXAttrResponse) ProtoMessage()
func (*GetXAttrResponse) Reset ¶
func (m *GetXAttrResponse) Reset()
func (*GetXAttrResponse) String ¶
func (this *GetXAttrResponse) String() string
type LinkRequest ¶
type LinkRequest struct { OldName string `protobuf:"bytes,1,opt,name=OldName,proto3" json:"OldName,omitempty"` NewName string `protobuf:"bytes,2,opt,name=NewName,proto3" json:"NewName,omitempty"` Context *Context `protobuf:"bytes,3,opt,name=Context" json:"Context,omitempty"` }
func (*LinkRequest) GetContext ¶
func (m *LinkRequest) GetContext() *Context
func (*LinkRequest) GoString ¶
func (this *LinkRequest) GoString() string
func (*LinkRequest) ProtoMessage ¶
func (*LinkRequest) ProtoMessage()
func (*LinkRequest) Reset ¶
func (m *LinkRequest) Reset()
func (*LinkRequest) String ¶
func (this *LinkRequest) String() string
type LinkResponse ¶
type LinkResponse struct {
Status *Status `protobuf:"bytes,1,opt,name=Status" json:"Status,omitempty"`
}
func (*LinkResponse) GetStatus ¶
func (m *LinkResponse) GetStatus() *Status
func (*LinkResponse) GoString ¶
func (this *LinkResponse) GoString() string
func (*LinkResponse) ProtoMessage ¶
func (*LinkResponse) ProtoMessage()
func (*LinkResponse) Reset ¶
func (m *LinkResponse) Reset()
func (*LinkResponse) String ¶
func (this *LinkResponse) String() string
type ListXAttrRequest ¶
type ListXAttrRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Context *Context `protobuf:"bytes,2,opt,name=Context" json:"Context,omitempty"` }
func (*ListXAttrRequest) GetContext ¶
func (m *ListXAttrRequest) GetContext() *Context
func (*ListXAttrRequest) GoString ¶
func (this *ListXAttrRequest) GoString() string
func (*ListXAttrRequest) ProtoMessage ¶
func (*ListXAttrRequest) ProtoMessage()
func (*ListXAttrRequest) Reset ¶
func (m *ListXAttrRequest) Reset()
func (*ListXAttrRequest) String ¶
func (this *ListXAttrRequest) String() string
type ListXAttrResponse ¶
type ListXAttrResponse struct { Attributes []string `protobuf:"bytes,1,rep,name=Attributes" json:"Attributes,omitempty"` Status *Status `protobuf:"bytes,2,opt,name=Status" json:"Status,omitempty"` }
func (*ListXAttrResponse) GetStatus ¶
func (m *ListXAttrResponse) GetStatus() *Status
func (*ListXAttrResponse) GoString ¶
func (this *ListXAttrResponse) GoString() string
func (*ListXAttrResponse) ProtoMessage ¶
func (*ListXAttrResponse) ProtoMessage()
func (*ListXAttrResponse) Reset ¶
func (m *ListXAttrResponse) Reset()
func (*ListXAttrResponse) String ¶
func (this *ListXAttrResponse) String() string
type MkdirRequest ¶
type MkdirRequest 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"` Context *Context `protobuf:"bytes,3,opt,name=Context" json:"Context,omitempty"` }
func (*MkdirRequest) GetContext ¶
func (m *MkdirRequest) GetContext() *Context
func (*MkdirRequest) GoString ¶
func (this *MkdirRequest) GoString() string
func (*MkdirRequest) ProtoMessage ¶
func (*MkdirRequest) ProtoMessage()
func (*MkdirRequest) Reset ¶
func (m *MkdirRequest) Reset()
func (*MkdirRequest) String ¶
func (this *MkdirRequest) String() string
type MkdirResponse ¶
type MkdirResponse struct {
Status *Status `protobuf:"bytes,1,opt,name=Status" json:"Status,omitempty"`
}
func (*MkdirResponse) GetStatus ¶
func (m *MkdirResponse) GetStatus() *Status
func (*MkdirResponse) GoString ¶
func (this *MkdirResponse) GoString() string
func (*MkdirResponse) ProtoMessage ¶
func (*MkdirResponse) ProtoMessage()
func (*MkdirResponse) Reset ¶
func (m *MkdirResponse) Reset()
func (*MkdirResponse) String ¶
func (this *MkdirResponse) String() string
type MknodRequest ¶
type MknodRequest 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"` Dev uint32 `protobuf:"varint,3,opt,name=Dev,proto3" json:"Dev,omitempty"` Context *Context `protobuf:"bytes,4,opt,name=Context" json:"Context,omitempty"` }
func (*MknodRequest) GetContext ¶
func (m *MknodRequest) GetContext() *Context
func (*MknodRequest) GoString ¶
func (this *MknodRequest) GoString() string
func (*MknodRequest) ProtoMessage ¶
func (*MknodRequest) ProtoMessage()
func (*MknodRequest) Reset ¶
func (m *MknodRequest) Reset()
func (*MknodRequest) String ¶
func (this *MknodRequest) String() string
type MknodResponse ¶
type MknodResponse struct {
Status *Status `protobuf:"bytes,1,opt,name=Status" json:"Status,omitempty"`
}
func (*MknodResponse) GetStatus ¶
func (m *MknodResponse) GetStatus() *Status
func (*MknodResponse) GoString ¶
func (this *MknodResponse) GoString() string
func (*MknodResponse) ProtoMessage ¶
func (*MknodResponse) ProtoMessage()
func (*MknodResponse) Reset ¶
func (m *MknodResponse) Reset()
func (*MknodResponse) String ¶
func (this *MknodResponse) String() string
type OpenDirRequest ¶
type OpenDirRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Context *Context `protobuf:"bytes,2,opt,name=Context" json:"Context,omitempty"` }
func (*OpenDirRequest) GetContext ¶
func (m *OpenDirRequest) GetContext() *Context
func (*OpenDirRequest) GoString ¶
func (this *OpenDirRequest) GoString() string
func (*OpenDirRequest) ProtoMessage ¶
func (*OpenDirRequest) ProtoMessage()
func (*OpenDirRequest) Reset ¶
func (m *OpenDirRequest) Reset()
func (*OpenDirRequest) String ¶
func (this *OpenDirRequest) String() string
type OpenDirResponse ¶
type OpenDirResponse struct { Dirs []*DirEntry `protobuf:"bytes,1,rep,name=Dirs" json:"Dirs,omitempty"` Status *Status `protobuf:"bytes,2,opt,name=Status" json:"Status,omitempty"` }
func (*OpenDirResponse) GetDirs ¶
func (m *OpenDirResponse) GetDirs() []*DirEntry
func (*OpenDirResponse) GetStatus ¶
func (m *OpenDirResponse) GetStatus() *Status
func (*OpenDirResponse) GoString ¶
func (this *OpenDirResponse) GoString() string
func (*OpenDirResponse) ProtoMessage ¶
func (*OpenDirResponse) ProtoMessage()
func (*OpenDirResponse) Reset ¶
func (m *OpenDirResponse) Reset()
func (*OpenDirResponse) String ¶
func (this *OpenDirResponse) String() string
type OpenRequest ¶
type OpenRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Flags uint32 `protobuf:"varint,2,opt,name=Flags,proto3" json:"Flags,omitempty"` Context *Context `protobuf:"bytes,3,opt,name=Context" json:"Context,omitempty"` }
func (*OpenRequest) GetContext ¶
func (m *OpenRequest) GetContext() *Context
func (*OpenRequest) GoString ¶
func (this *OpenRequest) GoString() string
func (*OpenRequest) ProtoMessage ¶
func (*OpenRequest) ProtoMessage()
func (*OpenRequest) Reset ¶
func (m *OpenRequest) Reset()
func (*OpenRequest) String ¶
func (this *OpenRequest) String() string
type OpenResponse ¶
type OpenResponse struct { File *File `protobuf:"bytes,1,opt,name=File" json:"File,omitempty"` Status *Status `protobuf:"bytes,2,opt,name=Status" json:"Status,omitempty"` }
func (*OpenResponse) GetFile ¶
func (m *OpenResponse) GetFile() *File
func (*OpenResponse) GetStatus ¶
func (m *OpenResponse) GetStatus() *Status
func (*OpenResponse) GoString ¶
func (this *OpenResponse) GoString() string
func (*OpenResponse) ProtoMessage ¶
func (*OpenResponse) ProtoMessage()
func (*OpenResponse) Reset ¶
func (m *OpenResponse) Reset()
func (*OpenResponse) String ¶
func (this *OpenResponse) String() string
type Owner ¶
type Owner struct { Uid uint32 `protobuf:"varint,1,opt,name=Uid,proto3" json:"Uid,omitempty"` Gid uint32 `protobuf:"varint,2,opt,name=Gid,proto3" json:"Gid,omitempty"` }
func (*Owner) ProtoMessage ¶
func (*Owner) ProtoMessage()
type PathFSClient ¶
type PathFSClient interface { // Used for pretty printing. String(ctx context.Context, in *StringRequest, opts ...grpc.CallOption) (*StringResponse, error) // If called, provide debug output through the log package. SetDebug(ctx context.Context, in *SetDebugRequest, opts ...grpc.CallOption) (*SetDebugResponse, error) // Attributes. This function is the main entry point, through // which FUSE discovers which files and directories exist. // // If the filesystem wants to implement hard-links, it should // return consistent non-zero FileInfo.Ino data. Using // hardlinks incurs a performance hit. GetAttr(ctx context.Context, in *GetAttrRequest, opts ...grpc.CallOption) (*GetAttrResponse, error) Chmod(ctx context.Context, in *ChmodRequest, opts ...grpc.CallOption) (*ChmodResponse, error) Chown(ctx context.Context, in *ChownRequest, opts ...grpc.CallOption) (*ChownResponse, error) Utimens(ctx context.Context, in *UtimensRequest, opts ...grpc.CallOption) (*UtimensResponse, error) Truncate(ctx context.Context, in *TruncateRequest, opts ...grpc.CallOption) (*TruncateResponse, error) Access(ctx context.Context, in *AccessRequest, opts ...grpc.CallOption) (*AccessResponse, error) Link(ctx context.Context, in *LinkRequest, opts ...grpc.CallOption) (*LinkResponse, error) Mkdir(ctx context.Context, in *MkdirRequest, opts ...grpc.CallOption) (*MkdirResponse, error) Mknod(ctx context.Context, in *MknodRequest, opts ...grpc.CallOption) (*MknodResponse, error) Rename(ctx context.Context, in *RenameRequest, opts ...grpc.CallOption) (*RenameResponse, error) Rmdir(ctx context.Context, in *RmdirRequest, opts ...grpc.CallOption) (*RmdirResponse, error) Unlink(ctx context.Context, in *UnlinkRequest, opts ...grpc.CallOption) (*UnlinkResponse, error) // Extended attributes. GetXAttr(ctx context.Context, in *GetXAttrRequest, opts ...grpc.CallOption) (*GetXAttrResponse, error) ListXAttr(ctx context.Context, in *ListXAttrRequest, opts ...grpc.CallOption) (*ListXAttrResponse, error) RemoveXAttr(ctx context.Context, in *RemoveXAttrRequest, opts ...grpc.CallOption) (*RemoveXAttrResponse, error) SetXAttr(ctx context.Context, in *SetXAttrRequest, opts ...grpc.CallOption) (*SetXAttrResponse, error) // File handling. If opening for writing, the file's mtime // should be updated too. Open(ctx context.Context, in *OpenRequest, opts ...grpc.CallOption) (*OpenResponse, error) Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) // Directory handling OpenDir(ctx context.Context, in *OpenDirRequest, opts ...grpc.CallOption) (*OpenDirResponse, error) // Symlinks. Symlink(ctx context.Context, in *SymlinkRequest, opts ...grpc.CallOption) (*SymlinkResponse, error) Readlink(ctx context.Context, in *ReadlinkRequest, opts ...grpc.CallOption) (*ReadlinkResponse, error) StatFs(ctx context.Context, in *StatFsRequest, opts ...grpc.CallOption) (*StatFsResponse, error) }
func NewPathFSClient ¶
func NewPathFSClient(cc *grpc.ClientConn) PathFSClient
type PathFSServer ¶
type PathFSServer interface { // Used for pretty printing. String(context.Context, *StringRequest) (*StringResponse, error) // If called, provide debug output through the log package. SetDebug(context.Context, *SetDebugRequest) (*SetDebugResponse, error) // Attributes. This function is the main entry point, through // which FUSE discovers which files and directories exist. // // If the filesystem wants to implement hard-links, it should // return consistent non-zero FileInfo.Ino data. Using // hardlinks incurs a performance hit. GetAttr(context.Context, *GetAttrRequest) (*GetAttrResponse, error) Chmod(context.Context, *ChmodRequest) (*ChmodResponse, error) Chown(context.Context, *ChownRequest) (*ChownResponse, error) Utimens(context.Context, *UtimensRequest) (*UtimensResponse, error) Truncate(context.Context, *TruncateRequest) (*TruncateResponse, error) Access(context.Context, *AccessRequest) (*AccessResponse, error) Link(context.Context, *LinkRequest) (*LinkResponse, error) Mkdir(context.Context, *MkdirRequest) (*MkdirResponse, error) Mknod(context.Context, *MknodRequest) (*MknodResponse, error) Rename(context.Context, *RenameRequest) (*RenameResponse, error) Rmdir(context.Context, *RmdirRequest) (*RmdirResponse, error) Unlink(context.Context, *UnlinkRequest) (*UnlinkResponse, error) // Extended attributes. GetXAttr(context.Context, *GetXAttrRequest) (*GetXAttrResponse, error) ListXAttr(context.Context, *ListXAttrRequest) (*ListXAttrResponse, error) RemoveXAttr(context.Context, *RemoveXAttrRequest) (*RemoveXAttrResponse, error) SetXAttr(context.Context, *SetXAttrRequest) (*SetXAttrResponse, error) // File handling. If opening for writing, the file's mtime // should be updated too. Open(context.Context, *OpenRequest) (*OpenResponse, error) Create(context.Context, *CreateRequest) (*CreateResponse, error) // Directory handling OpenDir(context.Context, *OpenDirRequest) (*OpenDirResponse, error) // Symlinks. Symlink(context.Context, *SymlinkRequest) (*SymlinkResponse, error) Readlink(context.Context, *ReadlinkRequest) (*ReadlinkResponse, error) StatFs(context.Context, *StatFsRequest) (*StatFsResponse, error) }
type ReadlinkRequest ¶
type ReadlinkRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Context *Context `protobuf:"bytes,2,opt,name=Context" json:"Context,omitempty"` }
func (*ReadlinkRequest) GetContext ¶
func (m *ReadlinkRequest) GetContext() *Context
func (*ReadlinkRequest) GoString ¶
func (this *ReadlinkRequest) GoString() string
func (*ReadlinkRequest) ProtoMessage ¶
func (*ReadlinkRequest) ProtoMessage()
func (*ReadlinkRequest) Reset ¶
func (m *ReadlinkRequest) Reset()
func (*ReadlinkRequest) String ¶
func (this *ReadlinkRequest) String() string
type ReadlinkResponse ¶
type ReadlinkResponse struct { Value string `protobuf:"bytes,1,opt,name=Value,proto3" json:"Value,omitempty"` Status *Status `protobuf:"bytes,2,opt,name=Status" json:"Status,omitempty"` }
func (*ReadlinkResponse) GetStatus ¶
func (m *ReadlinkResponse) GetStatus() *Status
func (*ReadlinkResponse) GoString ¶
func (this *ReadlinkResponse) GoString() string
func (*ReadlinkResponse) ProtoMessage ¶
func (*ReadlinkResponse) ProtoMessage()
func (*ReadlinkResponse) Reset ¶
func (m *ReadlinkResponse) Reset()
func (*ReadlinkResponse) String ¶
func (this *ReadlinkResponse) String() string
type RemoveXAttrRequest ¶
type RemoveXAttrRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Attribute string `protobuf:"bytes,2,opt,name=Attribute,proto3" json:"Attribute,omitempty"` Context *Context `protobuf:"bytes,3,opt,name=Context" json:"Context,omitempty"` }
func (*RemoveXAttrRequest) GetContext ¶
func (m *RemoveXAttrRequest) GetContext() *Context
func (*RemoveXAttrRequest) GoString ¶
func (this *RemoveXAttrRequest) GoString() string
func (*RemoveXAttrRequest) ProtoMessage ¶
func (*RemoveXAttrRequest) ProtoMessage()
func (*RemoveXAttrRequest) Reset ¶
func (m *RemoveXAttrRequest) Reset()
func (*RemoveXAttrRequest) String ¶
func (this *RemoveXAttrRequest) String() string
type RemoveXAttrResponse ¶
type RemoveXAttrResponse struct {
Status *Status `protobuf:"bytes,1,opt,name=Status" json:"Status,omitempty"`
}
func (*RemoveXAttrResponse) GetStatus ¶
func (m *RemoveXAttrResponse) GetStatus() *Status
func (*RemoveXAttrResponse) GoString ¶
func (this *RemoveXAttrResponse) GoString() string
func (*RemoveXAttrResponse) ProtoMessage ¶
func (*RemoveXAttrResponse) ProtoMessage()
func (*RemoveXAttrResponse) Reset ¶
func (m *RemoveXAttrResponse) Reset()
func (*RemoveXAttrResponse) String ¶
func (this *RemoveXAttrResponse) String() string
type RenameRequest ¶
type RenameRequest struct { OldName string `protobuf:"bytes,1,opt,name=OldName,proto3" json:"OldName,omitempty"` NewName string `protobuf:"bytes,2,opt,name=NewName,proto3" json:"NewName,omitempty"` Context *Context `protobuf:"bytes,3,opt,name=Context" json:"Context,omitempty"` }
func (*RenameRequest) GetContext ¶
func (m *RenameRequest) GetContext() *Context
func (*RenameRequest) GoString ¶
func (this *RenameRequest) GoString() string
func (*RenameRequest) ProtoMessage ¶
func (*RenameRequest) ProtoMessage()
func (*RenameRequest) Reset ¶
func (m *RenameRequest) Reset()
func (*RenameRequest) String ¶
func (this *RenameRequest) String() string
type RenameResponse ¶
type RenameResponse struct {
Status *Status `protobuf:"bytes,1,opt,name=Status" json:"Status,omitempty"`
}
func (*RenameResponse) GetStatus ¶
func (m *RenameResponse) GetStatus() *Status
func (*RenameResponse) GoString ¶
func (this *RenameResponse) GoString() string
func (*RenameResponse) ProtoMessage ¶
func (*RenameResponse) ProtoMessage()
func (*RenameResponse) Reset ¶
func (m *RenameResponse) Reset()
func (*RenameResponse) String ¶
func (this *RenameResponse) String() string
type RmdirRequest ¶
type RmdirRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Context *Context `protobuf:"bytes,2,opt,name=Context" json:"Context,omitempty"` }
func (*RmdirRequest) GetContext ¶
func (m *RmdirRequest) GetContext() *Context
func (*RmdirRequest) GoString ¶
func (this *RmdirRequest) GoString() string
func (*RmdirRequest) ProtoMessage ¶
func (*RmdirRequest) ProtoMessage()
func (*RmdirRequest) Reset ¶
func (m *RmdirRequest) Reset()
func (*RmdirRequest) String ¶
func (this *RmdirRequest) String() string
type RmdirResponse ¶
type RmdirResponse struct {
Status *Status `protobuf:"bytes,1,opt,name=Status" json:"Status,omitempty"`
}
func (*RmdirResponse) GetStatus ¶
func (m *RmdirResponse) GetStatus() *Status
func (*RmdirResponse) GoString ¶
func (this *RmdirResponse) GoString() string
func (*RmdirResponse) ProtoMessage ¶
func (*RmdirResponse) ProtoMessage()
func (*RmdirResponse) Reset ¶
func (m *RmdirResponse) Reset()
func (*RmdirResponse) String ¶
func (this *RmdirResponse) String() string
type SetDebugRequest ¶
type SetDebugRequest struct {
Debug bool `protobuf:"varint,1,opt,name=Debug,proto3" json:"Debug,omitempty"`
}
func (*SetDebugRequest) GoString ¶
func (this *SetDebugRequest) GoString() string
func (*SetDebugRequest) ProtoMessage ¶
func (*SetDebugRequest) ProtoMessage()
func (*SetDebugRequest) Reset ¶
func (m *SetDebugRequest) Reset()
func (*SetDebugRequest) String ¶
func (this *SetDebugRequest) String() string
type SetDebugResponse ¶
type SetDebugResponse struct { }
func (*SetDebugResponse) GoString ¶
func (this *SetDebugResponse) GoString() string
func (*SetDebugResponse) ProtoMessage ¶
func (*SetDebugResponse) ProtoMessage()
func (*SetDebugResponse) Reset ¶
func (m *SetDebugResponse) Reset()
func (*SetDebugResponse) String ¶
func (this *SetDebugResponse) String() string
type SetXAttrRequest ¶
type SetXAttrRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Attribute string `protobuf:"bytes,2,opt,name=Attribute,proto3" json:"Attribute,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=Data,proto3" json:"Data,omitempty"` Flags int `protobuf:"varint,4,opt,name=Flags,proto3,casttype=int" json:"Flags,omitempty"` Context *Context `protobuf:"bytes,5,opt,name=Context" json:"Context,omitempty"` }
func (*SetXAttrRequest) GetContext ¶
func (m *SetXAttrRequest) GetContext() *Context
func (*SetXAttrRequest) GoString ¶
func (this *SetXAttrRequest) GoString() string
func (*SetXAttrRequest) ProtoMessage ¶
func (*SetXAttrRequest) ProtoMessage()
func (*SetXAttrRequest) Reset ¶
func (m *SetXAttrRequest) Reset()
func (*SetXAttrRequest) String ¶
func (this *SetXAttrRequest) String() string
type SetXAttrResponse ¶
type SetXAttrResponse struct {
Status *Status `protobuf:"bytes,1,opt,name=Status" json:"Status,omitempty"`
}
func (*SetXAttrResponse) GetStatus ¶
func (m *SetXAttrResponse) GetStatus() *Status
func (*SetXAttrResponse) GoString ¶
func (this *SetXAttrResponse) GoString() string
func (*SetXAttrResponse) ProtoMessage ¶
func (*SetXAttrResponse) ProtoMessage()
func (*SetXAttrResponse) Reset ¶
func (m *SetXAttrResponse) Reset()
func (*SetXAttrResponse) String ¶
func (this *SetXAttrResponse) String() string
type StatFs ¶
type StatFs struct { Blocks uint64 `protobuf:"varint,1,opt,name=Blocks,proto3" json:"Blocks,omitempty"` Bfree uint64 `protobuf:"varint,2,opt,name=Bfree,proto3" json:"Bfree,omitempty"` Bavail uint64 `protobuf:"varint,3,opt,name=Bavail,proto3" json:"Bavail,omitempty"` Files uint64 `protobuf:"varint,4,opt,name=Files,proto3" json:"Files,omitempty"` Ffree uint64 `protobuf:"varint,5,opt,name=Ffree,proto3" json:"Ffree,omitempty"` Bsize uint32 `protobuf:"varint,6,opt,name=Bsize,proto3" json:"Bsize,omitempty"` NameLen uint32 `protobuf:"varint,7,opt,name=NameLen,proto3" json:"NameLen,omitempty"` Frsize uint32 `protobuf:"varint,8,opt,name=Frsize,proto3" json:"Frsize,omitempty"` Padding uint32 `protobuf:"varint,9,opt,name=Padding,proto3" json:"Padding,omitempty"` Spare []uint32 `protobuf:"varint,10,rep,name=Spare" json:"Spare,omitempty"` }
func (*StatFs) ProtoMessage ¶
func (*StatFs) ProtoMessage()
type StatFsRequest ¶
type StatFsRequest struct {
Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"`
}
func (*StatFsRequest) GoString ¶
func (this *StatFsRequest) GoString() string
func (*StatFsRequest) ProtoMessage ¶
func (*StatFsRequest) ProtoMessage()
func (*StatFsRequest) Reset ¶
func (m *StatFsRequest) Reset()
func (*StatFsRequest) String ¶
func (this *StatFsRequest) String() string
type StatFsResponse ¶
type StatFsResponse struct {
StatFs *StatFs `protobuf:"bytes,1,opt,name=StatFs" json:"StatFs,omitempty"`
}
func (*StatFsResponse) GetStatFs ¶
func (m *StatFsResponse) GetStatFs() *StatFs
func (*StatFsResponse) GoString ¶
func (this *StatFsResponse) GoString() string
func (*StatFsResponse) ProtoMessage ¶
func (*StatFsResponse) ProtoMessage()
func (*StatFsResponse) Reset ¶
func (m *StatFsResponse) Reset()
func (*StatFsResponse) String ¶
func (this *StatFsResponse) String() string
type Status ¶
type Status struct {
Code github_com_hanwen_go_fuse_fuse.Status `protobuf:"varint,1,opt,name=Code,proto3,casttype=github.com/hanwen/go-fuse/fuse.Status" json:"Code,omitempty"`
}
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
type StringRequest ¶
type StringRequest struct { }
func (*StringRequest) GoString ¶
func (this *StringRequest) GoString() string
func (*StringRequest) ProtoMessage ¶
func (*StringRequest) ProtoMessage()
func (*StringRequest) Reset ¶
func (m *StringRequest) Reset()
func (*StringRequest) String ¶
func (this *StringRequest) String() string
type StringResponse ¶
type StringResponse struct {
String_ string `protobuf:"bytes,1,opt,name=String,proto3" json:"String,omitempty"`
}
func (*StringResponse) GoString ¶
func (this *StringResponse) GoString() string
func (*StringResponse) ProtoMessage ¶
func (*StringResponse) ProtoMessage()
func (*StringResponse) Reset ¶
func (m *StringResponse) Reset()
func (*StringResponse) String ¶
func (this *StringResponse) String() string
type SymlinkRequest ¶
type SymlinkRequest struct { Value string `protobuf:"bytes,1,opt,name=Value,proto3" json:"Value,omitempty"` LinkName string `protobuf:"bytes,2,opt,name=LinkName,proto3" json:"LinkName,omitempty"` Context *Context `protobuf:"bytes,3,opt,name=Context" json:"Context,omitempty"` }
func (*SymlinkRequest) GetContext ¶
func (m *SymlinkRequest) GetContext() *Context
func (*SymlinkRequest) GoString ¶
func (this *SymlinkRequest) GoString() string
func (*SymlinkRequest) ProtoMessage ¶
func (*SymlinkRequest) ProtoMessage()
func (*SymlinkRequest) Reset ¶
func (m *SymlinkRequest) Reset()
func (*SymlinkRequest) String ¶
func (this *SymlinkRequest) String() string
type SymlinkResponse ¶
type SymlinkResponse struct {
Status *Status `protobuf:"bytes,1,opt,name=Status" json:"Status,omitempty"`
}
func (*SymlinkResponse) GetStatus ¶
func (m *SymlinkResponse) GetStatus() *Status
func (*SymlinkResponse) GoString ¶
func (this *SymlinkResponse) GoString() string
func (*SymlinkResponse) ProtoMessage ¶
func (*SymlinkResponse) ProtoMessage()
func (*SymlinkResponse) Reset ¶
func (m *SymlinkResponse) Reset()
func (*SymlinkResponse) String ¶
func (this *SymlinkResponse) String() string
type TruncateRequest ¶
type TruncateRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Size_ uint64 `protobuf:"varint,2,opt,name=Size,proto3" json:"Size,omitempty"` Context *Context `protobuf:"bytes,3,opt,name=Context" json:"Context,omitempty"` }
func (*TruncateRequest) GetContext ¶
func (m *TruncateRequest) GetContext() *Context
func (*TruncateRequest) GoString ¶
func (this *TruncateRequest) GoString() string
func (*TruncateRequest) ProtoMessage ¶
func (*TruncateRequest) ProtoMessage()
func (*TruncateRequest) Reset ¶
func (m *TruncateRequest) Reset()
func (*TruncateRequest) String ¶
func (this *TruncateRequest) String() string
type TruncateResponse ¶
type TruncateResponse struct {
Status *Status `protobuf:"bytes,1,opt,name=Status" json:"Status,omitempty"`
}
func (*TruncateResponse) GetStatus ¶
func (m *TruncateResponse) GetStatus() *Status
func (*TruncateResponse) GoString ¶
func (this *TruncateResponse) GoString() string
func (*TruncateResponse) ProtoMessage ¶
func (*TruncateResponse) ProtoMessage()
func (*TruncateResponse) Reset ¶
func (m *TruncateResponse) Reset()
func (*TruncateResponse) String ¶
func (this *TruncateResponse) String() string
type UnlinkRequest ¶
type UnlinkRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Context *Context `protobuf:"bytes,2,opt,name=Context" json:"Context,omitempty"` }
func (*UnlinkRequest) GetContext ¶
func (m *UnlinkRequest) GetContext() *Context
func (*UnlinkRequest) GoString ¶
func (this *UnlinkRequest) GoString() string
func (*UnlinkRequest) ProtoMessage ¶
func (*UnlinkRequest) ProtoMessage()
func (*UnlinkRequest) Reset ¶
func (m *UnlinkRequest) Reset()
func (*UnlinkRequest) String ¶
func (this *UnlinkRequest) String() string
type UnlinkResponse ¶
type UnlinkResponse struct {
Status *Status `protobuf:"bytes,1,opt,name=Status" json:"Status,omitempty"`
}
func (*UnlinkResponse) GetStatus ¶
func (m *UnlinkResponse) GetStatus() *Status
func (*UnlinkResponse) GoString ¶
func (this *UnlinkResponse) GoString() string
func (*UnlinkResponse) ProtoMessage ¶
func (*UnlinkResponse) ProtoMessage()
func (*UnlinkResponse) Reset ¶
func (m *UnlinkResponse) Reset()
func (*UnlinkResponse) String ¶
func (this *UnlinkResponse) String() string
type UtimensRequest ¶
type UtimensRequest struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Atime int64 `protobuf:"varint,2,opt,name=Atime,proto3" json:"Atime,omitempty"` Mtime int64 `protobuf:"varint,3,opt,name=Mtime,proto3" json:"Mtime,omitempty"` Context *Context `protobuf:"bytes,4,opt,name=Context" json:"Context,omitempty"` }
func (*UtimensRequest) GetContext ¶
func (m *UtimensRequest) GetContext() *Context
func (*UtimensRequest) GoString ¶
func (this *UtimensRequest) GoString() string
func (*UtimensRequest) ProtoMessage ¶
func (*UtimensRequest) ProtoMessage()
func (*UtimensRequest) Reset ¶
func (m *UtimensRequest) Reset()
func (*UtimensRequest) String ¶
func (this *UtimensRequest) String() string
type UtimensResponse ¶
type UtimensResponse struct {
Status *Status `protobuf:"bytes,1,opt,name=Status" json:"Status,omitempty"`
}
func (*UtimensResponse) GetStatus ¶
func (m *UtimensResponse) GetStatus() *Status
func (*UtimensResponse) GoString ¶
func (this *UtimensResponse) GoString() string
func (*UtimensResponse) ProtoMessage ¶
func (*UtimensResponse) ProtoMessage()
func (*UtimensResponse) Reset ¶
func (m *UtimensResponse) Reset()
func (*UtimensResponse) String ¶
func (this *UtimensResponse) String() string
Click to show internal directories.
Click to hide internal directories.