Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct { Uploader *s3client.Client PrivateUploader *s3client.Client PublicURL string PublicBucket string // contains filtered or unexported fields }
Store provides file storage via S3.
type Uploader ¶
type Uploader interface { Upload(ctx context.Context, input *s3.PutObjectInput, options ...func(*manager.Uploader)) (*manager.UploadOutput, error) Config() aws.Config BucketName() string Checker(ctx context.Context, state *healthcheck.CheckState) error }
Uploader represents the methods required to upload to s3 with and without encryption
type VaultClient ¶
VaultClient is an interface to represent methods called to action upon vault
Click to show internal directories.
Click to hide internal directories.