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 (
58
58
type Config struct {
59
59
Version string `json:"version" yaml:"version"`
60
60
Project Project `json:"project" yaml:"project"`
61
+ Cloud Cloud `json:"cloud" yaml:"cloud"`
61
62
SQL []SQL `json:"sql" yaml:"sql"`
62
63
Gen Gen `json:"overrides,omitempty" yaml:"overrides"`
63
64
Plugins []Plugin `json:"plugins" yaml:"plugins"`
@@ -67,6 +68,12 @@ type Project struct {
67
68
ID string `json:"id" yaml:"id"`
68
69
}
69
70
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
+
70
77
type Plugin struct {
71
78
Name string `json:"name" yaml:"name"`
72
79
Process * struct {
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import (
10
10
11
11
type V1GenerateSettings struct {
12
12
Version string `json:"version" yaml:"version"`
13
+ Cloud Cloud `json:"cloud" yaml:"cloud"`
13
14
Project Project `json:"project" yaml:"project"`
14
15
Packages []v1PackageSettings `json:"packages" yaml:"packages"`
15
16
Overrides []Override `json:"overrides,omitempty" yaml:"overrides,omitempty"`
@@ -124,6 +125,7 @@ func (c *V1GenerateSettings) Translate() Config {
124
125
conf := Config {
125
126
Version : c .Version ,
126
127
Project : c .Project ,
128
+ Cloud : c .Cloud ,
127
129
}
128
130
129
131
for _ , pkg := range c .Packages {
You can’t perform that action at this time.
0 commit comments