debian-forge-composer/internal/osbuild/ostree_source.go
2022-07-14 16:54:00 +02:00

19 lines
423 B
Go

package osbuild
// 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"`
}