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