Skip to main content

zuraffa_storage 7.6.1 copy "zuraffa_storage: ^7.6.1" to clipboard
zuraffa_storage: ^7.6.1 copied to clipboard

S3/MinIO storage capability for Zuraffa - MinioClient and the artifact-upload hooks (optional companion package; issue

example/README.md

zuraffa_storage #

MinIO-backed artifact storage for Zuraffa — a thin client plus upload hooks that persist generated artifacts to an S3/MinIO bucket.

Upload an artifact #

import 'package:zuraffa_storage/zuraffa_storage.dart';

Future<void> main() async {
  final client = MinioClient(
    endpoint: 'localhost:9000',
    accessKey: 'minioadmin',
    secretKey: 'minioadmin',
  );

  await client.uploadObject(
    bucket: 'artifacts',
    object: 'build/app.tar.gz',
    bytes: fileBytes,
  );
}

Persist artifacts via the upload hook #

import 'package:zuraffa_storage/zuraffa_storage.dart';

final hook = MinioUploadHook(client, bucket: 'artifacts');
await hook.onArtifact(artifact);
0
likes
160
points
1.55k
downloads

Documentation

API reference

Publisher

verified publisherzuraffa.com

Weekly Downloads

S3/MinIO storage capability for Zuraffa - MinioClient and the artifact-upload hooks (optional companion package; issue

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

logging, zuraffa, zuraffa_minio

More

Packages that depend on zuraffa_storage