package
0.0.0-20230301081111-79ba34714ab8
Repository: https://github.com/truecloudlab/frostfs-node.git
Documentation: pkg.go.dev
# Functions
ContainerSize calls ContainerSize method on engine to calculate sum of estimation container sizes among all shards.
Get reads object from local storage by provided address.
GetRange reads object payload range from local storage by provided address.
Head reads object header from local storage by provided address.
HeadRaw reads object header from local storage by provided address and raw flag.
List returns `limit` available physically storage object addresses in engine.
ListContainers calls ListContainers method on engine to get a unique container IDs presented in the engine objects.
New creates, initializes and returns new StorageEngine instance.
Put writes provided object to local storage.
Select selects objects from local storage using provided filters.
WithErrorThreshold returns an option to specify size amount of errors after which shard is moved to read-only mode.
WithLogger returns option to set StorageEngine's logger.
No description provided by the author
WithShardPoolSize returns option to specify size of worker pool for each shard.
# Variables
ErrEndOfListing is returned from an object listing with cursor when the storage can't return any more objects after the provided cursor.
# Structs
ContainerSizePrm groups parameters of ContainerSize operation.
ContainerSizeRes resulting values of ContainerSize operation.
Cursor is a type for continuous object listing.
DeletePrm groups the parameters of Delete operation.
DeleteRes groups the resulting values of Delete operation.
EvacuateShardPrm represents parameters for the EvacuateShard operation.
EvacuateShardRes represents result of the EvacuateShard operation.
FlushWriteCachePrm groups the parameters of FlushWriteCache operation.
FlushWriteCacheRes groups the resulting values of FlushWriteCache operation.
GetPrm groups the parameters of Get operation.
GetRes groups the resulting values of Get operation.
HeadPrm groups the parameters of Head operation.
HeadRes groups the resulting values of Head operation.
Info groups the information about StorageEngine.
InhumePrm encapsulates parameters for inhume operation.
InhumeRes encapsulates results of inhume operation.
ListContainersPrm groups parameters of ListContainers operation.
ListContainersRes groups the resulting values of ListContainers operation.
ListWithCursorPrm contains parameters for ListWithCursor operation.
ListWithCursorRes contains values returned from ListWithCursor operation.
PutPrm groups the parameters of Put operation.
PutRes groups the resulting values of Put operation.
No description provided by the author
RngPrm groups the parameters of GetRange operation.
RngRes groups the resulting values of GetRange operation.
SelectPrm groups the parameters of Select operation.
SelectRes groups the resulting values of Select operation.
StorageEngine represents FrostFS local storage engine.
# Interfaces
No description provided by the author
# Type aliases
Option represents StorageEngine's constructor option.