go.mod: update to latest images@v0.112.0
This commit is contained in:
parent
bec893e37c
commit
3e321e3cea
11 changed files with 47 additions and 16 deletions
25
vendor/github.com/osbuild/images/pkg/dnfjson/dnfjson.go
generated
vendored
25
vendor/github.com/osbuild/images/pkg/dnfjson/dnfjson.go
generated
vendored
|
|
@ -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"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue