Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidTemplateName ¶
Types ¶
type Template ¶
type Template struct { // Template details Name string `json:"name"` ShortName string `json:"shortname"` Author string `json:"author"` Description string `json:"description"` HelpURL string `json:"helpurl"` Version int8 `json:"version"` // Other data FS fs.FS `json:"-"` }
Template holds data relating to a template including the metadata stored in template.yaml
type TemplateData ¶
func GetDefaultTemplates ¶
func GetDefaultTemplates() []TemplateData
Click to show internal directories.
Click to hide internal directories.