You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/design/database.go
-28Lines changed: 0 additions & 28 deletions
Original file line number
Diff line number
Diff line change
@@ -39,15 +39,6 @@ var DatabaseNodeSpec = g.Type("DatabaseNodeSpec", func() {
39
39
g.Description("The port used by the Postgres database for this node. Overrides the Postgres port set in the DatabaseSpec.")
40
40
g.Example(5432)
41
41
})
42
-
g.Attribute("storage_class", g.String, func() {
43
-
g.Description("The storage class to use for the database on this node. The possible values and defaults depend on the orchestrator.")
44
-
g.Example("host")
45
-
g.Example("loop_device")
46
-
})
47
-
g.Attribute("storage_size", g.String, func() {
48
-
g.Description("The size of the storage for this node in SI or IEC notation. Support for this value depends on the orchestrator and storage class.")
49
-
g.Example("500GiB")
50
-
})
51
42
g.Attribute("cpus", g.String, func() {
52
43
g.Description("The number of CPUs to allocate for the database on this node and to use for tuning Postgres. Defaults to the number of available CPUs on the host. Can include an SI suffix, e.g. '500m' for 500 millicpus. Whether this limit will be enforced depends on the orchestrator.")
53
44
g.Example("14")
@@ -345,19 +336,6 @@ var DatabaseSpec = g.Type("DatabaseSpec", func() {
345
336
g.Description("The port used by the Postgres database.")
g.Description("The storage class to use for the database. The possible values and defaults depend on the orchestrator.")
354
-
g.Example("host")
355
-
g.Example("loop_device")
356
-
})
357
-
g.Attribute("storage_size", g.String, func() {
358
-
g.Description("The size of the storage in SI or IEC notation. Support for this value depends on the orchestrator and storage class.")
359
-
g.Example("500GiB")
360
-
})
361
339
g.Attribute("cpus", g.String, func() {
362
340
g.Description("The number of CPUs to allocate for the database and to use for tuning Postgres. Defaults to the number of available CPUs on the host. Can include an SI suffix, e.g. '500m' for 500 millicpus. Whether this limit will be enforced depends on the orchestrator.")
363
341
g.Example("14")
@@ -375,12 +353,6 @@ var DatabaseSpec = g.Type("DatabaseSpec", func() {
0 commit comments