package
0.0.0-20230301081111-79ba34714ab8
Repository: https://github.com/truecloudlab/frostfs-node.git
Documentation: pkg.go.dev
# Functions
IsErrNotFound checks if the error returned by Blobovnicza Get/Delete method corresponds to the missing object.
IterateAddresses is a helper function which iterates over Blobovnicza and passes addresses of the objects to f.
New creates and returns a new Blobovnicza instance.
NewIDFromBytes constructs an ID from a byte slice.
WithFullSizeLimit returns an option to set the maximum sum size of all stored objects.
WithLogger returns an option to specify Blobovnicza's logger.
WithObjectSizeLimit returns an option to specify the maximum size of the objects stored in Blobovnicza.
WithPath returns option to set system path to Blobovnicza.
WithPermissions returns an option to specify permission bits of Blobovnicza's system path.
WithReadOnly returns an option to open Blobovnicza in read-only mode.
# Variables
ErrFull is returned when trying to save an object to a filled blobovnicza.
# Structs
Blobovnicza represents the implementation of FrostFS Blobovnicza.
DeletePrm groups the parameters of Delete operation.
DeleteRes groups the resulting values of Delete operation.
GetPrm groups the parameters of Get operation.
GetRes groups the resulting values of Get operation.
IteratePrm groups the parameters of Iterate operation.
IterateRes groups the resulting values of Iterate operation.
IterationElement represents a unit of elements through which Iterate operation passes.
PutPrm groups the parameters of Put operation.
PutRes groups the resulting values of Put operation.
# Type aliases
ID represents Blobovnicza identifier.
IterationHandler is a generic processor of IterationElement.
Option is an option of Blobovnicza's constructor.