File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ const (
5858type Config struct {
5959 Version string `json:"version" yaml:"version"`
6060 Project Project `json:"project" yaml:"project"`
61+ Cloud Cloud `json:"cloud" yaml:"cloud"`
6162 SQL []SQL `json:"sql" yaml:"sql"`
6263 Gen Gen `json:"overrides,omitempty" yaml:"overrides"`
6364 Plugins []Plugin `json:"plugins" yaml:"plugins"`
@@ -67,6 +68,12 @@ type Project struct {
6768 ID string `json:"id" yaml:"id"`
6869}
6970
71+ type Cloud struct {
72+ Organization string `json:"organization" yaml:"organization"`
73+ Project string `json:"project" yaml:"project"`
74+ Hostname string `json:"hostname" yaml:"hostname"`
75+ }
76+
7077type Plugin struct {
7178 Name string `json:"name" yaml:"name"`
7279 Process * struct {
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import (
1010
1111type V1GenerateSettings struct {
1212 Version string `json:"version" yaml:"version"`
13+ Cloud Cloud `json:"cloud" yaml:"cloud"`
1314 Project Project `json:"project" yaml:"project"`
1415 Packages []v1PackageSettings `json:"packages" yaml:"packages"`
1516 Overrides []Override `json:"overrides,omitempty" yaml:"overrides,omitempty"`
@@ -124,6 +125,7 @@ func (c *V1GenerateSettings) Translate() Config {
124125 conf := Config {
125126 Version : c .Version ,
126127 Project : c .Project ,
128+ Cloud : c .Cloud ,
127129 }
128130
129131 for _ , pkg := range c .Packages {
You can’t perform that action at this time.
0 commit comments