Sign inSign up

vorteil/greeting

By vorteil

Updated about 5 years ago

Image
0

4.9K

vorteil/greeting repository overview

Greeting

Outputs a greeting

Direktiv

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

input:
  name: "Trent"

Output

{
    "greeting": "Welcome to Serverless Workflow, Trent!"
}

Error

In the case that an error is encountered, it will present in the following format:

{
    "errorCode": "com.request.error",
    "errorMsg": "Something went wrong"
}

Tag summary

Content type

Image

Digest

Size

2 MB

Last updated

about 5 years ago

docker pull vorteil/greeting