MinioService class
Service for accessing a MinIO object storage.
Configuration:
endpoint
- MinIO API endpointport
- MinIO API port (default 9000)accessKey
- MinIO access keysecretKey
- MinIO secret keyuseSsl
- Use SSL connection (default false)region
- Override region cache (Optional)sessionToken
- x-amz-security-token (AWS S3 specific) (Optional)enableTrace
- Enable tracing (default false)
- Inheritance
-
- Object
- BaseService
- S3Service
- MinioService
Constructors
Properties
- configPath → ConfigPath?
-
finalinherited
- environment → Environment
-
Fetch the environment configuration from ConfigService.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
bucketExists(
String bucket) → Future< bool> -
override
-
config<
T> (String path) → T -
Fetches a configuration value from ConfigService.
inherited
-
configObject<
T extends TransferObjectBase> (String path, TransferBean< T> bean) → T -
Fetches a configuration value from ConfigService and parse it into the
TransferObject.
inherited
-
getObject(
String bucket, String object) → Future< void> -
override
-
initialize(
) → Future< void> -
override
-
listBuckets(
) → Future< List< Bucket> > -
override
-
listObjects(
String bucket, [String? prefix, bool recursive = false]) → Stream< ListObjectsResult> -
override
-
makeBucket(
String bucket, [String? region]) → Future< void> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
putObject(
String bucket, String object, Stream< List< data, {int? size, int? chunkSize, Map<int> >String, String> ? metadata, void onProgress(int)?}) → Future<String> -
override
-
removeBucket(
String bucket) → Future< void> -
override
-
removeObject(
String bucket, String object) → Future< void> -
override
-
removeObjects(
String bucket, List< String> objects) → Future<void> -
override
-
shutdown(
) → Future< void> -
inherited
-
statObject(
String bucket, String object) → Future< StatObjectResult> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited