go-ceph/internal
Sven Anderson e01eb03284 retry: add a helper lib for retrying common operations
Our first operation is generating sizes for various caller-allocated
buffers.  The WithSizes function "suggests" sizes to an anonymous
function that takes a size as an argument and returns a hint how
sucessful the attempt was.  If required the same function is called
again with a larger size.  Errors and other results of that anonymous
function are "communicated" with variables of the surrounding scope
in wich the function is defined.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
Signed-off-by: Sven Anderson <sven@redhat.com>
2020-04-20 15:08:36 -04:00
..
callbacks callbacks: create a helper type for managing callbacks between C and Go 2020-03-04 08:10:48 -05:00
errutil errutil: move errutil pkg into internal subdir 2020-03-10 08:41:44 +01:00
retry retry: add a helper lib for retrying common operations 2020-04-20 15:08:36 -04:00