(cls, ClusterCls, *, cluster_kwargs={}, initdb_options={})
| 314 | |
| 315 | @classmethod |
| 316 | def new_cluster(cls, ClusterCls, *, cluster_kwargs={}, initdb_options={}): |
| 317 | cluster = _init_cluster(ClusterCls, cluster_kwargs, |
| 318 | _get_initdb_options(initdb_options)) |
| 319 | cls._clusters.append(cluster) |
| 320 | return cluster |
| 321 | |
| 322 | @classmethod |
| 323 | def start_cluster(cls, cluster, *, server_settings={}): |