Class KubernetesDiscoveryClientExtension
- Namespace
- Steeltoe.Discovery.Kubernetes
- Assembly
- Steeltoe.Discovery.Kubernetes.dll
[Obsolete("This feature will be removed in the next major version. See https://steeltoe.io/docs/v3/obsolete for details.")]
public class KubernetesDiscoveryClientExtension : IDiscoveryClientExtension
- Inheritance
-
KubernetesDiscoveryClientExtension
- Implements
- Inherited Members
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
servicesIServiceCollectionMicrosoft.Extensions.DependencyInjection.IServiceCollection to configure
IsConfigured(IConfiguration, IServiceInfo)
Check if this client has been configured
public bool IsConfigured(IConfiguration configuration, IServiceInfo serviceInfo = null)
Parameters
configurationIConfigurationApplication Configuration to search
serviceInfoIServiceInfoService binding credentials
Returns
- bool
Value indicating presence of expected configuration keys