Package | Description |
---|---|
io.vertx.ext.consul | |
io.vertx.rxjava.ext.consul |
Modifier and Type | Method and Description |
---|---|
ConsulClientOptions |
ConsulClientOptions.setAclToken(String aclToken)
Set the ACL token.
|
ConsulClientOptions |
ConsulClientOptions.setDc(String dc)
Set the datacenter name.
|
ConsulClientOptions |
ConsulClientOptions.setHost(String host)
Set Consul host.
|
ConsulClientOptions |
ConsulClientOptions.setPemTrustOptions(PemTrustOptions pemTrustOptions)
Set the trust options.
|
ConsulClientOptions |
ConsulClientOptions.setPort(int port)
Set Consul HTTP API port.
|
ConsulClientOptions |
ConsulClientOptions.setSsl(boolean ssl)
Set whether SSL/TLS is enabled
|
ConsulClientOptions |
ConsulClientOptions.setTimeoutMs(long timeoutMs)
Sets the amount of time (in milliseconds) after which if the request does not return any data
within the timeout period an failure will be passed to the handler and the request will be closed.
|
ConsulClientOptions |
ConsulClientOptions.setTrustAll(boolean trustAll)
Set whether all server certificates should be trusted
|
Modifier and Type | Method and Description |
---|---|
static ConsulClient |
ConsulClient.create(Vertx vertx,
ConsulClientOptions options)
Create a Consul client.
|
static void |
ConsulClientOptionsConverter.fromJson(JsonObject json,
ConsulClientOptions obj) |
static void |
ConsulClientOptionsConverter.toJson(ConsulClientOptions obj,
JsonObject json) |
Constructor and Description |
---|
ConsulClientOptions(ConsulClientOptions options)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
static ConsulClient |
ConsulClient.create(Vertx vertx,
ConsulClientOptions options)
Create a Consul client.
|
Copyright © 2017. All rights reserved.