Documentation ¶
Overview ¶
Code generated by go generate; DO NOT EDIT.
Index ¶
- func FSMState(p string, plastIdx int64) (interface{}, error)
- func FindFileInPath(file string, p string) (path string, err error)
- func FindRaftDir(p string) (raftpath string, err error)
- func FindRaftFile(p string) (raftpath string, err error)
- func LogEntries(p string) (logs []interface{}, warnings []error, err error)
- func RaftStateInfo(p string) (store *raftboltdb.BoltStore, firstIdx uint64, lastIdx uint64, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindFileInPath ¶ added in v1.0.0
FindFileInPath searches for file in path p
func FindRaftDir ¶ added in v1.0.0
FindRaftDir finds raft.db and returns parent directory path
func FindRaftFile ¶ added in v1.0.0
FindRaftFile finds raft.db and returns path
func LogEntries ¶
LogEntries returns the log entries as found in raft log in the passed data-dir directory
func RaftStateInfo ¶
func RaftStateInfo(p string) (store *raftboltdb.BoltStore, firstIdx uint64, lastIdx uint64, err error)
RaftStateInfo returns info about the nomad state, as found in the passed data-dir directory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.