Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct { Uploader Uploader CryptoUploader Uploader PublicURL string PublicBucket string VaultPath string VaultClient VaultClient // contains filtered or unexported fields }
Store provides file storage via S3.
type Uploader ¶
type Uploader interface { Upload(input *s3manager.UploadInput, options ...func(*s3manager.Uploader)) (*s3manager.UploadOutput, error) UploadWithPSK(input *s3manager.UploadInput, psk []byte) (*s3manager.UploadOutput, error) Session() *session.Session 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.