Drops the specified cluster. # Panics Panics if the cluster still has replicas.
(&mut self, id: ClusterId)
| 438 | /// |
| 439 | /// Panics if the cluster still has replicas. |
| 440 | pub fn drop_cluster(&mut self, id: ClusterId) { |
| 441 | self.storage.drop_instance(id); |
| 442 | self.compute.drop_instance(id); |
| 443 | } |
| 444 | |
| 445 | /// Creates a replica of the specified cluster with the specified identifier |
| 446 | /// and configuration. |
no test coverage detected