Class MinioDevServicesBuildTimeConfig
- java.lang.Object
-
- io.quarkiverse.minio.client.deployment.devservices.MinioDevServicesBuildTimeConfig
-
public class MinioDevServicesBuildTimeConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description StringaccessKeyMinio root username access key.Optional<Boolean>enabledEnable or disable Dev Services explicitly.StringimageNameThe Minio container image to use.Optional<Integer>portOptional fixed port the dev service will listen to.StringsecretKeyMinio root username secret key.StringserviceNameThe value of thequarkus-dev-service-miniolabel attached to the started container.booleansharedIndicates if the Minio server managed by Quarkus Dev Services is shared.
-
Constructor Summary
Constructors Constructor Description MinioDevServicesBuildTimeConfig()
-
-
-
Field Detail
-
enabled
@ConfigItem public Optional<Boolean> enabled
Enable or disable Dev Services explicitly. Dev Services are automatically enabled unlessquarkus.minio.urlis set.
-
port
@ConfigItem public Optional<Integer> port
Optional fixed port the dev service will listen to.If not defined, the port will be chosen randomly.
-
imageName
@ConfigItem(defaultValue="minio/minio:RELEASE.2022-10-08T20-11-00Z") public String imageName
The Minio container image to use.
-
shared
@ConfigItem(defaultValue="true") public boolean shared
Indicates if the Minio server managed by Quarkus Dev Services is shared. When shared, Quarkus looks for running containers using label-based service discovery. If a matching container is found, it is used, and so a second one is not started. Otherwise, Dev Services for Minio starts a new container.The discovery uses the
quarkus-dev-service-miniolabel. The value is configured using theservice-nameproperty.Container sharing is only used in dev mode.
-
serviceName
@ConfigItem(defaultValue="minio") public String serviceName
The value of thequarkus-dev-service-miniolabel attached to the started container. This property is used whensharedis set totrue. In this case, before starting a container, Dev Services for Minio looks for a container with thequarkus-dev-service-miniolabel set to the configured value. If found, it will use this container instead of starting a new one. Otherwise, it starts a new container with thequarkus-dev-service-miniolabel set to the specified value.This property is used when you need multiple shared Minio servers.
-
accessKey
@ConfigItem(defaultValue="minioaccess") public String accessKey
Minio root username access key.
-
secretKey
@ConfigItem(defaultValue="miniosecret") public String secretKey
Minio root username secret key.
-
-