Skip to main content

get_cluster_config

Function get_cluster_config 

Source
pub(super) async fn get_cluster_config(
    client: &Client,
    name: &str,
) -> Result<Option<ClusterConfig>, ConnectionError>
Expand description

Get cluster configuration including replicas and grants.

This fetches all information needed to clone a cluster’s configuration:

  • For managed clusters: size and replication factor
  • For unmanaged clusters: replica configurations
  • For both: privilege grants