Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindNearestSnapshotBundleIdByHeight ¶
func FindNearestSnapshotBundleIdByHeight(restEndpoint string, poolId int64, targetHeight int64) (snapshotBundleId int64, snapshotHeight int64, err error)
FindNearestSnapshotBundleIdByHeight takes a targetHeight and returns the bundle id with the according snapshot height of the available snapshot. If no complete snapshot is available at the targetHeight this method returns the bundleId and snapshotHeight of the nearest snapshot below the targetHeight.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.