Deletes an object from the storage.
The path of the object to delete.
StorageError If the object cannot be deleted.
Ensures that the configured bucket exists.
This method is typically called during application startup to verify that the storage bucket is accessible. If the bucket does not exist, a bootstrap error is thrown.
Retrieves an object from the storage.
The path of the object to retrieve.
The object content as a Buffer.
StorageError If the object cannot be retrieved.
Stores an object in the storage.
The path to assign to the object.
The object content as a Buffer.
Custom headers to attach to the object.
StorageError If the object cannot be stored.
StaticregisterRegisters the storage as a singleton in the DI container.
The DI container to register in.
MinIO-based storage implementation.
Uses the official MinIO JavaScript client to interact with MinIO or any S3-compatible storage service.
See
Depends:
Example