Documentation ¶
Index ¶
Constants ¶
View Source
const ( EngineComponent = "template-engine" EngineInPort = "input" EngineSettingsPort = "settings" EngineOutPort = "output" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func (*Engine) GetInfo ¶
func (h *Engine) GetInfo() module.ComponentInfo
type Input ¶
type Input struct { Context Context `` /* 159-byte string literal not displayed */ RenderContext RenderContext `` /* 150-byte string literal not displayed */ Template string `json:"template" required:"true" title:"Template" description:"Template to render" propertyOrder:"3"` }
type Output ¶
type Output struct { Context Context `json:"context"` RenderContext RenderContext `json:"renderContext"` Content string `json:"content"` }
type RenderContext ¶
type RenderContext any
Click to show internal directories.
Click to hide internal directories.