@@ -632,6 +632,7 @@ type ScopedLabels []ScopedLabel
632632type Container struct {
633633 Labels map [string ]string `json:"labels,omitempty"`
634634 Annotations map [string ]string `json:"annotations,omitempty"`
635+ Name string `json:"name,omitempty"`
635636 Description string `json:"description,omitempty"`
636637 Dirs map [string ]VolumeMount `json:"dirs,omitempty"`
637638 Files Files `json:"files,omitempty"`
@@ -704,6 +705,7 @@ type Routes []Route
704705type Router struct {
705706 Labels map [string ]string `json:"labels,omitempty"`
706707 Annotations map [string ]string `json:"annotations,omitempty"`
708+ Name string `json:"name,omitempty"`
707709 Description string `json:"description,omitempty"`
708710 Routes Routes `json:"routes,omitempty"`
709711}
@@ -719,6 +721,7 @@ func (in Acorn) GetOriginalImage() string {
719721type Acorn struct {
720722 Labels ScopedLabels `json:"labels,omitempty"`
721723 Annotations ScopedLabels `json:"annotations,omitempty"`
724+ Name string `json:"name,omitempty"`
722725 Description string `json:"description,omitempty"`
723726 Image string `json:"image,omitempty"`
724727 Build * AcornBuild `json:"build,omitempty"`
@@ -743,6 +746,7 @@ type Secret struct {
743746 Alias string `json:"alias,omitempty"`
744747 Labels map [string ]string `json:"labels,omitempty"`
745748 Annotations map [string ]string `json:"annotations,omitempty"`
749+ Name string `json:"name,omitempty"`
746750 Description string `json:"description,omitempty"`
747751 Type string `json:"type,omitempty"`
748752 Params GenericMap `json:"params,omitempty"`
@@ -754,6 +758,7 @@ type AccessModes []AccessMode
754758type VolumeRequest struct {
755759 Labels map [string ]string `json:"labels,omitempty"`
756760 Annotations map [string ]string `json:"annotations,omitempty"`
761+ Name string `json:"name,omitempty"`
757762 Description string `json:"description,omitempty"`
758763 Class string `json:"class,omitempty"`
759764 Size Quantity `json:"size,omitempty"`
@@ -778,6 +783,7 @@ type GeneratedService struct {
778783type Service struct {
779784 Labels ScopedLabels `json:"labels,omitempty"`
780785 Annotations ScopedLabels `json:"annotations,omitempty"`
786+ Name string `json:"name,omitempty"`
781787 Description string `json:"description,omitempty"`
782788 Default bool `json:"default,omitempty"`
783789 External string `json:"external,omitempty"`
0 commit comments