Class EurekaPostConfigurer
Inheritance
System.Object
EurekaPostConfigurer
Namespace: Steeltoe.Discovery.Eureka
Assembly: Steeltoe.Discovery.Eureka.dll
Syntax
public static class EurekaPostConfigurer : object
Fields
| Edit this page View SourceSPRING_CLOUD_DISCOVERY_REGISTRATIONMETHOD_KEY
Declaration
public const string SPRING_CLOUD_DISCOVERY_REGISTRATIONMETHOD_KEY = null
Field Value
Type | Description |
---|---|
System.String |
Methods
| Edit this page View SourceUpdateConfiguration(IConfiguration, EurekaServiceInfo, EurekaClientOptions)
Update EurekaClientOptions with information from the runtime environment
Declaration
public static void UpdateConfiguration(IConfiguration config, EurekaServiceInfo si, EurekaClientOptions clientOptions)
Parameters
Type | Name | Description |
---|---|---|
IConfiguration | config | Application Configuration |
EurekaServiceInfo | si | EurekaServiceInfo for bound Eureka server(s) |
EurekaClientOptions | clientOptions | Eureka client configuration (for interacting with the Eureka Server) |
UpdateConfiguration(IConfiguration, EurekaServiceInfo, EurekaInstanceOptions, IApplicationInstanceInfo)
Update EurekaInstanceOptions with information from the runtime environment
Declaration
public static void UpdateConfiguration(IConfiguration config, EurekaServiceInfo si, EurekaInstanceOptions instOptions, IApplicationInstanceInfo appInfo)
Parameters
Type | Name | Description |
---|---|---|
IConfiguration | config | Application Configuration |
EurekaServiceInfo | si | EurekaServiceInfo for bound Eureka server(s) |
EurekaInstanceOptions | instOptions | Eureka instance information (for identifying the application) |
IApplicationInstanceInfo | appInfo | Information about this application instance |
UpdateConfiguration(IConfiguration, EurekaInstanceOptions, IApplicationInstanceInfo)
Update EurekaInstanceOptions with information from the runtime environment
Declaration
public static void UpdateConfiguration(IConfiguration config, EurekaInstanceOptions options, IApplicationInstanceInfo instanceInfo)
Parameters
Type | Name | Description |
---|---|---|
IConfiguration | config | Application Configuration |
EurekaInstanceOptions | options | Eureka instance information (for identifying the application) |
IApplicationInstanceInfo | instanceInfo | Information about this application instance |