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:
parent
ff2b8b9f92
commit
10b282a436
@ -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]"`
|
||||
|
||||
|
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user