pkg: add new manifestgen package

This commit adds a new generic `manifestgen` package that can be
used to generate osbuild manifests. It works on a higher level
then the low-level `manifest` package from `images` and provides
plugable resolvers and a streamlined API.

This package is meant to be moved to the `images` library eventually.
This commit is contained in:
Michael Vogt 2024-12-02 12:17:53 +01:00 committed by Simon de Vlieger
parent 5a6ee5c1ca
commit ea61ef593f
3 changed files with 402 additions and 1 deletions

2
go.mod
View file

@ -5,6 +5,7 @@ module github.com/osbuild/image-builder-cli
go 1.21.0
require (
github.com/gobwas/glob v0.2.3
github.com/osbuild/images v0.98.0
github.com/sirupsen/logrus v1.9.3
github.com/spf13/cobra v1.8.1
@ -50,7 +51,6 @@ require (
github.com/go-openapi/strfmt v0.23.0 // indirect
github.com/go-openapi/swag v0.23.0 // indirect
github.com/go-openapi/validate v0.24.0 // indirect
github.com/gobwas/glob v0.2.3 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.4 // indirect