@@ -3,23 +3,25 @@ package models
33import "github.com/pivotal-cf/kiln/pkg/proofing"
44
55type MetadataOut struct {
6- Name string `yaml:"name"`
7- ProductVersion string `yaml:"product_version"`
8- IconImage string `yaml:"icon_image"`
9- Label string `yaml:"label"`
10- MetadataVersion string `yaml:"metadata_version"`
11- MinimumVersionForUpgrade string `yaml:"minimum_version_for_upgrade"`
12- Rank int `yaml:"rank"`
13- Serial bool `yaml:"serial"`
14- PropertyBlueprints []string `yaml:"property_blueprints"`
15- FormTypes []string `yaml:"form_types"`
16- Variables []proofing.Variable `yaml:"variables"`
17- InstanceGroups []string `yaml:"job_types"`
18- StemcellCriteria StemcellCriteria `yaml:"stemcell_criteria"`
19- Releases []string `yaml:"releases"`
20- RuntimeConfigs []string `yaml:"runtime_configs"`
21- RequiresKubernetes bool `yaml:"requires_kubernetes"`
22- CompatibleKubernetesDistributions []ProductVersion `yaml:"compatible_kubernetes_distributions"`
6+ Name string `yaml:"name"`
7+ ProductVersion string `yaml:"product_version"`
8+ IconImage string `yaml:"icon_image"`
9+ Label string `yaml:"label"`
10+ MetadataVersion string `yaml:"metadata_version"`
11+ MinimumVersionForUpgrade string `yaml:"minimum_version_for_upgrade"`
12+ Rank int `yaml:"rank"`
13+ Serial bool `yaml:"serial"`
14+ PropertyBlueprints []string `yaml:"property_blueprints"`
15+ FormTypes []string `yaml:"form_types"`
16+ Variables []proofing.Variable `yaml:"variables"`
17+ InstanceGroups []string `yaml:"job_types"`
18+ StemcellCriteria StemcellCriteria `yaml:"stemcell_criteria"`
19+ Releases []string `yaml:"releases"`
20+ RuntimeConfigs []string `yaml:"runtime_configs"`
21+ RequiresKubernetes bool `yaml:"requires_kubernetes"`
22+ CompatibleKubernetesDistributions []ProductVersion `yaml:"compatible_kubernetes_distributions"`
23+ SupportsParallelDeploys bool `yaml:"supports_parallel_deploys,omitempty"`
24+ RequiresProductVersions []RequiredProductVersion `yaml:"requires_product_versions,omitempty"`
2325}
2426
2527type StemcellCriteria struct {
@@ -31,3 +33,9 @@ type ProductVersion struct {
3133 Name string `yaml:"name"`
3234 Version string `yaml:"version"`
3335}
36+
37+ type RequiredProductVersion struct {
38+ Name string `yaml:"name"`
39+ Version string `yaml:"version"`
40+ Optional bool `yaml:"optional,omitempty"`
41+ }
0 commit comments