Outputs a greeting
An example workflow of using the container in a workflow on Direktiv.
id: greeting
functions:
- id: greeting-function
image: vorteil/greeting:v2
states:
- id: Greet
type: action
action:
function: greeting-function
input:
name: jq(.person.name)
transform: 'jq({ greeting: .return.greeting })'
input:
name: "Trent"
{
"greeting": "Welcome to Serverless Workflow, Trent!"
}
In the case that an error is encountered, it will present in the following format:
{
"errorCode": "com.request.error",
"errorMsg": "Something went wrong"
}
Content type
Image
Digest
Size
2 MB
Last updated
about 5 years ago
docker pull vorteil/greeting