Categorygithub.com/hashicorp/raft-snapshot
modulepackage
1.0.4
Repository: https://github.com/hashicorp/raft-snapshot.git
Documentation: pkg.go.dev

# README

raft-snapshot

# Functions

New takes a state snapshot of the given Raft instance into a temporary file and returns an object that gives access to the file as an io.Reader.
No description provided by the author
Parse reads the snapshot from the input reader, decompresses it, and pipes the binary data to the output writer.
Restore takes the snapshot from the reader and attempts to apply it to the given Raft instance.
No description provided by the author
Verify takes the snapshot from the reader and verifies its contents.
Write takes a state snapshot of the given Raft instance into w.
No description provided by the author
No description provided by the author

# Structs

Snapshot is a structure that holds state about a temporary file that is used to hold a snapshot.

# Interfaces

Sealer is used to seal and open the SHASUM file inside the archive.