Documentation
¶
Index ¶
- func FuseMount(mountpoint string)
- func StartRaftServer(me string, path string, lead bool, peers []string)
- type Dir
- func (d *Dir) Add(name string, n fs.Node)
- func (d *Dir) Create(req *fuse.CreateRequest, resp *fuse.CreateResponse, intr fs.Intr) (fs.Node, fs.Handle, fuse.Error)
- func (d *Dir) Lookup(name string, intr fs.Intr) (fs fs.Node, err fuse.Error)
- func (d *Dir) Mkdir(req *fuse.MkdirRequest, intr fs.Intr) (n fs.Node, ferr fuse.Error)
- func (d *Dir) ReadDir(intr fs.Intr) ([]fuse.Dirent, fuse.Error)
- func (d *Dir) Remove(req *fuse.RemoveRequest, intr fs.Intr) fuse.Error
- func (d *Dir) Rename(req *fuse.RenameRequest, newDir fs.Node, intr fs.Intr) fuse.Error
- func (d *Dir) Rm(name string)
- type File
- type Node
- type RootDir
- type StateMachine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StateMachine ¶
type StateMachine struct{}
func (*StateMachine) Recovery ¶
func (s *StateMachine) Recovery(bs []byte) error
func (*StateMachine) Save ¶
func (s *StateMachine) Save() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.