NewStowRawStore
No overview available.
def NewStowRawStore(
baseContainerFQN: DataReference,
loc: stow.Location,
signedURLLoc: stow.Location,
enableDynamicContainerLoading: bool,
metrics: *dataStoreMetrics
) - > *StowStore, error
Initializes and returns a new StowStore instance, configuring it with the provided storage locations and metrics. This function sets up the necessary components for interacting with a stow-based data store.
Parameters
| Name | Type | Description |
|---|---|---|
| baseContainerFQN | DataReference | The fully qualified name of the base container that this StowStore will operate within. |
| loc | stow.Location | The stow.Location object representing the primary storage location for the raw store. |
| signedURLLoc | stow.Location | The stow.Location object used for generating signed URLs, if applicable. |
| enableDynamicContainerLoading | bool | A boolean flag indicating whether dynamic container loading is enabled for this store. |
| metrics | *dataStoreMetrics | A pointer to the dataStoreMetrics struct for collecting and reporting metrics related to data store operations. |
Returns
| Type | Description |
|---|---|
*StowStore, error | A pointer to the initialized StowStore instance and an error if the base container cannot be loaded. |