examples/

directory
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2020 License: BSD-3-Clause

README

Examples

Template

You can find template examples under templates directory.

To begin, we introduce the hello-world-now.yaml. Here's a (contrived) example of a task template, showcasing many of its capabilities. A description of each property is provided below.

The hello-world-now template takes in a language input parameter, which admits two possible values, and adopts its default value if no input is provided. The first step of the task is an external API call to retrieve the current UTC time. A second step waits for completion of the first step, then prints out a message conditioned by the input parameter. A final result is built from the output of both steps and shown to the task's requester.

Plugin

You can find plugin examples under plugins directory.

  • init: example plugin that will start at uTask boot, and will configure a custom authentication system.

Directories

Path Synopsis
plugins

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL