Documentation ¶
Overview ¶
Package clisnapshot provides access for our CLI commands to create and restore snapshots
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadSnapshot ¶
ReadSnapshot stages a snapshot for restore from the provided reader, and sends an exit signal to the server if 'exit' is true. Cancelling the context will prematurely cancel the snapshot restore. This may result in a partial restore from the reader being staged.
func WriteSnapshot ¶
WriteSnapshot requests a snapshot from the client and writes it to the provided writer. Cancelling the context will prematurely cancel the snapshot. This may result in partial writes to the writer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.