package
0.13.0
Repository: https://github.com/kusionstack/kusion.git
Documentation: pkg.go.dev

# Packages

Package generators contains all codes about the Spec generator mechanism.
No description provided by the author

# Functions

AppendToSpec adds a Kubernetes resource to the Spec resources slice.
CallGeneratorFuncs calls each NewGeneratorFunc in the given slice and returns a slice of Generator instances.
CallGenerators calls the Generate method of each Generator instance returned by the given NewGeneratorFuncs.
ForeachOrdered executes the given function on each item in the map in order of their keys.
GenericPtr returns a pointer to the provided value.
KubernetesResourceID returns the unique ID of a Kubernetes resource based on its type and metadata.
KusionPathDependency returns the implicit resource dependency path based on the resource id and name with the "$kusion_path" prefix.
MergeMaps merges multiple map[string]string into one map[string]string.
No description provided by the author
No description provided by the author
PatchResource patches the resource with the given patch.
No description provided by the author
UniqueAppLabels returns a map of labels that identify an app based on its project and name.
UniqueAppName returns a unique name for a workload based on its project and app name.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

HandshakeConfig is a common handshake that is shared by plugin and host.
IgnoreModules todo@dayuan delete this condition after workload is changed into a module.
PluginMap is the map of plugins we can dispense.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

Generator is an interface for things that can generate Intent from input configurations.
Module is the interface that we're exposing as a kusion module plugin.

# Type aliases

NewGeneratorFunc is a function that returns a Generator.