layout

package
v0.0.0-...-ed04d52 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateStages

func CreateStages(target, tmplRoot string) []stage.Stage

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)

func ParseBuildinStages

func ParseBuildinStages(target string) ([]stage.Stage, error)

func ParseStages

func ParseStages(target, tmplRoot string) ([]stage.Stage, error)

Types

type ProjectGenerator

type ProjectGenerator struct {
	// contains filtered or unexported fields
}

func NewProjectGenerator

func NewProjectGenerator(stages []stage.Stage) *ProjectGenerator

func (*ProjectGenerator) Layout

func (g *ProjectGenerator) Layout(model *model.ModelData) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL