internal/osbuild: contenturl and rhsm secrets for ostree sources

This commit is contained in:
Sanne Raymaekers 2022-10-14 16:32:01 +02:00
parent 5a0d286d6b
commit 500341a25f
9 changed files with 67 additions and 32 deletions

View file

@ -13,7 +13,13 @@ type OSTreeSourceItem struct {
type OSTreeSourceRemote struct {
// URL of the repository.
URL string `json:"url"`
URL string `json:"url"`
ContentURL string `json:"contenturl,omitempty"`
// GPG keys to verify the commits
GPGKeys []string `json:"gpgkeys,omitempty"`
GPGKeys []string `json:"gpgkeys,omitempty"`
Secrets *OSTreeSourceRemoteSecrets `json:"secrets,omitempty"`
}
type OSTreeSourceRemoteSecrets struct {
Name string `json:"name"`
}