public final class CatalogConsulClient extends java.lang.Object implements CatalogClient
| Constructor and Description |
|---|
CatalogConsulClient() |
CatalogConsulClient(ConsulRawClient rawClient) |
CatalogConsulClient(java.lang.String agentHost) |
CatalogConsulClient(java.lang.String agentHost,
int agentPort) |
CatalogConsulClient(java.lang.String agentHost,
int agentPort,
TLSConfig tlsConfig) |
CatalogConsulClient(java.lang.String agentHost,
TLSConfig tlsConfig) |
CatalogConsulClient(TLSConfig tlsConfig) |
| Modifier and Type | Method and Description |
|---|---|
Response<java.lang.Void> |
catalogDeregister(CatalogDeregistration catalogDeregistration) |
Response<java.lang.Void> |
catalogDeregister(CatalogDeregistration catalogDeregistration,
java.lang.String token) |
Response<java.lang.Void> |
catalogRegister(CatalogRegistration catalogRegistration) |
Response<java.lang.Void> |
catalogRegister(CatalogRegistration catalogRegistration,
java.lang.String token) |
Response<java.util.List<java.lang.String>> |
getCatalogDatacenters() |
Response<CatalogNode> |
getCatalogNode(java.lang.String nodeName,
QueryParams queryParams) |
Response<java.util.List<Node>> |
getCatalogNodes(CatalogNodesRequest catalogNodesRequest) |
Response<java.util.List<Node>> |
getCatalogNodes(QueryParams queryParams) |
Response<java.util.List<CatalogService>> |
getCatalogService(java.lang.String serviceName,
CatalogServiceRequest catalogServiceRequest) |
Response<java.util.List<CatalogService>> |
getCatalogService(java.lang.String serviceName,
QueryParams queryParams) |
Response<java.util.List<CatalogService>> |
getCatalogService(java.lang.String serviceName,
QueryParams queryParams,
java.lang.String token) |
Response<java.util.List<CatalogService>> |
getCatalogService(java.lang.String serviceName,
java.lang.String tag,
QueryParams queryParams) |
Response<java.util.List<CatalogService>> |
getCatalogService(java.lang.String serviceName,
java.lang.String tag,
QueryParams queryParams,
java.lang.String token) |
Response<java.util.Map<java.lang.String,java.util.List<java.lang.String>>> |
getCatalogServices(CatalogServicesRequest catalogServicesRequest) |
Response<java.util.Map<java.lang.String,java.util.List<java.lang.String>>> |
getCatalogServices(QueryParams queryParams) |
Response<java.util.Map<java.lang.String,java.util.List<java.lang.String>>> |
getCatalogServices(QueryParams queryParams,
java.lang.String token) |
public CatalogConsulClient(ConsulRawClient rawClient)
public CatalogConsulClient()
public CatalogConsulClient(TLSConfig tlsConfig)
public CatalogConsulClient(java.lang.String agentHost)
public CatalogConsulClient(java.lang.String agentHost,
TLSConfig tlsConfig)
public CatalogConsulClient(java.lang.String agentHost,
int agentPort)
public CatalogConsulClient(java.lang.String agentHost,
int agentPort,
TLSConfig tlsConfig)
public Response<java.lang.Void> catalogRegister(CatalogRegistration catalogRegistration)
catalogRegister in interface CatalogClientpublic Response<java.lang.Void> catalogRegister(CatalogRegistration catalogRegistration, java.lang.String token)
catalogRegister in interface CatalogClientpublic Response<java.lang.Void> catalogDeregister(CatalogDeregistration catalogDeregistration)
catalogDeregister in interface CatalogClientpublic Response<java.lang.Void> catalogDeregister(CatalogDeregistration catalogDeregistration, java.lang.String token)
catalogDeregister in interface CatalogClientpublic Response<java.util.List<java.lang.String>> getCatalogDatacenters()
getCatalogDatacenters in interface CatalogClientpublic Response<java.util.List<Node>> getCatalogNodes(QueryParams queryParams)
getCatalogNodes in interface CatalogClientpublic Response<java.util.List<Node>> getCatalogNodes(CatalogNodesRequest catalogNodesRequest)
getCatalogNodes in interface CatalogClientpublic Response<java.util.Map<java.lang.String,java.util.List<java.lang.String>>> getCatalogServices(QueryParams queryParams)
getCatalogServices in interface CatalogClientpublic Response<java.util.Map<java.lang.String,java.util.List<java.lang.String>>> getCatalogServices(QueryParams queryParams, java.lang.String token)
getCatalogServices in interface CatalogClientpublic Response<java.util.Map<java.lang.String,java.util.List<java.lang.String>>> getCatalogServices(CatalogServicesRequest catalogServicesRequest)
getCatalogServices in interface CatalogClientpublic Response<java.util.List<CatalogService>> getCatalogService(java.lang.String serviceName, QueryParams queryParams)
getCatalogService in interface CatalogClientpublic Response<java.util.List<CatalogService>> getCatalogService(java.lang.String serviceName, QueryParams queryParams, java.lang.String token)
getCatalogService in interface CatalogClientpublic Response<java.util.List<CatalogService>> getCatalogService(java.lang.String serviceName, java.lang.String tag, QueryParams queryParams)
getCatalogService in interface CatalogClientpublic Response<java.util.List<CatalogService>> getCatalogService(java.lang.String serviceName, java.lang.String tag, QueryParams queryParams, java.lang.String token)
getCatalogService in interface CatalogClientpublic Response<java.util.List<CatalogService>> getCatalogService(java.lang.String serviceName, CatalogServiceRequest catalogServiceRequest)
getCatalogService in interface CatalogClientpublic Response<CatalogNode> getCatalogNode(java.lang.String nodeName, QueryParams queryParams)
getCatalogNode in interface CatalogClient