Package dev.restate.sdk.testing
Class RestateRunner.Builder
java.lang.Object
dev.restate.sdk.testing.RestateRunner.Builder
- Enclosing class:
RestateRunner
Builder for
RestateRunner
.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withAdditionalEnv
(String key, String value) Add additional environment variables to the Restate container.withConfigFile
(String configFile) Mount a config file in the Restate container.withRestateContainerImage
(String restateContainerImage) Override the container image to use for the Restate runtime.
-
Method Details
-
withRestateContainerImage
Override the container image to use for the Restate runtime. -
withAdditionalEnv
Add additional environment variables to the Restate container. -
withConfigFile
Mount a config file in the Restate container. -
build
- Returns:
- a
RestateRunner
to start and stop the test infra manually.
-