Versions in this module Expand all Collapse all v1 v1.0.0 Apr 1, 2024 Changes in this version + func ComposeComponents(pkg types.JackalPackage, flavor string) (types.JackalPackage, []string, error) + func FillActiveTemplate(pkg types.JackalPackage, setVariables map[string]string) (types.JackalPackage, []string, error) + func ReloadComponentTemplate(component *types.JackalComponent) error + func ReloadComponentTemplatesInPackage(jackalPackage *types.JackalPackage) error + type Creator interface + Assemble func(dst *layout.PackagePaths, components []types.JackalComponent, arch string) error + LoadPackageDefinition func(dst *layout.PackagePaths) (pkg types.JackalPackage, warnings []string, err error) + Output func(dst *layout.PackagePaths, pkg *types.JackalPackage) error + type PackageCreator struct + func NewPackageCreator(createOpts types.JackalCreateOptions, cfg *types.PackagerConfig, cwd string) *PackageCreator + func (pc *PackageCreator) Assemble(dst *layout.PackagePaths, components []types.JackalComponent, arch string) error + func (pc *PackageCreator) LoadPackageDefinition(dst *layout.PackagePaths) (pkg types.JackalPackage, warnings []string, err error) + func (pc *PackageCreator) Output(dst *layout.PackagePaths, pkg *types.JackalPackage) (err error) + type SkeletonCreator struct + func NewSkeletonCreator(createOpts types.JackalCreateOptions, publishOpts types.JackalPublishOptions) *SkeletonCreator + func (sc *SkeletonCreator) Assemble(dst *layout.PackagePaths, components []types.JackalComponent, _ string) error + func (sc *SkeletonCreator) LoadPackageDefinition(dst *layout.PackagePaths) (pkg types.JackalPackage, warnings []string, err error) + func (sc *SkeletonCreator) Output(dst *layout.PackagePaths, pkg *types.JackalPackage) (err error)