new-integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/primitive/Kubernetes.java
public static V1ServiceList listServices(String namespace) {

    KubernetesApiResponse<V1ServiceList> list = serviceClient.list(namespace);
    if (list.isSuccess()) {
      return list.getObject();
    } else {
      getLogger().warning("Failed to list services in namespace {0}, status code {1}",
              namespace, list.getHttpStatusCode());
      return null;
    }
  }
/**
   * List services in a given namespace.
   *
   * @param namespace name of the namespace
   * @return V1ServiceList list of {@link V1Service} objects
   */
List services in a given namespace.
@param namespace name of the namespace
@return V1ServiceList list of  V1Service objects
List services in a given namespace . @param namespace name of the namespace @return V1ServiceList list of V1Service objects
public static V1ServiceList listServices(String namespace) {
    KubernetesApiResponse<V1ServiceList> list = serviceClient.list(namespace);
    if (list.isSuccess()) {
      return list.getObject();
    } else {
      getLogger().warning("Failed to list services in namespace {0}, status code {1}",
              namespace, list.getHttpStatusCode());
      return null;
    }
  }
public static V1ServiceList listServices ( String namespace ) { KubernetesApiResponse < V1ServiceList > list = serviceClient . list ( namespace ) ; if ( list . isSuccess ( ) ) { return list . getObject ( ) ; } else { getLogger ( ) . warning ( "Failed to list services in namespace {0}, status code {1}" , namespace , list . getHttpStatusCode ( ) ) ; return null ; } }
List services in a given namespace.
List services in a given namespace .