new-integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/primitive/Kubernetes.java
public static DomainList listDomains(String namespace) {
    KubernetesApiResponse<DomainList> response = null;
    try {
      response = crdClient.list(namespace);
    } catch (Exception ex) {
      getLogger().warning(ex.getMessage());
      throw ex;
    }
    return response != null ? response.getObject() : new DomainList();
  }
/**
   * List Domain Custom Resources for a given namespace.
   *
   * @param namespace name of namespace
   * @return List of Domain Custom Resources
   */
List Domain Custom Resources for a given namespace.
@param namespace name of namespace
@return List of Domain Custom Resources
List Domain Custom Resources for a given namespace . @param namespace name of namespace @return List of Domain Custom Resources
public static DomainList listDomains(String namespace) {
    KubernetesApiResponse<DomainList> response = null;
    try {
      response = crdClient.list(namespace);
    } catch (Exception ex) {
      getLogger().warning(ex.getMessage());
      throw ex;
    }
    return response != null ? response.getObject() : new DomainList();
  }
public static DomainList listDomains ( String namespace ) { KubernetesApiResponse < DomainList > response = null ; try { response = crdClient . list ( namespace ) ; } catch ( Exception ex ) { getLogger ( ) . warning ( ex . getMessage ( ) ) ; throw ex ; } return response != null ? response . getObject ( ) : new DomainList ( ) ; }
List Domain Custom Resources for a given namespace.
List Domain Custom Resources for a given namespace .