awsstore

package
v0.45.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package awsstore constructs the AWS-backed store.Store and blob.Store implementations from resolved configuration. It is the one place the AWS credential/endpoint machinery lives, so the config package stays SDK-free and the entrypoints select a backend without touching the SDK directly. Nothing here runs on the local/demo path -- it is reached only when a DynamoDB table or S3 bucket is configured.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dynamo

func Dynamo(ctx context.Context, table, endpoint string) (store.Store, error)

Dynamo builds a DynamoDB-backed document store over table. Region and credentials come from the standard AWS environment; a non-empty endpoint overrides the service endpoint (DynamoDB Local in dev/tests).

func S3

func S3(ctx context.Context, bucket, endpoint string) (blob.Store, error)

S3 builds an S3-compatible blob store over bucket. A non-empty endpoint overrides the service endpoint and switches on path-style addressing (MinIO and other S3-compatibles in dev/tests).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL