AddClusterFromResource
Method
func (YarpConfigurationBuilder) AddClusterFromResource(resource ResourceWithServiceDiscovery) YarpClusterSignature
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().
Applies to
This method applies to the following types: