1
0
mirror of https://github.com/rancher/types.git synced 2025-09-16 23:08:25 +00:00

Add multi cluster app crd

This commit is contained in:
rajashree
2018-11-19 16:36:09 -08:00
committed by Alena Prokharchyk
parent 6ee2ac1678
commit cd3f68581c
3 changed files with 59 additions and 9 deletions

View File

@@ -17,14 +17,15 @@ type App struct {
}
type AppSpec struct {
ProjectName string `json:"projectName,omitempty" norman:"type=reference[/v3/schemas/project]"`
Description string `json:"description,omitempty"`
TargetNamespace string `json:"targetNamespace,omitempty"`
ExternalID string `json:"externalId,omitempty"`
Files map[string]string `json:"files,omitempty"`
Answers map[string]string `json:"answers,omitempty"`
AppRevisionName string `json:"appRevisionName,omitempty" norman:"type=reference[/v3/project/schemas/apprevision]"`
Prune bool `json:"prune,omitempty"`
ProjectName string `json:"projectName,omitempty" norman:"type=reference[/v3/schemas/project]"`
Description string `json:"description,omitempty"`
TargetNamespace string `json:"targetNamespace,omitempty"`
ExternalID string `json:"externalId,omitempty"`
Files map[string]string `json:"files,omitempty"`
Answers map[string]string `json:"answers,omitempty"`
AppRevisionName string `json:"appRevisionName,omitempty" norman:"type=reference[/v3/project/schemas/apprevision]"`
Prune bool `json:"prune,omitempty"`
MultiClusterAppName string `json:"multiClusterAppName,omitempty" norman:"type=reference[/v3/schemas/multiclusterapp]"`
}
var (