Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFromDownloadService ¶
func NewFromDownloadService(client DownloadServiceAPIClient) downloadService
func NewFromEmbeddedFilesystem ¶
func NewFromEmbeddedFilesystem() embeddedfs
func NewFromLocalFilesystem ¶
func NewFromS3Bucket ¶
func NewFromS3Bucket(s3bucket S3Bucket) s3
Types ¶
type Provider ¶
type Provider interface { Get(context.Context, string) (io.ReadCloser, error) Checker() func(context.Context, *healthcheck.CheckState) error }
type S3Bucket ¶
type S3Bucket interface { Get(key string) (io.ReadCloser, *int64, error) Checker(ctx context.Context, state *healthcheck.CheckState) (err error) }
S3Bucket defines methods used from dp-s3 lib - init points to a specific bucket
Click to show internal directories.
Click to hide internal directories.