template

Synopsys

template {
    # Go Template content
    # 
    # set inline content, a path or an url to the template content
    # 
    # Go template : https://golang.org/pkg/html/template/
    location => "test.tpl"

}

Available settings

Setting Type Info Default value
location location required ""
var hash {}
target string "output"

Common Options

Details

location

  • This is a required setting
  • Value type is location
  • Default value is ""
  • Go Template content

    set inline content, a path or an url to the template content

    Go template : https://golang.org/pkg/html/template/

    var

  • Value type is hash
  • Default value is {}
  • You can set variable to be used in template by using ${var}. each reference will be replaced by the value of the variable found in Template’s content The replacement is case-sensitive.

    target

  • Value type is string
  • Default value is "output"
  • Define the target field for placing the template execution result. If this setting is omitted, the data will be stored in the “output” field

    Full configuration blueprint

    Expand me...