image: document the two ostree options on OSTreeArchive

This commit is contained in:
Achilleas Koutsou 2023-05-31 18:28:34 +02:00 committed by Ondřej Budai
parent 48ee694ff3
commit a5e8dfec43

View file

@ -19,10 +19,16 @@ type OSTreeArchive struct {
OSCustomizations manifest.OSCustomizations OSCustomizations manifest.OSCustomizations
Environment environment.Environment Environment environment.Environment
Workload workload.Workload Workload workload.Workload
OSTreeParent *ostree.CommitSpec
OSTreeRef string // OSTreeParent specifies an optional parent commit for the new commit
OSVersion string // being built.
Filename string OSTreeParent *ostree.CommitSpec
// OSTreeRef is the ref of the commit that will be built.
OSTreeRef string
OSVersion string
Filename string
} }
func NewOSTreeArchive(ref string) *OSTreeArchive { func NewOSTreeArchive(ref string) *OSTreeArchive {