code: List<Endpoint> endpointsByName(String endpointName) {
          try {
              String urlString = String.format("%s/api/v1/namespaces/%s/endpoints/%s", kubernetesMaster, namespace, endpointName);
              return enrichWithPublicAddresses(parseEndpoints(callGet(urlString)));
          } catch (RestClientException e) {
              return handleKnownException(e);
          }
      }
docs: Retrieves POD addresses from the specified {@code namespace} and the given {@code endpointName}.
  
  @param endpointName endpoint name
  @return all POD addresses from the specified {@code namespace} and the given {@code endpointName}
  @see <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.11/#list-143">Kubernetes Endpoint API</a>