InMemoryConfigProvider.Update Method

Definition

Overloads

Name Description
Update(IReadOnlyList<RouteConfig>, IReadOnlyList<ClusterConfig>)

Swaps the config state with a new snapshot of the configuration, then signals that the old one is outdated.

Update(IReadOnlyList<RouteConfig>, IReadOnlyList<ClusterConfig>, String)

Swaps the config state with a new snapshot of the configuration, then signals that the old one is outdated.

Update(IReadOnlyList<RouteConfig>, IReadOnlyList<ClusterConfig>)

Source:
InMemoryConfigProvider.cs
Source:
InMemoryConfigProvider.cs

Swaps the config state with a new snapshot of the configuration, then signals that the old one is outdated.

public void Update(System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.RouteConfig> routes, System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.ClusterConfig> clusters);
member this.Update : System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.RouteConfig> * System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.ClusterConfig> -> unit
Public Sub Update (routes As IReadOnlyList(Of RouteConfig), clusters As IReadOnlyList(Of ClusterConfig))

Parameters

Applies to

Update(IReadOnlyList<RouteConfig>, IReadOnlyList<ClusterConfig>, String)

Source:
InMemoryConfigProvider.cs
Source:
InMemoryConfigProvider.cs

Swaps the config state with a new snapshot of the configuration, then signals that the old one is outdated.

public void Update(System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.RouteConfig> routes, System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.ClusterConfig> clusters, string revisionId);
member this.Update : System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.RouteConfig> * System.Collections.Generic.IReadOnlyList<Yarp.ReverseProxy.Configuration.ClusterConfig> * string -> unit
Public Sub Update (routes As IReadOnlyList(Of RouteConfig), clusters As IReadOnlyList(Of ClusterConfig), revisionId As String)

Parameters

revisionId
String

Applies to