clusters, err := client.Clusters.List(ctx)
func (*ClusterClient) List(ctx context.Context) ([]*workflows.Cluster, error)

Fetch all available clusters.

Returns

A list of all available clusters.

clusters, err := client.Clusters.List(ctx)