Table of Contents

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

serviceName string
port int?
serviceLabels IDictionary<string, string>
serviceAnnotations IDictionary<string, string>

Methods

GetPort()

public int? GetPort()

Returns

int?

GetServiceAnnotations()

public IDictionary<string, string> GetServiceAnnotations()

Returns

IDictionary<string, string>

GetServiceLabels()

public IDictionary<string, string> GetServiceLabels()

Returns

IDictionary<string, string>

GetServiceName()

public string GetServiceName()

Returns

string