Package io.vertx.serviceresolver.kube
Class KubeResolverOptions
- java.lang.Object
-
- io.vertx.serviceresolver.ServiceResolverOptions
-
- io.vertx.serviceresolver.kube.KubeResolverOptions
-
public class KubeResolverOptions extends ServiceResolverOptions
-
-
Constructor Summary
Constructors Constructor Description KubeResolverOptions()
Constructor with default options, those might have been set from the pod environment when running in a pod.KubeResolverOptions(JsonObject json)
JSON constructorKubeResolverOptions(KubeResolverOptions other)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBearerToken()
HttpClientOptions
getHttpClientOptions()
String
getNamespace()
SocketAddress
getServer()
WebSocketClientOptions
getWebSocketClientOptions()
KubeResolverOptions
setBearerToken(String bearerToken)
KubeResolverOptions
setHttpClientOptions(HttpClientOptions httpClientOptions)
KubeResolverOptions
setNamespace(String namespace)
KubeResolverOptions
setServer(SocketAddress server)
Set the Kubernetes server addressKubeResolverOptions
setWebSocketClientOptions(WebSocketClientOptions webSocketClientOptions)
-
-
-
Constructor Detail
-
KubeResolverOptions
public KubeResolverOptions()
Constructor with default options, those might have been set from the pod environment when running in a pod.
-
KubeResolverOptions
public KubeResolverOptions(KubeResolverOptions other)
Default constructor.
-
KubeResolverOptions
public KubeResolverOptions(JsonObject json)
JSON constructor
-
-
Method Detail
-
getServer
public SocketAddress getServer()
- Returns:
- the Kubernetes server address
-
setServer
public KubeResolverOptions setServer(SocketAddress server)
Set the Kubernetes server address- Parameters:
server
- the address- Returns:
- this options instance
-
getNamespace
public String getNamespace()
-
setNamespace
public KubeResolverOptions setNamespace(String namespace)
-
getBearerToken
public String getBearerToken()
-
setBearerToken
public KubeResolverOptions setBearerToken(String bearerToken)
-
getHttpClientOptions
public HttpClientOptions getHttpClientOptions()
-
setHttpClientOptions
public KubeResolverOptions setHttpClientOptions(HttpClientOptions httpClientOptions)
-
getWebSocketClientOptions
public WebSocketClientOptions getWebSocketClientOptions()
-
setWebSocketClientOptions
public KubeResolverOptions setWebSocketClientOptions(WebSocketClientOptions webSocketClientOptions)
-
-