Versions in this module Expand all Collapse all v0 v0.7.0 May 5, 2026 Changes in this version + const AnnotationResourceCategory + const AnnotationSourceAbstractName + const AnnotationSourceAbstractType + const ResourceCategoryCodeHosting + const ResourceCategoryInfrastructure + func Field(name string) *substitutions.SubstitutionPathItem + func Index(index int) *substitutions.SubstitutionPathItem + func MakeRef(newResourceName string, path []*substitutions.SubstitutionPathItem) *substitutions.Substitution + func PathExact(ref *substitutions.SubstitutionResourceProperty, fieldPathSegments ...string) bool + func PathMatches(ref *substitutions.SubstitutionResourceProperty, fieldPathSegments ...string) bool + func RegisterEmit[T any, PR ResolvedPtr[T]](reg *TransformerRegistry, target Target, ...) + func RegisterRewriter[T any, PR ResolvedPtr[T]](reg *TransformerRegistry, target Target, ...) + func RetargetRef(ref *substitutions.SubstitutionResourceProperty, newResourceName string) *substitutions.Substitution + func RewriteBlueprintRefs(blueprint *schema.Blueprint, visitor subwalk.SubstitutionVisitor) *schema.Blueprint + func RewriteFields(ref *substitutions.SubstitutionResourceProperty, newResourceName string, ...) *substitutions.Substitution + func RewriteResourcePropertyRefs(rewriter ResourcePropertyRewriter) subwalk.SubstitutionVisitor + func RunTransformPipeline(inputBlueprint *schema.Blueprint, linkGraph linktypes.DeclaredLinkGraph, ...) (*transform.SpecTransformerTransformOutput, error) + func TransformerBaseAnnotations(input *TransformerBaseAnnotationsInput) *schema.StringOrSubstitutionsMap + func ValueRef(valueName string, path ...*substitutions.SubstitutionPathItem) *substitutions.Substitution + type Aggregator func([]ResolvedResource) *EmitPlan + type Capabilities struct + SupportedAbstractPaths []string + func CapabilitiesFromPropertyMap(pm *PropertyMap) *Capabilities + type EmitPlan struct + Primaries []ResolvedResource + SharedParents []SharedParent + type EmitResult struct + DerivedValues map[string]*schema.Value + Diagnostics []*core.Diagnostic + Resources map[string]*schema.Resource + SharedParentContributions map[string]*core.MappingNode + type Emitter func(r ResolvedResource, resPropRewriter ResourcePropertyRewriter, ...) (*EmitResult, error) + type EmitterRegistration func(registry *TransformerRegistry, t Target) + func TypedEmitter[T any, PR ResolvedPtr[T]](...) EmitterRegistration + type PropertyMap struct + Custom []*PropertyRule + Renames map[string][]string + ValueRefs map[string]*ValueRefSpec + func (pm *PropertyMap) Rewriter(abstractName, concreteName string) ResourcePropertyRewriter + type PropertyRule struct + MatchPaths []string + Predicate func(*substitutions.SubstitutionResourceProperty) bool + Rewrite func(ref *substitutions.SubstitutionResourceProperty, rewriteCtx RewriteContext) *substitutions.Substitution + type ResolvedPtr interface + type ResolvedResource interface + ResourceName func() string + ResourceType func() string + type Resolver func(name string, resource *schema.Resource, linkGraph linktypes.DeclaredLinkGraph, ...) (ResolvedResource, error) + type ResourcePropertyRewriter func(ref *substitutions.SubstitutionResourceProperty) *substitutions.Substitution + func ChainResourcePropertyRewriters(rewriters ...ResourcePropertyRewriter) ResourcePropertyRewriter + type RewriteContext struct + AbstractName string + ConcreteName string + type RewriteFactory func(r ResolvedResource) []ResourcePropertyRewriter + type RewriterRegistration func(registry *TransformerRegistry, t Target) + func RewriterFromPropertyMap[T any, PR ResolvedPtr[T]](pm *PropertyMap, concreteName func(r PR) string) RewriterRegistration + func TypedRewriter[T any, PR ResolvedPtr[T]](fn func(r PR) []ResourcePropertyRewriter) RewriterRegistration + type SharedParent struct + Annotations *core.MappingNode + Key string + ResourceName string + ResourceType string + SeedSpec *core.MappingNode + type Target string + type TransformerBaseAnnotationsInput struct + AbstractResourceName string + AbstractResourceType string + ResourceCategory string + type TransformerRegistry struct + func NewTransformerRegistry() *TransformerRegistry + func (r *TransformerRegistry) AggregatorFor(target Target) (Aggregator, bool) + func (r *TransformerRegistry) CapabilitiesFor(target Target, resolvedType reflect.Type) (Capabilities, bool) + func (r *TransformerRegistry) EmitterFor(target Target, resolvedType reflect.Type) (Emitter, bool) + func (r *TransformerRegistry) HasAggregators() bool + func (r *TransformerRegistry) IsEmpty() bool + func (r *TransformerRegistry) MergeFrom(other *TransformerRegistry) + func (r *TransformerRegistry) RegisterAggregator(target Target, aggregator Aggregator) + func (r *TransformerRegistry) RegisterResolver(abstractResourceType string, resolver Resolver) + func (r *TransformerRegistry) ResolverFor(abstractResourceType string) (Resolver, bool) + func (r *TransformerRegistry) RewriteFactoryFor(target Target, resolvedType reflect.Type) (RewriteFactory, bool) + type ValueRefSpec struct + Path []*substitutions.SubstitutionPathItem + Suffix string