S3Store class

Use an AWS S3 Bucket as a package store

Constructors

S3Store.new(String bucketName, {String? region, String getObjectPath(String name, String version)?, String? endpoint, AwsCredentials? credentials, Minio? minio, Map<String, String>? environment})

Properties

bucketName String
getter/setter pair
credentials AwsCredentials?
getter/setter pair
endpoint String?
getter/setter pair
environment Map<String, String>?
getter/setter pair
getObjectPath String Function(String name, String version)?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
minio ↔ Minio?
getter/setter pair
region String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
supportsDownloadUrl bool
getter/setter pairinherited

Methods

download(String name, String version) Stream<List<int>>
downloadUrl(String name, String version) FutureOr<String>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
upload(String name, String version, List<int> content) Future<void>

Operators

operator ==(Object other) bool
The equality operator.
inherited