Documentation ¶
Overview ¶
Package fuse is a generated protocol buffer package.
It is generated from these files:
server/pfs/fuse/fuse.proto
It has these top-level messages:
CommitMount Filesystem Node Attr Dirent Root DirectoryAttr DirectoryLookup DirectoryReadDirAll DirectoryCreate DirectoryMkdir FileAttr FileSetAttr FileRead FileOpen FileWrite FileRemove
Index ¶
- Variables
- type Attr
- func (*Attr) Descriptor() ([]byte, []int)
- func (m *Attr) GetMode() uint32
- func (m *Attr) Marshal() (dAtA []byte, err error)
- func (m *Attr) MarshalTo(dAtA []byte) (int, error)
- func (*Attr) ProtoMessage()
- func (m *Attr) Reset()
- func (m *Attr) Size() (n int)
- func (m *Attr) String() string
- func (m *Attr) Unmarshal(dAtA []byte) error
- type CommitMount
- func (*CommitMount) Descriptor() ([]byte, []int)
- func (m *CommitMount) GetAlias() string
- func (m *CommitMount) GetCommit() *pfs.Commit
- func (m *CommitMount) GetLazy() bool
- func (m *CommitMount) Marshal() (dAtA []byte, err error)
- func (m *CommitMount) MarshalTo(dAtA []byte) (int, error)
- func (*CommitMount) ProtoMessage()
- func (m *CommitMount) Reset()
- func (m *CommitMount) Size() (n int)
- func (m *CommitMount) String() string
- func (m *CommitMount) Unmarshal(dAtA []byte) error
- type DirectoryAttr
- func (*DirectoryAttr) Descriptor() ([]byte, []int)
- func (m *DirectoryAttr) GetDirectory() *Node
- func (m *DirectoryAttr) GetError() string
- func (m *DirectoryAttr) GetResult() *Attr
- func (m *DirectoryAttr) Marshal() (dAtA []byte, err error)
- func (m *DirectoryAttr) MarshalTo(dAtA []byte) (int, error)
- func (*DirectoryAttr) ProtoMessage()
- func (m *DirectoryAttr) Reset()
- func (m *DirectoryAttr) Size() (n int)
- func (m *DirectoryAttr) String() string
- func (m *DirectoryAttr) Unmarshal(dAtA []byte) error
- type DirectoryCreate
- func (*DirectoryCreate) Descriptor() ([]byte, []int)
- func (m *DirectoryCreate) GetDirectory() *Node
- func (m *DirectoryCreate) GetError() string
- func (m *DirectoryCreate) GetResult() *Node
- func (m *DirectoryCreate) Marshal() (dAtA []byte, err error)
- func (m *DirectoryCreate) MarshalTo(dAtA []byte) (int, error)
- func (*DirectoryCreate) ProtoMessage()
- func (m *DirectoryCreate) Reset()
- func (m *DirectoryCreate) Size() (n int)
- func (m *DirectoryCreate) String() string
- func (m *DirectoryCreate) Unmarshal(dAtA []byte) error
- type DirectoryLookup
- func (*DirectoryLookup) Descriptor() ([]byte, []int)
- func (m *DirectoryLookup) GetDirectory() *Node
- func (m *DirectoryLookup) GetErr() string
- func (m *DirectoryLookup) GetName() string
- func (m *DirectoryLookup) GetResult() *Node
- func (m *DirectoryLookup) Marshal() (dAtA []byte, err error)
- func (m *DirectoryLookup) MarshalTo(dAtA []byte) (int, error)
- func (*DirectoryLookup) ProtoMessage()
- func (m *DirectoryLookup) Reset()
- func (m *DirectoryLookup) Size() (n int)
- func (m *DirectoryLookup) String() string
- func (m *DirectoryLookup) Unmarshal(dAtA []byte) error
- type DirectoryMkdir
- func (*DirectoryMkdir) Descriptor() ([]byte, []int)
- func (m *DirectoryMkdir) GetDirectory() *Node
- func (m *DirectoryMkdir) GetError() string
- func (m *DirectoryMkdir) GetResult() *Node
- func (m *DirectoryMkdir) Marshal() (dAtA []byte, err error)
- func (m *DirectoryMkdir) MarshalTo(dAtA []byte) (int, error)
- func (*DirectoryMkdir) ProtoMessage()
- func (m *DirectoryMkdir) Reset()
- func (m *DirectoryMkdir) Size() (n int)
- func (m *DirectoryMkdir) String() string
- func (m *DirectoryMkdir) Unmarshal(dAtA []byte) error
- type DirectoryReadDirAll
- func (*DirectoryReadDirAll) Descriptor() ([]byte, []int)
- func (m *DirectoryReadDirAll) GetDirectory() *Node
- func (m *DirectoryReadDirAll) GetError() string
- func (m *DirectoryReadDirAll) GetResult() []*Dirent
- func (m *DirectoryReadDirAll) Marshal() (dAtA []byte, err error)
- func (m *DirectoryReadDirAll) MarshalTo(dAtA []byte) (int, error)
- func (*DirectoryReadDirAll) ProtoMessage()
- func (m *DirectoryReadDirAll) Reset()
- func (m *DirectoryReadDirAll) Size() (n int)
- func (m *DirectoryReadDirAll) String() string
- func (m *DirectoryReadDirAll) Unmarshal(dAtA []byte) error
- type Dirent
- func (*Dirent) Descriptor() ([]byte, []int)
- func (m *Dirent) GetInode() uint64
- func (m *Dirent) GetName() string
- func (m *Dirent) Marshal() (dAtA []byte, err error)
- func (m *Dirent) MarshalTo(dAtA []byte) (int, error)
- func (*Dirent) ProtoMessage()
- func (m *Dirent) Reset()
- func (m *Dirent) Size() (n int)
- func (m *Dirent) String() string
- func (m *Dirent) Unmarshal(dAtA []byte) error
- type FileAttr
- func (*FileAttr) Descriptor() ([]byte, []int)
- func (m *FileAttr) GetError() string
- func (m *FileAttr) GetFile() *Node
- func (m *FileAttr) GetResult() *Attr
- func (m *FileAttr) Marshal() (dAtA []byte, err error)
- func (m *FileAttr) MarshalTo(dAtA []byte) (int, error)
- func (*FileAttr) ProtoMessage()
- func (m *FileAttr) Reset()
- func (m *FileAttr) Size() (n int)
- func (m *FileAttr) String() string
- func (m *FileAttr) Unmarshal(dAtA []byte) error
- type FileOpen
- func (*FileOpen) Descriptor() ([]byte, []int)
- func (m *FileOpen) GetError() string
- func (m *FileOpen) GetFile() *Node
- func (m *FileOpen) Marshal() (dAtA []byte, err error)
- func (m *FileOpen) MarshalTo(dAtA []byte) (int, error)
- func (*FileOpen) ProtoMessage()
- func (m *FileOpen) Reset()
- func (m *FileOpen) Size() (n int)
- func (m *FileOpen) String() string
- func (m *FileOpen) Unmarshal(dAtA []byte) error
- type FileRead
- func (*FileRead) Descriptor() ([]byte, []int)
- func (m *FileRead) GetData() string
- func (m *FileRead) GetError() string
- func (m *FileRead) GetFile() *Node
- func (m *FileRead) Marshal() (dAtA []byte, err error)
- func (m *FileRead) MarshalTo(dAtA []byte) (int, error)
- func (*FileRead) ProtoMessage()
- func (m *FileRead) Reset()
- func (m *FileRead) Size() (n int)
- func (m *FileRead) String() string
- func (m *FileRead) Unmarshal(dAtA []byte) error
- type FileRemove
- func (*FileRemove) Descriptor() ([]byte, []int)
- func (m *FileRemove) GetDir() bool
- func (m *FileRemove) GetError() string
- func (m *FileRemove) GetFile() *Node
- func (m *FileRemove) GetName() string
- func (m *FileRemove) Marshal() (dAtA []byte, err error)
- func (m *FileRemove) MarshalTo(dAtA []byte) (int, error)
- func (*FileRemove) ProtoMessage()
- func (m *FileRemove) Reset()
- func (m *FileRemove) Size() (n int)
- func (m *FileRemove) String() string
- func (m *FileRemove) Unmarshal(dAtA []byte) error
- type FileSetAttr
- func (*FileSetAttr) Descriptor() ([]byte, []int)
- func (m *FileSetAttr) GetError() string
- func (m *FileSetAttr) GetFile() *Node
- func (m *FileSetAttr) Marshal() (dAtA []byte, err error)
- func (m *FileSetAttr) MarshalTo(dAtA []byte) (int, error)
- func (*FileSetAttr) ProtoMessage()
- func (m *FileSetAttr) Reset()
- func (m *FileSetAttr) Size() (n int)
- func (m *FileSetAttr) String() string
- func (m *FileSetAttr) Unmarshal(dAtA []byte) error
- type FileWrite
- func (*FileWrite) Descriptor() ([]byte, []int)
- func (m *FileWrite) GetData() string
- func (m *FileWrite) GetError() string
- func (m *FileWrite) GetFile() *Node
- func (m *FileWrite) GetOffset() int64
- func (m *FileWrite) Marshal() (dAtA []byte, err error)
- func (m *FileWrite) MarshalTo(dAtA []byte) (int, error)
- func (*FileWrite) ProtoMessage()
- func (m *FileWrite) Reset()
- func (m *FileWrite) Size() (n int)
- func (m *FileWrite) String() string
- func (m *FileWrite) Unmarshal(dAtA []byte) error
- type Filesystem
- func (*Filesystem) Descriptor() ([]byte, []int)
- func (m *Filesystem) GetCommitMounts() []*CommitMount
- func (m *Filesystem) Marshal() (dAtA []byte, err error)
- func (m *Filesystem) MarshalTo(dAtA []byte) (int, error)
- func (*Filesystem) ProtoMessage()
- func (m *Filesystem) Reset()
- func (m *Filesystem) Size() (n int)
- func (m *Filesystem) String() string
- func (m *Filesystem) Unmarshal(dAtA []byte) error
- type Mounter
- type Node
- func (*Node) Descriptor() ([]byte, []int)
- func (m *Node) GetFile() *pfs.File
- func (m *Node) GetModified() *google_protobuf1.Timestamp
- func (m *Node) GetRepoAlias() string
- func (m *Node) GetWrite() bool
- func (m *Node) Marshal() (dAtA []byte, err error)
- func (m *Node) MarshalTo(dAtA []byte) (int, error)
- func (*Node) ProtoMessage()
- func (m *Node) Reset()
- func (m *Node) Size() (n int)
- func (m *Node) String() string
- func (m *Node) Unmarshal(dAtA []byte) error
- type Root
- func (*Root) Descriptor() ([]byte, []int)
- func (m *Root) GetError() string
- func (m *Root) GetFilesystem() *Filesystem
- func (m *Root) GetResult() *Node
- func (m *Root) Marshal() (dAtA []byte, err error)
- func (m *Root) MarshalTo(dAtA []byte) (int, error)
- func (*Root) ProtoMessage()
- func (m *Root) Reset()
- func (m *Root) Size() (n int)
- func (m *Root) String() string
- func (m *Root) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthFuse = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowFuse = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type Attr ¶
type Attr struct {
Mode uint32 `protobuf:"varint,1,opt,name=Mode,proto3" json:"Mode,omitempty"`
}
func (*Attr) Descriptor ¶
func (*Attr) ProtoMessage ¶
func (*Attr) ProtoMessage()
type CommitMount ¶
type CommitMount struct { Commit *pfs.Commit `protobuf:"bytes,1,opt,name=commit" json:"commit,omitempty"` Alias string `protobuf:"bytes,4,opt,name=alias,proto3" json:"alias,omitempty"` Lazy bool `protobuf:"varint,6,opt,name=lazy,proto3" json:"lazy,omitempty"` }
func (*CommitMount) Descriptor ¶
func (*CommitMount) Descriptor() ([]byte, []int)
func (*CommitMount) GetAlias ¶ added in v1.3.5
func (m *CommitMount) GetAlias() string
func (*CommitMount) GetCommit ¶
func (m *CommitMount) GetCommit() *pfs.Commit
func (*CommitMount) GetLazy ¶ added in v1.3.5
func (m *CommitMount) GetLazy() bool
func (*CommitMount) Marshal ¶ added in v1.5.0
func (m *CommitMount) Marshal() (dAtA []byte, err error)
func (*CommitMount) MarshalTo ¶ added in v1.5.0
func (m *CommitMount) MarshalTo(dAtA []byte) (int, error)
func (*CommitMount) ProtoMessage ¶
func (*CommitMount) ProtoMessage()
func (*CommitMount) Reset ¶
func (m *CommitMount) Reset()
func (*CommitMount) Size ¶ added in v1.5.0
func (m *CommitMount) Size() (n int)
func (*CommitMount) String ¶
func (m *CommitMount) String() string
func (*CommitMount) Unmarshal ¶ added in v1.5.0
func (m *CommitMount) Unmarshal(dAtA []byte) error
type DirectoryAttr ¶
type DirectoryAttr struct { Directory *Node `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"` Result *Attr `protobuf:"bytes,2,opt,name=result" json:"result,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` }
func (*DirectoryAttr) Descriptor ¶
func (*DirectoryAttr) Descriptor() ([]byte, []int)
func (*DirectoryAttr) GetDirectory ¶
func (m *DirectoryAttr) GetDirectory() *Node
func (*DirectoryAttr) GetError ¶ added in v1.3.5
func (m *DirectoryAttr) GetError() string
func (*DirectoryAttr) GetResult ¶
func (m *DirectoryAttr) GetResult() *Attr
func (*DirectoryAttr) Marshal ¶ added in v1.5.0
func (m *DirectoryAttr) Marshal() (dAtA []byte, err error)
func (*DirectoryAttr) MarshalTo ¶ added in v1.5.0
func (m *DirectoryAttr) MarshalTo(dAtA []byte) (int, error)
func (*DirectoryAttr) ProtoMessage ¶
func (*DirectoryAttr) ProtoMessage()
func (*DirectoryAttr) Reset ¶
func (m *DirectoryAttr) Reset()
func (*DirectoryAttr) Size ¶ added in v1.5.0
func (m *DirectoryAttr) Size() (n int)
func (*DirectoryAttr) String ¶
func (m *DirectoryAttr) String() string
func (*DirectoryAttr) Unmarshal ¶ added in v1.5.0
func (m *DirectoryAttr) Unmarshal(dAtA []byte) error
type DirectoryCreate ¶
type DirectoryCreate struct { Directory *Node `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"` Result *Node `protobuf:"bytes,2,opt,name=result" json:"result,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` }
func (*DirectoryCreate) Descriptor ¶
func (*DirectoryCreate) Descriptor() ([]byte, []int)
func (*DirectoryCreate) GetDirectory ¶
func (m *DirectoryCreate) GetDirectory() *Node
func (*DirectoryCreate) GetError ¶ added in v1.3.5
func (m *DirectoryCreate) GetError() string
func (*DirectoryCreate) GetResult ¶
func (m *DirectoryCreate) GetResult() *Node
func (*DirectoryCreate) Marshal ¶ added in v1.5.0
func (m *DirectoryCreate) Marshal() (dAtA []byte, err error)
func (*DirectoryCreate) MarshalTo ¶ added in v1.5.0
func (m *DirectoryCreate) MarshalTo(dAtA []byte) (int, error)
func (*DirectoryCreate) ProtoMessage ¶
func (*DirectoryCreate) ProtoMessage()
func (*DirectoryCreate) Reset ¶
func (m *DirectoryCreate) Reset()
func (*DirectoryCreate) Size ¶ added in v1.5.0
func (m *DirectoryCreate) Size() (n int)
func (*DirectoryCreate) String ¶
func (m *DirectoryCreate) String() string
func (*DirectoryCreate) Unmarshal ¶ added in v1.5.0
func (m *DirectoryCreate) Unmarshal(dAtA []byte) error
type DirectoryLookup ¶
type DirectoryLookup struct { Directory *Node `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Result *Node `protobuf:"bytes,3,opt,name=result" json:"result,omitempty"` Err string `protobuf:"bytes,4,opt,name=err,proto3" json:"err,omitempty"` }
func (*DirectoryLookup) Descriptor ¶
func (*DirectoryLookup) Descriptor() ([]byte, []int)
func (*DirectoryLookup) GetDirectory ¶
func (m *DirectoryLookup) GetDirectory() *Node
func (*DirectoryLookup) GetErr ¶ added in v1.3.5
func (m *DirectoryLookup) GetErr() string
func (*DirectoryLookup) GetName ¶ added in v1.3.5
func (m *DirectoryLookup) GetName() string
func (*DirectoryLookup) GetResult ¶
func (m *DirectoryLookup) GetResult() *Node
func (*DirectoryLookup) Marshal ¶ added in v1.5.0
func (m *DirectoryLookup) Marshal() (dAtA []byte, err error)
func (*DirectoryLookup) MarshalTo ¶ added in v1.5.0
func (m *DirectoryLookup) MarshalTo(dAtA []byte) (int, error)
func (*DirectoryLookup) ProtoMessage ¶
func (*DirectoryLookup) ProtoMessage()
func (*DirectoryLookup) Reset ¶
func (m *DirectoryLookup) Reset()
func (*DirectoryLookup) Size ¶ added in v1.5.0
func (m *DirectoryLookup) Size() (n int)
func (*DirectoryLookup) String ¶
func (m *DirectoryLookup) String() string
func (*DirectoryLookup) Unmarshal ¶ added in v1.5.0
func (m *DirectoryLookup) Unmarshal(dAtA []byte) error
type DirectoryMkdir ¶
type DirectoryMkdir struct { Directory *Node `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"` Result *Node `protobuf:"bytes,2,opt,name=result" json:"result,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` }
func (*DirectoryMkdir) Descriptor ¶
func (*DirectoryMkdir) Descriptor() ([]byte, []int)
func (*DirectoryMkdir) GetDirectory ¶
func (m *DirectoryMkdir) GetDirectory() *Node
func (*DirectoryMkdir) GetError ¶ added in v1.3.5
func (m *DirectoryMkdir) GetError() string
func (*DirectoryMkdir) GetResult ¶
func (m *DirectoryMkdir) GetResult() *Node
func (*DirectoryMkdir) Marshal ¶ added in v1.5.0
func (m *DirectoryMkdir) Marshal() (dAtA []byte, err error)
func (*DirectoryMkdir) MarshalTo ¶ added in v1.5.0
func (m *DirectoryMkdir) MarshalTo(dAtA []byte) (int, error)
func (*DirectoryMkdir) ProtoMessage ¶
func (*DirectoryMkdir) ProtoMessage()
func (*DirectoryMkdir) Reset ¶
func (m *DirectoryMkdir) Reset()
func (*DirectoryMkdir) Size ¶ added in v1.5.0
func (m *DirectoryMkdir) Size() (n int)
func (*DirectoryMkdir) String ¶
func (m *DirectoryMkdir) String() string
func (*DirectoryMkdir) Unmarshal ¶ added in v1.5.0
func (m *DirectoryMkdir) Unmarshal(dAtA []byte) error
type DirectoryReadDirAll ¶
type DirectoryReadDirAll struct { Directory *Node `protobuf:"bytes,1,opt,name=directory" json:"directory,omitempty"` Result []*Dirent `protobuf:"bytes,2,rep,name=result" json:"result,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` }
func (*DirectoryReadDirAll) Descriptor ¶
func (*DirectoryReadDirAll) Descriptor() ([]byte, []int)
func (*DirectoryReadDirAll) GetDirectory ¶
func (m *DirectoryReadDirAll) GetDirectory() *Node
func (*DirectoryReadDirAll) GetError ¶ added in v1.3.5
func (m *DirectoryReadDirAll) GetError() string
func (*DirectoryReadDirAll) GetResult ¶
func (m *DirectoryReadDirAll) GetResult() []*Dirent
func (*DirectoryReadDirAll) Marshal ¶ added in v1.5.0
func (m *DirectoryReadDirAll) Marshal() (dAtA []byte, err error)
func (*DirectoryReadDirAll) MarshalTo ¶ added in v1.5.0
func (m *DirectoryReadDirAll) MarshalTo(dAtA []byte) (int, error)
func (*DirectoryReadDirAll) ProtoMessage ¶
func (*DirectoryReadDirAll) ProtoMessage()
func (*DirectoryReadDirAll) Reset ¶
func (m *DirectoryReadDirAll) Reset()
func (*DirectoryReadDirAll) Size ¶ added in v1.5.0
func (m *DirectoryReadDirAll) Size() (n int)
func (*DirectoryReadDirAll) String ¶
func (m *DirectoryReadDirAll) String() string
func (*DirectoryReadDirAll) Unmarshal ¶ added in v1.5.0
func (m *DirectoryReadDirAll) Unmarshal(dAtA []byte) error
type Dirent ¶
type Dirent struct { Inode uint64 `protobuf:"varint,1,opt,name=inode,proto3" json:"inode,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` }
func (*Dirent) Descriptor ¶
func (*Dirent) ProtoMessage ¶
func (*Dirent) ProtoMessage()
type FileAttr ¶
type FileAttr struct { File *Node `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"` Result *Attr `protobuf:"bytes,2,opt,name=result" json:"result,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` }
func (*FileAttr) Descriptor ¶
func (*FileAttr) ProtoMessage ¶
func (*FileAttr) ProtoMessage()
type FileOpen ¶
type FileOpen struct { File *Node `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` }
func (*FileOpen) Descriptor ¶
func (*FileOpen) ProtoMessage ¶
func (*FileOpen) ProtoMessage()
type FileRead ¶
type FileRead struct { File *Node `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"` Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` }
func (*FileRead) Descriptor ¶
func (*FileRead) ProtoMessage ¶
func (*FileRead) ProtoMessage()
type FileRemove ¶
type FileRemove struct { File *Node `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Dir bool `protobuf:"varint,3,opt,name=dir,proto3" json:"dir,omitempty"` Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` }
func (*FileRemove) Descriptor ¶
func (*FileRemove) Descriptor() ([]byte, []int)
func (*FileRemove) GetDir ¶ added in v1.3.5
func (m *FileRemove) GetDir() bool
func (*FileRemove) GetError ¶ added in v1.3.5
func (m *FileRemove) GetError() string
func (*FileRemove) GetFile ¶
func (m *FileRemove) GetFile() *Node
func (*FileRemove) GetName ¶ added in v1.3.5
func (m *FileRemove) GetName() string
func (*FileRemove) Marshal ¶ added in v1.5.0
func (m *FileRemove) Marshal() (dAtA []byte, err error)
func (*FileRemove) MarshalTo ¶ added in v1.5.0
func (m *FileRemove) MarshalTo(dAtA []byte) (int, error)
func (*FileRemove) ProtoMessage ¶
func (*FileRemove) ProtoMessage()
func (*FileRemove) Reset ¶
func (m *FileRemove) Reset()
func (*FileRemove) Size ¶ added in v1.5.0
func (m *FileRemove) Size() (n int)
func (*FileRemove) String ¶
func (m *FileRemove) String() string
func (*FileRemove) Unmarshal ¶ added in v1.5.0
func (m *FileRemove) Unmarshal(dAtA []byte) error
type FileSetAttr ¶
type FileSetAttr struct { File *Node `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` }
func (*FileSetAttr) Descriptor ¶
func (*FileSetAttr) Descriptor() ([]byte, []int)
func (*FileSetAttr) GetError ¶ added in v1.3.5
func (m *FileSetAttr) GetError() string
func (*FileSetAttr) GetFile ¶
func (m *FileSetAttr) GetFile() *Node
func (*FileSetAttr) Marshal ¶ added in v1.5.0
func (m *FileSetAttr) Marshal() (dAtA []byte, err error)
func (*FileSetAttr) MarshalTo ¶ added in v1.5.0
func (m *FileSetAttr) MarshalTo(dAtA []byte) (int, error)
func (*FileSetAttr) ProtoMessage ¶
func (*FileSetAttr) ProtoMessage()
func (*FileSetAttr) Reset ¶
func (m *FileSetAttr) Reset()
func (*FileSetAttr) Size ¶ added in v1.5.0
func (m *FileSetAttr) Size() (n int)
func (*FileSetAttr) String ¶
func (m *FileSetAttr) String() string
func (*FileSetAttr) Unmarshal ¶ added in v1.5.0
func (m *FileSetAttr) Unmarshal(dAtA []byte) error
type FileWrite ¶
type FileWrite struct { File *Node `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"` Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Offset int64 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"` Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` }
func (*FileWrite) Descriptor ¶
func (*FileWrite) ProtoMessage ¶
func (*FileWrite) ProtoMessage()
type Filesystem ¶
type Filesystem struct {
CommitMounts []*CommitMount `protobuf:"bytes,2,rep,name=commit_mounts,json=commitMounts" json:"commit_mounts,omitempty"`
}
func (*Filesystem) Descriptor ¶
func (*Filesystem) Descriptor() ([]byte, []int)
func (*Filesystem) GetCommitMounts ¶
func (m *Filesystem) GetCommitMounts() []*CommitMount
func (*Filesystem) Marshal ¶ added in v1.5.0
func (m *Filesystem) Marshal() (dAtA []byte, err error)
func (*Filesystem) MarshalTo ¶ added in v1.5.0
func (m *Filesystem) MarshalTo(dAtA []byte) (int, error)
func (*Filesystem) ProtoMessage ¶
func (*Filesystem) ProtoMessage()
func (*Filesystem) Reset ¶
func (m *Filesystem) Reset()
func (*Filesystem) Size ¶ added in v1.5.0
func (m *Filesystem) Size() (n int)
func (*Filesystem) String ¶
func (m *Filesystem) String() string
func (*Filesystem) Unmarshal ¶ added in v1.5.0
func (m *Filesystem) Unmarshal(dAtA []byte) error
type Mounter ¶
type Mounter interface { // Mount mounts a repository available as a fuse filesystem at mountPoint. // Mount blocks and will return once the volume is unmounted. MountAndCreate( mountPoint string, commitMounts []*CommitMount, ready chan bool, debug bool, oneMount bool, ) error Mount( mountPoint string, commitMounts []*CommitMount, ready chan bool, debug bool, oneMount bool, ) error // Unmount unmounts a mounted filesystem (duh). // There's nothing special about this unmount, it's just doing a syscall under the hood. Unmount(mountPoint string) error }
A Mounter mounts fuse filesystems.
type Node ¶
type Node struct { File *pfs.File `protobuf:"bytes,1,opt,name=file" json:"file,omitempty"` RepoAlias string `protobuf:"bytes,2,opt,name=repo_alias,json=repoAlias,proto3" json:"repo_alias,omitempty"` Write bool `protobuf:"varint,3,opt,name=write,proto3" json:"write,omitempty"` Modified *google_protobuf1.Timestamp `protobuf:"bytes,5,opt,name=modified" json:"modified,omitempty"` }
func (*Node) Descriptor ¶
func (*Node) GetModified ¶
func (m *Node) GetModified() *google_protobuf1.Timestamp
func (*Node) GetRepoAlias ¶ added in v1.3.5
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
type Root ¶
type Root struct { Filesystem *Filesystem `protobuf:"bytes,1,opt,name=filesystem" json:"filesystem,omitempty"` Result *Node `protobuf:"bytes,2,opt,name=result" json:"result,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` }
func (*Root) Descriptor ¶
func (*Root) GetFilesystem ¶
func (m *Root) GetFilesystem() *Filesystem
func (*Root) ProtoMessage ¶
func (*Root) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.