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<com.hazelcast.kubernetes.KubernetesClient.EndpointAddress> 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<com.hazelcast.kubernetes.KubernetesClient.EndpointAddress> privateAddresses) |
String |
getEndpointsByNameUrlString() |
String |
getEndpointsByServiceLabelUrlString() |
String |
getEndpointsUrlString() |
default com.hazelcast.kubernetes.KubernetesClientException |
noCorrespondingServicesException(Set<com.hazelcast.kubernetes.KubernetesClient.EndpointAddress> endpoints) |
default com.hazelcast.kubernetes.KubernetesClientException |
noNodeNameAssignedException(Set<com.hazelcast.kubernetes.KubernetesClient.EndpointAddress> 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<com.hazelcast.kubernetes.KubernetesClient.EndpointAddress> privateAddresses)
public Map<com.hazelcast.kubernetes.KubernetesClient.EndpointAddress,String> extractNodes(com.hazelcast.internal.json.JsonObject jsonObject, List<com.hazelcast.kubernetes.KubernetesClient.EndpointAddress> 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<com.hazelcast.kubernetes.KubernetesClient.EndpointAddress> endpoints)
public com.hazelcast.kubernetes.KubernetesClientException noNodeNameAssignedException(Set<com.hazelcast.kubernetes.KubernetesClient.EndpointAddress> 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 © 2022 Hazelcast, Inc.. All rights reserved.