Class Input
- Namespace
- Steeltoe.Discovery.Kubernetes.Discovery
- 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 Input
- Inheritance
-
Input
- Inherited Members
Constructors
Input(string, int?, IDictionary<string, string>, IDictionary<string, string>)
public Input(string serviceName, int? port = null, IDictionary<string, string> serviceLabels = null, IDictionary<string, string> serviceAnnotations = null)
Parameters
serviceNamestringportint?serviceLabelsIDictionary<string, string>serviceAnnotationsIDictionary<string, string>
Methods
GetPort()
public int? GetPort()
Returns
- int?
GetServiceAnnotations()
public IDictionary<string, string> GetServiceAnnotations()
Returns
GetServiceLabels()
public IDictionary<string, string> GetServiceLabels()
Returns
GetServiceName()
public string GetServiceName()