Class RestateRunner.Builder

java.lang.Object
dev.restate.sdk.testing.RestateRunner.Builder
Enclosing class:
RestateRunner

public static class RestateRunner.Builder extends Object
Builder for RestateRunner.
See Also:
  • Method Details

    • withRestateContainerImage

      public RestateRunner.Builder withRestateContainerImage(String restateContainerImage)
      Override the container image to use for the Restate runtime.
    • withAdditionalEnv

      public RestateRunner.Builder withAdditionalEnv(String key, String value)
      Add additional environment variables to the Restate container.
    • withConfigFile

      public RestateRunner.Builder withConfigFile(String configFile)
      Mount a config file in the Restate container.
    • build

      public RestateRunner build()
      Returns:
      a RestateRunner to start and stop the test infra manually.