faasr_test: faasr_test

View source: R/faasr_test.R

faasr_testR Documentation

faasr_test

Description

Client tools for local tests Users can use local test by using both for Docker and local file system

Usage

faasr_test(
  use_docker = list(use = FALSE, version = docker_default_version, image =
    docker_default_image)
)

Arguments

use_docker

a list of docker configuration - use, version and image.

Value

return nothing / executes the FaaS

Examples

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"))
}

FaaSr documentation built on June 22, 2024, 9:38 a.m.