package
Version:
v0.6.1
Opens a new window with list of versions in this module.
Published: Jul 26, 2019
License: MIT
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Amazon S3 blobstore
Using localstack for local development
- Install awscli from [here][https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html]
- Install localstack from [here][https://github.com/localstack/localstack#installing]
- Launch localstack with
SERVICES=s3 localstack start
- Create a bucket using
aws --endpoint-url=http://localhost:4572 s3 mb s3://cadence-development
- Configure archival with the following configuration
archival:
status: "enabled"
enableReadFromArchival: true
defaultBucket: "cadence-development"
s3store:
region: "us-east-1"
endpoint: "http://127.0.0.1:4572"
s3ForcePathStyle: true
Documentation
¶
ClientFromConfig create client from config
NewClient returns a new Client backed by S3
type Config struct {
Region string `yaml:"region"`
Endpoint *string `yaml:"endpoint"`
S3ForcePathStyle bool `yaml:"s3ForcePathStyle"`
}
Config describes the configuration needed to construct a blobstore client backed by S3
Validate validates config
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.