public class KubernetesApiEndpointSlicesProvider extends Object
Constructor and Description |
---|
KubernetesApiEndpointSlicesProvider() |
Modifier and Type | Method and Description |
---|---|
static String |
convertToString(com.hazelcast.internal.json.JsonValue jsonValue) |
default Map<String,String> |
extractAdditionalPropertiesFrom(com.hazelcast.internal.json.JsonValue endpointAddressJson) |
Map<com.hazelcast.kubernetes.KubernetesClient.EndpointAddress,String> |
extractNodes(com.hazelcast.internal.json.JsonObject jsonObject,
List<String> privateAddresses) |
default Integer |
extractPort(com.hazelcast.internal.json.JsonValue subsetJson) |
Map<com.hazelcast.kubernetes.KubernetesClient.EndpointAddress,String> |
extractServices(com.hazelcast.internal.json.JsonObject endpointsListJson,
List<String> privateAddresses) |
String |
getEndpointsByNameUrlString() |
String |
getEndpointsByServiceLabelUrlString() |
String |
getEndpointsUrlString() |
default com.hazelcast.kubernetes.KubernetesClientException |
noCorrespondingServicesException(Set<String> endpoints) |
default com.hazelcast.kubernetes.KubernetesClientException |
noNodeNameAssignedException(Set<String> endpoints) |
List<com.hazelcast.kubernetes.KubernetesClient.Endpoint> |
parseEndpoints(com.hazelcast.internal.json.JsonValue jsonValue) |
List<com.hazelcast.kubernetes.KubernetesClient.Endpoint> |
parseEndpointsList(com.hazelcast.internal.json.JsonObject jsonObject) |
static com.hazelcast.internal.json.JsonArray |
toJsonArray(com.hazelcast.internal.json.JsonValue jsonValue) |
public String getEndpointsByServiceLabelUrlString()
public String getEndpointsByNameUrlString()
public String getEndpointsUrlString()
public List<com.hazelcast.kubernetes.KubernetesClient.Endpoint> parseEndpointsList(com.hazelcast.internal.json.JsonObject jsonObject)
public List<com.hazelcast.kubernetes.KubernetesClient.Endpoint> parseEndpoints(com.hazelcast.internal.json.JsonValue jsonValue)
public Map<com.hazelcast.kubernetes.KubernetesClient.EndpointAddress,String> extractServices(com.hazelcast.internal.json.JsonObject endpointsListJson, List<String> privateAddresses)
public Map<com.hazelcast.kubernetes.KubernetesClient.EndpointAddress,String> extractNodes(com.hazelcast.internal.json.JsonObject jsonObject, List<String> privateAddresses)
public Integer extractPort(com.hazelcast.internal.json.JsonValue subsetJson)
public Map<String,String> extractAdditionalPropertiesFrom(com.hazelcast.internal.json.JsonValue endpointAddressJson)
public com.hazelcast.kubernetes.KubernetesClientException noCorrespondingServicesException(Set<String> endpoints)
public com.hazelcast.kubernetes.KubernetesClientException noNodeNameAssignedException(Set<String> endpoints)
public static com.hazelcast.internal.json.JsonArray toJsonArray(com.hazelcast.internal.json.JsonValue jsonValue)
public static String convertToString(com.hazelcast.internal.json.JsonValue jsonValue)
Copyright © 2024 Hazelcast, Inc.. All rights reserved.