YarpConfigurationBuilder.AddClusterWithDestination

Method
📦 Aspire.Hosting.Yarp v17.0.0
type YarpConfigurationBuilder interface {
// ... omitted for brevity
AddClusterWithDestination(
clusterName string,
destination any,
) YarpCluster
}

Signature

methodAddClusterWithDestination
Adds a cluster from a single destination.
AddClusterWithDestination(
clusterName string,
destination any,
) YarpCluster
clusterNamestringThe name of the cluster.
destinationanyThe destination used by this cluster.
YarpCluster

The created cluster.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: