Table of Contents

Class EurekaDiscoveryClientExtension

Namespace
Steeltoe.Discovery.Eureka
Assembly
Steeltoe.Discovery.Eureka.dll
public class EurekaDiscoveryClientExtension : IDiscoveryClientExtension
Inheritance
EurekaDiscoveryClientExtension
Implements
Inherited Members

Constructors

EurekaDiscoveryClientExtension()

public EurekaDiscoveryClientExtension()

EurekaDiscoveryClientExtension(string)

public EurekaDiscoveryClientExtension(string serviceInfoName)

Parameters

serviceInfoName string

Fields

EUREKA_PREFIX

public const string EUREKA_PREFIX = "eureka"

Field Value

string

Properties

ServiceInfoName

public string ServiceInfoName { get; }

Property Value

string

Methods

ApplyServices(IServiceCollection)

Implementations of this method will add services required by the IDiscoveryClient to the service collection for activation later

public void ApplyServices(IServiceCollection services)

Parameters

services IServiceCollection

Microsoft.Extensions.DependencyInjection.IServiceCollection to configure

IsConfigured(IConfiguration, IServiceInfo)

Check if this client has been configured

public bool IsConfigured(IConfiguration configuration, IServiceInfo serviceInfo = null)

Parameters

configuration IConfiguration

Application Configuration to search

serviceInfo IServiceInfo

Service binding credentials

Returns

bool

Value indicating presence of expected configuration keys