generators

package
v0.9.1-rc Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: Apache-2.0 Imports: 16 Imported by: 1

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppConfigurationGenerator

func NewAppConfigurationGenerator(
	project *project.Project,
	stack *stack.Stack,
	app *inputs.AppConfiguration,
	appName string,
) (modules.Generator, error)

func NewAppConfigurationGeneratorFunc

func NewAppConfigurationGeneratorFunc(
	project *project.Project,
	stack *stack.Stack,
	appName string,
	app *inputs.AppConfiguration,
) modules.NewGeneratorFunc

func NewNamespaceGenerator

func NewNamespaceGenerator(projectName string) (modules.Generator, error)

func NewNamespaceGeneratorFunc

func NewNamespaceGeneratorFunc(projectName string) modules.NewGeneratorFunc

func NewOrderedResourcesGenerator

func NewOrderedResourcesGenerator(multipleOrderedKinds ...[]string) (modules.Generator, error)

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.

Directories

Path Synopsis
accessories

Jump to

Keyboard shortcuts

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