raftutil

package
v0.12.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2020 License: MPL-2.0 Imports: 14 Imported by: 1

Documentation

Overview

Code generated by go generate; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FSMState

func FSMState(p string, plastIdx int64) (interface{}, error)

FSMState returns a dump of the FSM state as found in data-dir, as of lastIndx value

func LogEntries

func LogEntries(p string) (logs []interface{}, warnings []error, err error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL