| 193 | func (*PlanConfig_Spec_ExportDataConfig) isPlanConfig_Spec_Config() {} |
| 194 | |
| 195 | type PlanConfig_CreateDatabaseConfig struct { |
| 196 | state protoimpl.MessageState `protogen:"open.v1"` |
| 197 | // The resource name of the instance on which the database is created. |
| 198 | // Format: instances/{instance} |
| 199 | Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` |
| 200 | // The name of the database to create. |
| 201 | Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"` |
| 202 | // table is the name of the table, if it is not empty, Bytebase should create a table after creating the database. |
| 203 | // For example, in MongoDB, it only creates the database when we first store data in that database. |
| 204 | Table string `protobuf:"bytes,3,opt,name=table,proto3" json:"table,omitempty"` |
| 205 | // character_set is the character set of the database. |
| 206 | CharacterSet string `protobuf:"bytes,4,opt,name=character_set,json=characterSet,proto3" json:"character_set,omitempty"` |
| 207 | // collation is the collation of the database. |
| 208 | Collation string `protobuf:"bytes,5,opt,name=collation,proto3" json:"collation,omitempty"` |
| 209 | // cluster is the cluster of the database. This is only applicable to ClickHouse for "ON CLUSTER <<cluster>>". |
| 210 | Cluster string `protobuf:"bytes,6,opt,name=cluster,proto3" json:"cluster,omitempty"` |
| 211 | // owner is the owner of the database. This is only applicable to Postgres for "WITH OWNER <<owner>>". |
| 212 | Owner string `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"` |
| 213 | // The environment resource. |
| 214 | // Format: environments/prod where prod is the environment resource ID. |
| 215 | Environment string `protobuf:"bytes,9,opt,name=environment,proto3" json:"environment,omitempty"` |
| 216 | unknownFields protoimpl.UnknownFields |
| 217 | sizeCache protoimpl.SizeCache |
| 218 | } |
| 219 | |
| 220 | func (x *PlanConfig_CreateDatabaseConfig) Reset() { |
| 221 | *x = PlanConfig_CreateDatabaseConfig{} |
nothing calls this directly
no outgoing calls
no test coverage detected