1
0
mirror of https://github.com/rancher/types.git synced 2025-09-01 05:09:10 +00:00

rename catalog field to catalogTemplate in applyApp/publishCatalog step config

This commit is contained in:
gitlawr
2019-01-03 16:57:26 +08:00
committed by Alena Prokharchyk
parent 0fe6b540ae
commit eda6aff214
2 changed files with 11 additions and 11 deletions

View File

@@ -272,17 +272,17 @@ type ApplyYamlConfig struct {
}
type PublishCatalogConfig struct {
Path string `json:"path,omitempty" yaml:"path,omitempty"`
Catalog string `json:"catalog,omitempty" yaml:"catalog,omitempty"`
Version string `json:"version,omitempty" yaml:"version,omitempty"`
GitURL string `json:"gitUrl,omitempty" yaml:"gitUrl,omitempty"`
GitBranch string `json:"gitBranch,omitempty" yaml:"gitBranch,omitempty"`
GitAuthor string `json:"gitAuthor,omitempty" yaml:"gitAuthor,omitempty"`
GitEmail string `json:"gitEmail,omitempty" yaml:"gitEmail,omitempty"`
Path string `json:"path,omitempty" yaml:"path,omitempty"`
CatalogTemplate string `json:"catalogTemplate,omitempty" yaml:"catalogTemplate,omitempty"`
Version string `json:"version,omitempty" yaml:"version,omitempty"`
GitURL string `json:"gitUrl,omitempty" yaml:"gitUrl,omitempty"`
GitBranch string `json:"gitBranch,omitempty" yaml:"gitBranch,omitempty"`
GitAuthor string `json:"gitAuthor,omitempty" yaml:"gitAuthor,omitempty"`
GitEmail string `json:"gitEmail,omitempty" yaml:"gitEmail,omitempty"`
}
type ApplyAppConfig struct {
Catalog string `json:"catalog,omitempty" yaml:"catalog,omitempty"`
CatalogTemplate string `json:"catalogTemplate,omitempty" yaml:"catalogTemplate,omitempty"`
Version string `json:"version,omitempty" yaml:"version,omitempty"`
Answers map[string]string `json:"answers,omitempty" yaml:"answers,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`