Documentation
¶
Overview ¶
Package generators contains all codes about the Intent generator mechanism. It is a feature about kusion that can make Kusion more general in generating Intent and decoupled with KCLVM. Any generator implements the generator interface can be integrated in Kusion operation workflow.
This mechanism is very meaningful to Kusion and makes the foundation to support other languages in the feature.
Index ¶
- func NewAppConfigurationGenerator(project *apiv1.Project, stack *apiv1.Stack, appName string, ...) (modules.Generator, error)
- func NewAppConfigurationGeneratorFunc(project *apiv1.Project, stack *apiv1.Stack, appName string, ...) modules.NewGeneratorFunc
- func NewNamespaceGenerator(ctx modules.GeneratorContext) (modules.Generator, error)
- func NewNamespaceGeneratorFunc(ctx modules.GeneratorContext) modules.NewGeneratorFunc
- func NewOrderedResourcesGenerator(multipleOrderedKinds ...[]string) (modules.Generator, error)
- func NewOrderedResourcesGeneratorFunc(multipleOrderedKinds ...[]string) modules.NewGeneratorFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewNamespaceGenerator ¶
func NewNamespaceGenerator(ctx modules.GeneratorContext) (modules.Generator, error)
func NewNamespaceGeneratorFunc ¶
func NewNamespaceGeneratorFunc(ctx modules.GeneratorContext) modules.NewGeneratorFunc
func NewOrderedResourcesGenerator ¶
NewOrderedResourcesGenerator returns a new instance of orderedResourcesGenerator.
func NewOrderedResourcesGeneratorFunc ¶
func NewOrderedResourcesGeneratorFunc(multipleOrderedKinds ...[]string) modules.NewGeneratorFunc
NewOrderedResourcesGeneratorFunc returns a function that creates a new orderedResourcesGenerator.
Types ¶
This section is empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.