go.mod: update to latest images@v0.112.0

This commit is contained in:
Achilleas Koutsou 2025-01-31 14:52:04 +01:00 committed by Sanne Raymaekers
parent bec893e37c
commit 3e321e3cea
11 changed files with 47 additions and 16 deletions

View file

@ -722,10 +722,12 @@ type transactionArgs struct {
}
type packageSpecs []PackageSpec
type moduleSpecs map[string]ModuleSpec
type depsolveResult struct {
Packages packageSpecs `json:"packages"`
Repos map[string]repoConfig `json:"repos"`
Modules moduleSpecs `json:"modules"`
// (optional) contains the solver used, e.g. "dnf5"
Solver string `json:"solver,omitempty"`
@ -748,6 +750,29 @@ type PackageSpec struct {
Secrets string `json:"secrets,omitempty"`
}
// Module specification
type ModuleSpec struct {
ModuleConfigFile ModuleConfigFile `json:"module-file"`
FailsafeFile ModuleFailsafeFile `json:"failsafe-file"`
}
type ModuleConfigFile struct {
Path string `json:"path"`
Data ModuleConfigData `json:"data"`
}
type ModuleConfigData struct {
Name string `json:"name"`
Stream string `json:"stream"`
Profiles []string `json:"profiles"`
State string `json:"state"`
}
type ModuleFailsafeFile struct {
Path string `json:"path"`
Data string `json:"string"`
}
// dnf-json error structure
type Error struct {
Kind string `json:"kind"`