|
8 | 8 | class MinioContainer(DockerContainer):
|
9 | 9 | """
|
10 | 10 | The example below spins up an Minio container and creates a new bucket in it.
|
11 |
| - Furthermore, it demonstrates how an object is written to this bucket and then subsequently retrieved. |
| 11 | + Furthermore, it demonstrates how an object is written to this bucket and |
| 12 | + then subsequently retrieved. |
12 | 13 | The method :code:`get_client` can be used to create a client for the Minio Python API.
|
13 | 14 | The method :code:`get_config` can be used to retrieve the endpoint, access key
|
14 | 15 | and secret key of the container.
|
@@ -44,9 +45,12 @@ def __init__(
|
44 | 45 | Args:
|
45 | 46 | image (str, optional): The Docker image to use for the Minio container.
|
46 | 47 | Defaults to "minio/minio:RELEASE.2022-12-02T19-19-22Z".
|
47 |
| - port_to_expose (int, optional): The port to expose on the container. Defaults to 9000. |
48 |
| - access_key (str, optional): The access key for client connections. Defaults to "minioadmin". |
49 |
| - secret_key (str, optional): The secret key for client connections. Defaults to "minioadmin". |
| 48 | + port_to_expose (int, optional): The port to expose on the container. |
| 49 | + Defaults to 9000. |
| 50 | + access_key (str, optional): The access key for client connections. |
| 51 | + Defaults to "minioadmin". |
| 52 | + secret_key (str, optional): The secret key for client connections. |
| 53 | + Defaults to "minioadmin". |
50 | 54 | """
|
51 | 55 | super(MinioContainer, self).__init__(image, **kwargs)
|
52 | 56 | self.port_to_expose = port_to_expose
|
|
0 commit comments