new-integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/primitive/Kubernetes.java
public static V1ServiceAccountList listServiceAccounts(String namespace) {
    KubernetesApiResponse<V1ServiceAccountList> list = serviceAccountClient.list(namespace);
    if (list.isSuccess()) {
      return list.getObject();
    } else {
      getLogger().warning("Failed to list service accounts, status code {0}", list.getHttpStatusCode());
      return null;
    }
  }
/**
   * List all service accounts in the Kubernetes cluster.
   *
   * @param namespace Namespace in which to list all service accounts
   * @return V1ServiceAccountList of service accounts
   */
List all service accounts in the Kubernetes cluster.
@param namespace Namespace in which to list all service accounts
@return V1ServiceAccountList of service accounts
List all service accounts in the Kubernetes cluster . @param namespace Namespace in which to list all service accounts @return V1ServiceAccountList of service accounts
public static V1ServiceAccountList listServiceAccounts(String namespace) {
    KubernetesApiResponse<V1ServiceAccountList> list = serviceAccountClient.list(namespace);
    if (list.isSuccess()) {
      return list.getObject();
    } else {
      getLogger().warning("Failed to list service accounts, status code {0}", list.getHttpStatusCode());
      return null;
    }
  }
public static V1ServiceAccountList listServiceAccounts ( String namespace ) { KubernetesApiResponse < V1ServiceAccountList > list = serviceAccountClient . list ( namespace ) ; if ( list . isSuccess ( ) ) { return list . getObject ( ) ; } else { getLogger ( ) . warning ( "Failed to list service accounts, status code {0}" , list . getHttpStatusCode ( ) ) ; return null ; } }
List all service accounts in the Kubernetes cluster.
List all service accounts in the Kubernetes cluster .