YarpConfigurationBuilder.AddClusterFromResource
Method
type YarpConfigurationBuilder interface { // ... omitted for brevity AddClusterFromResource(resource ResourceWithServiceDiscovery) YarpCluster}Signature
method
AddClusterFromResource Adds a cluster for a resource that supports service discovery.
AddClusterFromResource(resource ResourceWithServiceDiscovery) YarpClusterParameters
resourceResourceWithServiceDiscovery The resource target for this cluster.Returns
YarpCluster The created cluster.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: