1
0
mirror of https://github.com/rancher/types.git synced 2025-07-17 06:51:02 +00:00

add display name, add answer yaml, delete unused fields

This commit is contained in:
Daishan Peng 2018-02-26 12:46:41 -07:00 committed by Darren Shepherd
parent ff2b8b9f92
commit 10b282a436
2 changed files with 2 additions and 4 deletions

View File

@ -45,6 +45,7 @@ type Template struct {
}
type TemplateSpec struct {
DisplayName string `json:"displayName"`
CatalogID string `json:"catalogId,omitempty" norman:"type=reference[catalog]"`
DefaultTemplateVersionID string `json:"defaultTemplateVersionId,omitempty" norman:"type=reference[templateVersion]"`

View File

@ -23,10 +23,7 @@ type AppSpec struct {
ExternalID string `json:"externalId,omitempty"`
Templates map[string]string `json:"templates,omitempty"`
Answers map[string]string `json:"answers,omitempty"`
Prune bool `json:"prune,omitempty"`
Tag map[string]string `json:"tag,omitempty"`
User string `json:"user,omitempty"`
Groups []string `json:"groups,omitempty"`
AnswerValues string `json:"answerValues,omitempty"`
}
var (