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