Add comments to some values in target.go

This commit is contained in:
Tomas Hozza 2022-04-01 17:43:47 +02:00 committed by Tom Gundersen
parent 3bf62ca789
commit c98b3afcc4

View file

@ -11,11 +11,11 @@ import (
type Target struct {
Uuid uuid.UUID `json:"uuid"`
ImageName string `json:"image_name"`
Name string `json:"name"`
ImageName string `json:"image_name"` // Desired name of the image in the target environment
Name string `json:"name"` // Name of the specific target type
Created time.Time `json:"created"`
Status common.ImageBuildState `json:"status"`
Options TargetOptions `json:"options"`
Options TargetOptions `json:"options"` // Target type specific options
}
func newTarget(name string, options TargetOptions) *Target {