snapshots

package
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL