Documentation ¶
Overview ¶
Package snapshot implements utilities around etcd snapshot.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Save ¶
Save fetches snapshot from remote etcd server and saves data to target path. If the context "ctx" is canceled or timed out, snapshot save stream will error out (e.g. context.Canceled, context.DeadlineExceeded). Make sure to specify only one endpoint in client configuration. Snapshot API must be requested to a selected node, and saved snapshot is the point-in-time state of the selected node.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.