def METHOD_NAME(cluster_id: str) -> ClusterType:
    """根据集群 ID 获取集群类型（独立/联邦/共享）"""
    for cluster in cm.get_shared_clusters():
        if cluster_id == cluster['cluster_id']:
            return ClusterType.SHARED
    return ClusterType.SINGLE