faasr_test | R Documentation |
Client tools for local tests Users can use local test by using both for Docker and local file system
faasr_test(
use_docker = list(use = FALSE, version = docker_default_version, image =
docker_default_image)
)
use_docker |
a list of docker configuration - use, version and image. |
return nothing / executes the FaaS
if (interactive()){
test <- faasr("test.json", "env")
test$faasr_test()
test$faasr_test(use_docker=list(use=TRUE, version="test", image="docker.io/test/test-docker:image"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.