Target/koji: extend the result struct with SBOM docs
Extend the Koji target result struct with an optional slice for uploaded SBOM documents. Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
parent
4ae35a0ed9
commit
c109265abb
1 changed files with 5 additions and 4 deletions
|
|
@ -58,10 +58,11 @@ type ManifestInfo struct {
|
|||
}
|
||||
|
||||
type KojiTargetResultOptions struct {
|
||||
Image *KojiOutputInfo `json:"image"`
|
||||
Log *KojiOutputInfo `json:"log,omitempty"`
|
||||
OSBuildManifest *KojiOutputInfo `json:"osbuild_manifest,omitempty"`
|
||||
OSBuildManifestInfo *ManifestInfo `json:"osbuild_manifest_info,omitempty"`
|
||||
Image *KojiOutputInfo `json:"image"`
|
||||
Log *KojiOutputInfo `json:"log,omitempty"`
|
||||
OSBuildManifest *KojiOutputInfo `json:"osbuild_manifest,omitempty"`
|
||||
OSBuildManifestInfo *ManifestInfo `json:"osbuild_manifest_info,omitempty"`
|
||||
SbomDocs []KojiOutputInfo `json:"sbom_docs,omitempty"`
|
||||
}
|
||||
|
||||
func (o *KojiTargetResultOptions) UnmarshalJSON(data []byte) error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue