package
0.0.0-20170104014118-c5655c46b426
Repository: https://github.com/clusterhq/fli.git
Documentation: pkg.go.dev
# Functions
CheckSnapConflict ...
CheckVSConflict checks and returns action code for sync based on the set of volume set objects Conflicts for snapshots and volumeset metadata are resolved as the following: init == target current == init target == current state action true||false true||false true tgt won't change none true false false update use current false false false conflict use tgt, report conflict false true false tgt data changed use tgt but not current's for the purpose of one-way sync no action is the same as 'use tgt'.
Do syncs the volumeset between the metadata stores.
IsStopIteration is the preferred way to detect the StopIteration error case.
NewBranchSnapshotIterator returns an iterator over all of the snapshots which are in the history of a specified branch, starting at the tip and proceeding to the root.
NewFilterSnapshotIterator returns an iterator over all of the snapshots which are in the history of a specified branch, starting at the tip and proceeding to the root.
NewLazyLoadSnapshotIterator returns an iterator over all of the snapshots which are in the history of a specified branch, starting at the tip and proceeding to the root.
NewObjects is a function that ensures that the target storage contains a volumeset with the same ID as sourceVolumeSet and that all metadata in sourceVolumeSet is also present in the target volumeset.
NewSnapshotIterator returns an iterator over all of the snapshots in a volumeset, starting at the root and proceeding depth-first out to the branch tips.
PullDataForAllSnapshots retrieves all blobs missing on target which source is willing to provide.
PullDataForCertainSnapshots retrieves the blobs associated with any of the specified snapshots which are missing on target and which source is willing to provide.
PullDataForQualifyingSnapshots downloads all blobs associated with snapshots allowed by a given predicate and which the source is willing to send.
PushDataForAllSnapshots sends all blobs available in source which target is willing to take.
PushDataForCertainSnapshots sends the blobs associated any of the specified snapshots which the target is willing to take.
PushDataForQualifyingSnapshots sends all blobs associated with snapshots allowed by a given predicate and which the target is willing to take.
ToSlice returns a slice of snapshots containing all of the snapshots produced by a SnapshotIterator, in the order they are produced.
# Structs
No description provided by the author
HistoryDivergedError is an error reported when a branch can not be synchronized because its histories (snapshot chains) in repositories has diverged.
No description provided by the author
MetaConflicts - list of conflicts for vs, snaps, branches.
No description provided by the author
# Interfaces
BlobAccepter is an entity which can negotiate about which blob diffs it would like to receive.
BlobSpewer is an entity which can negotiate about which blob diffs it is willing to transmit.
Error is an interface for synchronization errors that can be returned by the functions in this package.
No description provided by the author
# Type aliases
No description provided by the author