Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefinitionFileName = ".codectl.yaml"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Parameter ¶
type Parameter struct {
// Name of the parameter
Name string `yaml:"name"`
// Prompt is the text to be displayed when prompting
// the user for the parameter
Prompt string `yaml:"prompt"`
// Value of the parameter
Value string `yaml:"value"`
// Required indicates if the parameter is required
Required bool `yaml:"required"`
}
type Properties ¶
type Properties struct {
// Name of the template
Name string `yaml:"name"`
// Version of the template
Version string `yaml:"version"`
// Description of the template
Description string `yaml:"description"`
// Parameters is the list of parameters expected by the template
Parameters []Parameter `yaml:"parameters"`
// Dependencies is a list of the paths of the dependent templates that will be
// called with this one
Dependencies []string `yaml:"dependencies"`
}
Click to show internal directories.
Click to hide internal directories.