Class AbstractContainerConfig
java.lang.Object
io.quarkus.observability.common.config.AbstractContainerConfig
- All Implemented Interfaces:
ContainerConfig
- Direct Known Subclasses:
AbstractGrafanaConfig
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractContainerConfig(String imageName) AbstractContainerConfig(String imageName, boolean shared) -
Method Summary
Modifier and TypeMethodDescriptionbooleanenabled()If DevServices has been explicitly enabled or disabled.The container image name to use, for container based DevServices providers.label()The full name of the label attached to the started container.Network aliases.The value of thequarkus-dev-servicelabel attached to the started container.booleanshared()Indicates if the container managed by Quarkus Dev Services is shared.
-
Constructor Details
-
AbstractContainerConfig
-
AbstractContainerConfig
-
-
Method Details
-
enabled
public boolean enabled()Description copied from interface:ContainerConfigIf DevServices has been explicitly enabled or disabled. DevServices is generally enabled by default, unless there is an existing configuration present.When DevServices is enabled Quarkus will attempt to automatically configure and start a containers when running in Dev or Test mode and when Docker is running.
- Specified by:
enabledin interfaceContainerConfig
-
imageName
Description copied from interface:ContainerConfigThe container image name to use, for container based DevServices providers.Ignored for the config doc here as a more precise value will be defined in subinterfaces.
- Specified by:
imageNamein interfaceContainerConfig
-
networkAliases
Description copied from interface:ContainerConfigNetwork aliases.Ignored for the config doc here as a more precise value will be defined in subinterfaces.
- Specified by:
networkAliasesin interfaceContainerConfig
-
label
Description copied from interface:ContainerConfigThe full name of the label attached to the started container. This label is used whensharedis set totrue. In this case, before starting a container, Dev Services for looks for a container with th label 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 this label set to the specified value.This property is used when you need multiple shared containers.
Ignored for the config doc here as a more precise value will be defined in subinterfaces.
- Specified by:
labelin interfaceContainerConfig
-
serviceName
Description copied from interface:ContainerConfigThe value of thequarkus-dev-servicelabel attached to the started container. This property is used whensharedis set totrue. In this case, before starting a container, Dev Services for looks for a container with thequarkus-dev-servicelabel 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-servicelabel set to the specified value.This property is used when you need multiple shared containers.
- Specified by:
serviceNamein interfaceContainerConfig
-