Interface TestConfig.Container

Enclosing interface:
TestConfig

public static interface TestConfig.Container
  • Method Summary

    Modifier and Type
    Method
    Description
    Set additional ports to be exposed when @QuarkusIntegration needs to launch the application in a container.
    A set of labels to add to the launched container
    Controls the container network to be used when @QuarkusIntegration needs to launch the application in a container.
    A set of volume mounts to add to the launched container
  • Method Details

    • network

      Optional<String> network()
      Controls the container network to be used when @QuarkusIntegration needs to launch the application in a container. This setting only applies if Quarkus does not need to use a shared network - which is the case if DevServices are used when running the test.
    • additionalExposedPorts

      @ConfigDocMapKey("host-port") Map<String,String> additionalExposedPorts()
      Set additional ports to be exposed when @QuarkusIntegration needs to launch the application in a container.
    • labels

      @ConfigDocMapKey("label-name") Map<String,String> labels()
      A set of labels to add to the launched container
    • volumeMounts

      @ConfigDocMapKey("host-path") Map<String,String> volumeMounts()
      A set of volume mounts to add to the launched container