Interface MinioAccess

All Known Implementing Classes:
MinioContainer

public interface MinioAccess
Provides access to Minio via a preconfigured S3 client and providing the by default randomized bucket and access/secret keys.

Annotate JUnit test instance or static fields or method parameters of this type with Minio.

  • Method Details

    • hostPort

      String hostPort()
      Host and port, separated by ':'.
    • accessKey

      String accessKey()
    • secretKey

      String secretKey()
    • bucket

      String bucket()
    • s3endpoint

      String s3endpoint()
      HTTP protocol endpoint.
    • s3Client

      software.amazon.awssdk.services.s3.S3Client s3Client()
    • icebergProperties

      Map<String,String> icebergProperties()
      Properties needed by Apache Iceberg to access this instance.
    • hadoopConfig

      Map<String,String> hadoopConfig()
      Properties needed by Apache Hadoop to access this instance.
    • s3BucketUri

      URI s3BucketUri(String path)
      S3 scheme URI including the bucket to access the given path.
    • s3put

      default void s3put(String key, software.amazon.awssdk.core.sync.RequestBody body)
      Convenience method to put an object into S3.