Show / Hide Table of Contents

Interface IAvailableDestinationsPolicy

Policy evaluating which destinations should be available for proxying requests to.

Namespace: Yarp.ReverseProxy.Health
Assembly: Yarp.ReverseProxy.dll
Syntax
public interface IAvailableDestinationsPolicy

Properties

| Improve this Doc View Source

Name

Policy name.

Declaration
string Name { get; }
Property Value
Type Description
String

Methods

| Improve this Doc View Source

GetAvailalableDestinations(ClusterConfig, IReadOnlyList<DestinationState>)

Reviews all given destinations and returns the ones available for proxying requests to.

Declaration
IReadOnlyList<DestinationState> GetAvailalableDestinations(ClusterConfig config, IReadOnlyList<DestinationState> allDestinations)
Parameters
Type Name Description
ClusterConfig config

Target cluster.

IReadOnlyList<DestinationState> allDestinations

All destinations configured for the target cluster.

Returns
Type Description
IReadOnlyList<DestinationState>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX