Versions in this module Expand all Collapse all v0 v0.8.1 Dec 12, 2025 v0.8.0 Dec 2, 2025 Changes in this version + var DefaultBlueprint = blueprintv1alpha1.Blueprint + type BaseBlueprintHandler struct + func NewBlueprintHandler(rt *runtime.Runtime, artifactBuilder artifact.Artifact, ...) (*BaseBlueprintHandler, error) + func (b *BaseBlueprintHandler) Generate() *blueprintv1alpha1.Blueprint + func (b *BaseBlueprintHandler) GetLocalTemplateData() (map[string][]byte, error) + func (b *BaseBlueprintHandler) GetTerraformComponents() []blueprintv1alpha1.TerraformComponent + func (b *BaseBlueprintHandler) LoadBlueprint(blueprintURL ...string) error + func (b *BaseBlueprintHandler) Write(overwrite ...bool) error + type BlueprintHandler interface + Generate func() *blueprintv1alpha1.Blueprint + GetLocalTemplateData func() (map[string][]byte, error) + GetTerraformComponents func() []blueprintv1alpha1.TerraformComponent + LoadBlueprint func(blueprintURL ...string) error + Write func(overwrite ...bool) error + type FeatureEvaluator struct + func NewFeatureEvaluator(rt *runtime.Runtime) *FeatureEvaluator + func (e *FeatureEvaluator) EvaluateDefaults(defaults map[string]any, config map[string]any, featurePath string) (map[string]any, error) + func (e *FeatureEvaluator) EvaluateExpression(expression string, config map[string]any, featurePath string) (bool, error) + func (e *FeatureEvaluator) EvaluateValue(expression string, config map[string]any, featurePath string) (any, error) + func (e *FeatureEvaluator) FeatureToBlueprint(feature *v1alpha1.Feature) *v1alpha1.Blueprint + func (e *FeatureEvaluator) InterpolateString(s string, config map[string]any, featurePath string) (string, error) + func (e *FeatureEvaluator) MergeFeatures(features []*v1alpha1.Feature) *v1alpha1.Feature + func (e *FeatureEvaluator) ProcessFeature(feature *v1alpha1.Feature, config map[string]any) (*v1alpha1.Feature, error) + func (e *FeatureEvaluator) SetTemplateData(templateData map[string][]byte) + type JsonnetVM interface + EvaluateAnonymousSnippet func(filename, snippet string) (string, error) + ExtCode func(key, val string) + Importer func(importer jsonnet.Importer) + type MockBlueprintHandler struct + DownFunc func() error + GenerateFunc func() *blueprintv1alpha1.Blueprint + GetLocalTemplateDataFunc func() (map[string][]byte, error) + GetTerraformComponentsFunc func() []blueprintv1alpha1.TerraformComponent + InstallFunc func() error + LoadBlueprintFunc func(...string) error + SetRenderedKustomizeDataFunc func(data map[string]any) + WaitForKustomizationsFunc func(message string, names ...string) error + WriteFunc func(overwrite ...bool) error + func NewMockBlueprintHandler() *MockBlueprintHandler + func (m *MockBlueprintHandler) Down() error + func (m *MockBlueprintHandler) Generate() *blueprintv1alpha1.Blueprint + func (m *MockBlueprintHandler) GetLocalTemplateData() (map[string][]byte, error) + func (m *MockBlueprintHandler) GetTerraformComponents() []blueprintv1alpha1.TerraformComponent + func (m *MockBlueprintHandler) Install() error + func (m *MockBlueprintHandler) LoadBlueprint(blueprintURL ...string) error + func (m *MockBlueprintHandler) SetRenderedKustomizeData(data map[string]any) + func (m *MockBlueprintHandler) WaitForKustomizations(message string, names ...string) error + func (m *MockBlueprintHandler) Write(overwrite ...bool) error + type RealJsonnetVM struct + func (j *RealJsonnetVM) EvaluateAnonymousSnippet(filename, snippet string) (string, error) + func (j *RealJsonnetVM) ExtCode(key, val string) + func (j *RealJsonnetVM) Importer(importer jsonnet.Importer) + type Shims struct + FilepathAbs func(string) (string, error) + FilepathBase func(string) string + JsonMarshal func(any) ([]byte, error) + JsonUnmarshal func([]byte, any) error + K8sYamlUnmarshal func([]byte, any) error + MkdirAll func(string, os.FileMode) error + NewFakeClient func(...client.Object) client.WithWatch + NewJsonnetVM func() JsonnetVM + NewTicker func(d time.Duration) *time.Ticker + ReadDir func(string) ([]os.DirEntry, error) + ReadFile func(string) ([]byte, error) + RegexpMatchString func(pattern, s string) (bool, error) + Remove func(string) error + Stat func(string) (os.FileInfo, error) + TickerStop func(*time.Ticker) + TimeAfter func(d time.Duration) <-chan time.Time + Walk func(string, filepath.WalkFunc) error + WriteFile func(string, []byte, os.FileMode) error + YamlMarshal func(any) ([]byte, error) + YamlMarshalNonNull func(any) ([]byte, error) + YamlUnmarshal func([]byte, any) error + func NewShims() *Shims