Class EurekaDiscoveryClient
Inheritance
System.Object
EurekaDiscoveryClient
Implements
IDiscoveryClient
Assembly: Steeltoe.Discovery.Eureka.dll
Syntax
public class EurekaDiscoveryClient : DiscoveryClient, IEurekaClient, ILookupService
Constructors
|
Edit this page
View Source
EurekaDiscoveryClient(IOptionsMonitor<EurekaClientOptions>, IOptionsMonitor<EurekaInstanceOptions>, EurekaApplicationInfoManager, IEurekaHttpClient, ILoggerFactory, IHttpClientHandlerProvider, HttpClient)
Declaration
public EurekaDiscoveryClient(IOptionsMonitor<EurekaClientOptions> clientConfig, IOptionsMonitor<EurekaInstanceOptions> instConfig, EurekaApplicationInfoManager appInfoManager, IEurekaHttpClient httpClient = null, ILoggerFactory logFactory = null, IHttpClientHandlerProvider handlerProvider = null, HttpClient netHttpClient = null)
Parameters
Properties
|
Edit this page
View Source
ClientConfig
Declaration
public override IEurekaClientConfig ClientConfig { get; }
Property Value
Overrides
|
Edit this page
View Source
Description
Declaration
public string Description { get; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
Services
Declaration
public IList<string> Services { get; }
Property Value
Type |
Description |
IList<System.String> |
|
Methods
|
Edit this page
View Source
GetInstances(String)
Declaration
public IList<IServiceInstance> GetInstances(string serviceId)
Parameters
Type |
Name |
Description |
System.String |
serviceId |
|
Returns
Type |
Description |
IList<IServiceInstance> |
|
|
Edit this page
View Source
GetLocalServiceInstance()
Declaration
public IServiceInstance GetLocalServiceInstance()
Returns
Type |
Description |
IServiceInstance |
|
|
Edit this page
View Source
GetServices()
Declaration
public IList<string> GetServices()
Returns
Type |
Description |
IList<System.String> |
|
|
Edit this page
View Source
ShutdownAsync()
Declaration
public override System.Threading.Tasks.Task ShutdownAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Overrides
Implements
IDiscoveryClient