Documentation ¶
Index ¶
- func CreateStages(target, tmplRoot string) []stage.Stage
- func CreateStagesByTemplateSpec(target string, factory generator.Factory, spec model.TemplateSepc, ...) (stage.Stage, error)
- func LoadBuildinLayoutSpec() (*model.TemplateLayoutConfig, error)
- func LoadLayoutSpec(path string) (*model.TemplateLayoutConfig, error)
- func ParseBuildinStages(target string) ([]stage.Stage, error)
- func ParseStages(target, tmplRoot string) ([]stage.Stage, error)
- type ProjectGenerator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateStages ¶
func CreateStagesByTemplateSpec ¶
func CreateStagesByTemplateSpec(target string, factory generator.Factory, spec model.TemplateSepc, all []model.TemplateSepc) (stage.Stage, error)
func LoadBuildinLayoutSpec ¶
func LoadBuildinLayoutSpec() (*model.TemplateLayoutConfig, error)
func LoadLayoutSpec ¶
func LoadLayoutSpec(path string) (*model.TemplateLayoutConfig, error)
Types ¶
type ProjectGenerator ¶
type ProjectGenerator struct {
// contains filtered or unexported fields
}
func NewProjectGenerator ¶
func NewProjectGenerator(stages []stage.Stage) *ProjectGenerator
Click to show internal directories.
Click to hide internal directories.