Class KubernetesDiscoveryClient
Inheritance
System.Object
KubernetesDiscoveryClient
Assembly: Steeltoe.Discovery.Kubernetes.dll
Syntax
public class KubernetesDiscoveryClient : IDiscoveryClient
Constructors
|
Edit this page
View Source
KubernetesDiscoveryClient(DefaultIsServicePortSecureResolver, IKubernetes, IOptionsMonitor<KubernetesDiscoveryOptions>, ILogger<KubernetesDiscoveryClient>)
Declaration
public KubernetesDiscoveryClient(DefaultIsServicePortSecureResolver isServicePortSecureResolver, IKubernetes kubernetesClient, IOptionsMonitor<KubernetesDiscoveryOptions> discoveryOptions, ILogger<KubernetesDiscoveryClient> logger = null)
Parameters
Properties
|
Edit this page
View Source
Description
Declaration
public string Description { get; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
KubernetesClient
Declaration
public IKubernetes KubernetesClient { get; set; }
Property Value
Type |
Description |
IKubernetes |
|
|
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(IDictionary<String, String>)
Declaration
public IList<string> GetServices(IDictionary<string, string> labels)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.String> |
labels |
|
Returns
Type |
Description |
IList<System.String> |
|
|
Edit this page
View Source
ShutdownAsync()
Declaration
public Task ShutdownAsync()
Returns