Class ConsulPostConfigurer
Inheritance
System.Object
ConsulPostConfigurer
Namespace: Steeltoe.Discovery.Consul
Assembly: Steeltoe.Discovery.Consul.dll
Syntax
public static class ConsulPostConfigurer : object
Methods
| Edit this page View SourceUpdateDiscoveryOptions(IConfiguration, ConsulDiscoveryOptions, InetOptions)
Perform post-configuration on ConsulDiscoveryOptions
Declaration
public static void UpdateDiscoveryOptions(IConfiguration config, ConsulDiscoveryOptions options, InetOptions netOptions)
Parameters
Type | Name | Description |
---|---|---|
IConfiguration | config | Application Configuration |
ConsulDiscoveryOptions | options | ConsulDiscoveryOptions to configure |
InetOptions | netOptions | Optional InetOptions |
ValidateConsulOptions(ConsulOptions)
At PostConfigure, confirm that settings are valid for the current environment
Declaration
public static void ValidateConsulOptions(ConsulOptions options)
Parameters
Type | Name | Description |
---|---|---|
ConsulOptions | options | ConsulOptions to evaluate |