Templates

The template is a description of a resource in the system.

id: template-id                       # string
name: template-name                   # string
metadata:                             # map<string, string>
    key1: value1
    key2: value2
labels:                               # list of strings
    - label1
    - label2
    - label3
kind: template-kind                   # below template kinds

Kinds

Envv

id: envv-id      
name: envv-global
metadata:              
    description: global envv
labels:                     
    - enf.global
kind: envv
envv:
    - "df.myint:randomInt(1,2)"
    - "df.myseq:sequenceInt(10,100)"
    - "df.mystr:randomString(3,5)"
    - "df.mybool:randomBool()"
    - "df.myenum:randomList(ignore,success,fail)"
    - "df.randomTimeoutMs:randomInt(100,5000)"

Config

FSM

Messages

Checks

Tests

Settings

Flow

A Flow must contain all of the above templates kinds, can be either specifically configure each section or use template blocks, or both.

Flow Using Template Refs

Flow Statically Configured

Flow Statically Configured Using Refs

A flow template can also use refs only on specific kinds and the rest as statically confiugred.

Last updated