Versions in this module Expand all Collapse all v0 v0.1.0 Mar 18, 2026 Changes in this version + const DefaultConfigFileName + const DefaultSchemaURI + const HashTypeSHA256 + const HashTypeSHA512 + var ErrConfigFileNotFound = errors.New("could not find config file: azldev.toml") + var ErrDuplicateComponentGroups = errors.New("duplicate component group") + var ErrDuplicateComponents = errors.New("duplicate component") + var ErrDuplicateImages = errors.New("duplicate image") + func FindProjectRootAndConfigFile(fs opctx.FS, referenceDir string) (projectRootDir, configFilePath string, err error) + type CheckConfig struct + Skip bool + SkipReason string + func (c *CheckConfig) Validate() error + type ComponentBuildConfig struct + Check CheckConfig + Defines map[string]string + Failure ComponentBuildFailureConfig + Hints ComponentBuildHints + Undefines []string + With []string + Without []string + func (c *ComponentBuildConfig) Validate() error + type ComponentBuildFailureConfig struct + Expected bool + ExpectedReason string + type ComponentBuildHints struct + Expensive bool + type ComponentConfig struct + Build ComponentBuildConfig + Name string + Overlays []ComponentOverlay + SourceConfigFile *ConfigFile + SourceFiles []SourceFileReference + Spec SpecSource + func (c *ComponentConfig) MergeUpdatesFrom(other *ComponentConfig) error + func (c *ComponentConfig) WithAbsolutePaths(referenceDir string) *ComponentConfig + type ComponentGroupConfig struct + Components []string + DefaultComponentConfig ComponentConfig + Description string + ExcludedPathPatterns []string + SpecPathPatterns []string + func (g ComponentGroupConfig) WithAbsolutePaths(referenceDir string) ComponentGroupConfig + type ComponentOverlay struct + Description string + Filename string + Lines []string + PackageName string + Regex string + Replacement string + SectionName string + Source string + Tag string + Type ComponentOverlayType + Value string + func (c *ComponentOverlay) ModifiesNonSpecFiles() bool + func (c *ComponentOverlay) ModifiesSpec() bool + func (c *ComponentOverlay) Validate() error + func (c *ComponentOverlay) WithAbsolutePaths(referenceDir string) (result *ComponentOverlay) + type ComponentOverlayType string + const ComponentOverlayAddFile + const ComponentOverlayAddPatch + const ComponentOverlayAddSpecTag + const ComponentOverlayAppendSpecLines + const ComponentOverlayInsertSpecTag + const ComponentOverlayPrependLinesToFile + const ComponentOverlayPrependSpecLines + const ComponentOverlayRemoveFile + const ComponentOverlayRemovePatch + const ComponentOverlayRemoveSpecTag + const ComponentOverlayRenameFile + const ComponentOverlaySearchAndReplaceInFile + const ComponentOverlaySearchAndReplaceInSpec + const ComponentOverlaySetSpecTag + const ComponentOverlayUpdateSpecTag + type ComponentReference struct + Name string + Version *rpm.Version + type ConfigFile struct + ComponentGroups map[string]ComponentGroupConfig + Components map[string]ComponentConfig + Distros map[string]DistroDefinition + Images map[string]ImageConfig + Includes []string + Project *ProjectInfo + SchemaURI string + Tools *ToolsConfig + func (f ConfigFile) Serialize(fs opctx.FS, filePath string) error + func (f ConfigFile) ToBytes() ([]byte, error) + func (f ConfigFile) Validate() error + type DistroDefinition struct + DefaultVersion string + Description string + DisableOrigins bool + DistGitBaseURI string + LookasideBaseURI string + PackageRepositories []PackageRepository + Versions map[string]DistroVersionDefinition + func (d *DistroDefinition) MergeUpdatesFrom(other *DistroDefinition) error + func (d *DistroDefinition) WithAbsolutePaths(referenceDir string) DistroDefinition + func (d *DistroDefinition) WithResolvedConfigs() DistroDefinition + type DistroReference struct + Name string + Snapshot string + Version string + func (r *DistroReference) String() string + type DistroVersionDefinition struct + DefaultComponentConfig ComponentConfig + Description string + DistGitBranch string + MockConfigPath string + MockConfigPathAarch64 string + MockConfigPathX86_64 string + ReleaseVer string + func (v DistroVersionDefinition) WithAbsolutePaths(referenceDir string) DistroVersionDefinition + func (v DistroVersionDefinition) WithResolvedConfigs() DistroVersionDefinition + type ImageConfig struct + Definition ImageDefinition + Description string + Name string + SourceConfigFile *ConfigFile + func (i *ImageConfig) MergeUpdatesFrom(other *ImageConfig) error + func (i *ImageConfig) WithAbsolutePaths(referenceDir string) *ImageConfig + type ImageCustomizerConfig struct + ContainerTag string + type ImageDefinition struct + DefinitionType ImageDefinitionType + Path string + Profile string + type ImageDefinitionType string + const ImageDefinitionTypeKiwi + const ImageDefinitionTypeUnspecified + type Origin struct + Type OriginType + Uri string + type OriginType string + const OriginTypeURI + type PackageRepository struct + BaseURI string + func (r PackageRepository) WithAbsolutePaths(referenceDir string) PackageRepository + type ProjectConfig struct + ComponentGroups map[string]ComponentGroupConfig + Components map[string]ComponentConfig + Distros map[string]DistroDefinition + GroupsByComponent map[string][]string + Images map[string]ImageConfig + Project ProjectInfo + RootConfigFilePath string + Tools ToolsConfig + func LoadProjectConfig(dryRunnable opctx.DryRunnable, fs opctx.FS, referenceDir string, ...) (projectDir string, config *ProjectConfig, err error) + func NewProjectConfig() ProjectConfig + func (cfg *ProjectConfig) Validate() error + type ProjectInfo struct + DefaultDistro DistroReference + Description string + LogDir string + OutputDir string + WorkDir string + func (p *ProjectInfo) MergeUpdatesFrom(other *ProjectInfo) error + func (p *ProjectInfo) WithAbsolutePaths(referenceDir string) *ProjectInfo + type SourceFileReference struct + Component ComponentReference + Filename string + Hash string + HashType fileutils.HashType + Origin Origin + type SpecSource struct + Path string + SourceType SpecSourceType + UpstreamCommit string + UpstreamDistro DistroReference + UpstreamName string + func (s *SpecSource) String() string + type SpecSourceType string + const SpecSourceTypeLocal + const SpecSourceTypeUnspecified + const SpecSourceTypeUpstream + type ToolsConfig struct + ImageCustomizer ImageCustomizerConfig + func (tc *ToolsConfig) MergeUpdatesFrom(other *ToolsConfig) error