FakeS3

class FakeS3(buckets: Storage<Unit> = Storage.InMemory(), bucketContent: Storage<BucketKeyContent> = Storage.InMemory(), clock: Clock = Clock.systemUTC()) : ChaoticHttpHandler

Global S3 operations (manage buckets)

Constructors

Link copied to clipboard
constructor(buckets: Storage<Unit> = Storage.InMemory(), bucketContent: Storage<BucketKeyContent> = Storage.InMemory(), clock: Clock = Clock.systemUTC())

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun invoke(request: Request): Response
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Convenience function to get an S3 client for bucket operations

Link copied to clipboard
fun s3Client(): S3

Convenience function to get an S3 client for global operations