Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyDependentModules ¶ added in v0.12.0
CopyDependentModules copies dependent Kusion modules' generators to destination.
Types ¶
type DefaultGenerator ¶
type DefaultGenerator struct { Project *v1.Project Stack *v1.Stack Workspace *v1.Workspace Runner run.CodeRunner }
DefaultGenerator is the default Generator implementation.
type Generator ¶
type Generator interface { // Generate creates versioned Intent given working directory and a set of parameters Generate(workDir string, params map[string]string) (*v1.Spec, error) }
Generator is an interface for things that can generate versioned Spec from configuration code under current working directory with given input parameters.
Click to show internal directories.
Click to hide internal directories.