debian-forge-composer/internal/osbuild2/ostree_source.go
Achilleas Koutsou 2a98885953 osbuild2: OSTreeRemote → OSTreeSourceRemote
Properly name the ostree remote source struct.
2021-08-28 09:20:19 +02:00

19 lines
424 B
Go

package osbuild2
// The commits to fetch indexed their checksum
type OSTreeSource struct {
Items map[string]OSTreeSourceItem `json:"items"`
}
func (OSTreeSource) isSource() {}
type OSTreeSourceItem struct {
Remote OSTreeSourceRemote `json:"remote"`
}
type OSTreeSourceRemote struct {
// URL of the repository.
URL string `json:"url"`
// GPG keys to verify the commits
GPGKeys []string `json:"secrets,omitempty"`
}