11package builds
22
33// generated by 'make schema'
4- // source hash: 58da31f35c1405d5a752a297d0ee012f577720f810113d38cdabca102ec7edd8
4+ // source hash: 1711aa3ce997c644130139e1318d2683e2a5f11538e2b0528771a8658d62ee64
55
66type AdvisoryDiff []AdvisoryDiffItems
77
@@ -34,7 +34,7 @@ type Build struct {
3434 Amis []Amis `json:"amis,omitempty"`
3535 Architecture string `json:"coreos-assembler.basearch,omitempty"`
3636 Azure * Cloudartifact `json:"azure,omitempty"`
37- BaseOsContainer * Image `json:"base-oscontainer,omitempty"`
37+ BaseOsContainer * PrimaryImage `json:"base-oscontainer,omitempty"`
3838 BuildArtifacts * BuildArtifacts `json:"images,omitempty"`
3939 BuildID string `json:"buildid"`
4040 BuildRef string `json:"ref,omitempty"`
@@ -50,7 +50,7 @@ type Build struct {
5050 CosaImageChecksum string `json:"coreos-assembler.image-config-checksum,omitempty"`
5151 CosaImageVersion int `json:"coreos-assembler.image-genver,omitempty"`
5252 Extensions * Extensions `json:"extensions,omitempty"`
53- ExtensionsContainer * Image `json:"extensions-container,omitempty"`
53+ ExtensionsContainer * PrimaryImage `json:"extensions-container,omitempty"`
5454 FedoraCoreOsParentCommit string `json:"fedora-coreos.parent-commit,omitempty"`
5555 FedoraCoreOsParentVersion string `json:"fedora-coreos.parent-version,omitempty"`
5656 Gcp * Gcp `json:"gcp,omitempty"`
@@ -59,10 +59,10 @@ type Build struct {
5959 ImageInputChecksum string `json:"coreos-assembler.image-input-checksum,omitempty"`
6060 InputHashOfTheRpmOstree string `json:"rpm-ostree-inputhash"`
6161 Koji * Koji `json:"koji,omitempty"`
62- KubevirtContainer * Image `json:"kubevirt,omitempty"`
62+ KubevirtContainer * PrimaryImage `json:"kubevirt,omitempty"`
6363 MetaStamp float64 `json:"coreos-assembler.meta-stamp,omitempty"`
6464 Name string `json:"name"`
65- Oscontainer * Image `json:"oscontainer,omitempty"`
65+ Oscontainer * PrimaryImage `json:"oscontainer,omitempty"`
6666 OstreeCommit string `json:"ostree-commit"`
6767 OstreeContentBytesWritten int `json:"ostree-content-bytes-written,omitempty"`
6868 OstreeContentChecksum string `json:"ostree-content-checksum"`
@@ -150,12 +150,14 @@ type Git struct {
150150}
151151
152152type Image struct {
153- Comment string `json:"comment,omitempty"`
154- Digest string `json:"digest,omitempty"`
155- Image string `json:"image"`
156- Tags []Tag `json:"tags,omitempty"`
153+ Comment string `json:"comment,omitempty"`
154+ Digest string `json:"digest,omitempty"`
155+ Image string `json:"image"`
156+ Tags []ImageTag `json:"tags,omitempty"`
157157}
158158
159+ type ImageTag string
160+
159161type Koji struct {
160162 BuildRelease string `json:"release,omitempty"`
161163 KojiBuildID float64 `json:"build_id,omitempty"`
@@ -166,10 +168,18 @@ type PackageSetDifferences []PackageSetDifferencesItems
166168
167169type PackageSetDifferencesItems interface {}
168170
171+ type PrimaryImage struct {
172+ AdditionalImages []interface {} `json:"additional-images,omitempty"`
173+ Comment string `json:"comment,omitempty"`
174+ Digest string `json:"digest,omitempty"`
175+ Image string `json:"image"`
176+ Tags []PrimaryImageTag `json:"tags,omitempty"`
177+ }
178+
179+ type PrimaryImageTag string
180+
169181type S3 struct {
170182 Bucket string `json:"bucket,omitempty"`
171183 Key string `json:"key,omitempty"`
172184 PublicURL string `json:"public-url,omitempty"`
173185}
174-
175- type Tag string
0 commit comments