new-integration-tests/src/test/java/oracle/weblogic/kubernetes/assertions/impl/Kubernetes.java
public static V1PersistentVolumeList listPersistentVolumes(String labels) throws ApiException {
    V1PersistentVolumeList listPersistentVolume;
    try {
      listPersistentVolume = coreV1Api.listPersistentVolume(
          Boolean.FALSE.toString(), // pretty print output
          Boolean.FALSE, // allowWatchBookmarks requests watch events with type "BOOKMARK"
          null, // set when retrieving more results from the server
          null, // selector to restrict the list of returned objects by their fields
          labels, // selector to restrict the list of returned objects by their labels
          null, // maximum number of responses to return for a list call
          "", // shows changes that occur after that particular version of a resource
          5, // Timeout for the list/watch call
          false // Watch for changes to the described resources
      );
    } catch (ApiException apex) {
      getLogger().severe(apex.getResponseBody());
      throw apex;
    }
    return listPersistentVolume;
  }
/**
   * List persistent volumes in the Kubernetes cluster based on the label.
   *
   * @param labels String containing the labels the PV is decorated with
   * @return V1PersistentVolumeList list of Persistent Volumes
   * @throws ApiException when Kubernetes client API call fails
   */
List persistent volumes in the Kubernetes cluster based on the label.
@param labels String containing the labels the PV is decorated with
@return V1PersistentVolumeList list of Persistent Volumes
@throws ApiException when Kubernetes client API call fails
List persistent volumes in the Kubernetes cluster based on the label . @param labels String containing the labels the PV is decorated with @return V1PersistentVolumeList list of Persistent Volumes @throws ApiException when Kubernetes client API call fails
public static V1PersistentVolumeList listPersistentVolumes(String labels) throws ApiException {
    V1PersistentVolumeList listPersistentVolume;
    try {
      listPersistentVolume = coreV1Api.listPersistentVolume(
          Boolean.FALSE.toString(), 
          Boolean.FALSE, 
          null, 
          null, 
          labels, 
          null, 
          "", 
          5, 
          false 
      );
    } catch (ApiException apex) {
      getLogger().severe(apex.getResponseBody());
      throw apex;
    }
    return listPersistentVolume;
  }
public static V1PersistentVolumeList listPersistentVolumes ( String labels ) throws ApiException { V1PersistentVolumeList listPersistentVolume ; try { listPersistentVolume = coreV1Api . listPersistentVolume ( Boolean . FALSE . toString ( ) , Boolean . FALSE , null , null , labels , null , "" , 5 , false ) ; } catch ( ApiException apex ) { getLogger ( ) . severe ( apex . getResponseBody ( ) ) ; throw apex ; } return listPersistentVolume ; }
List persistent volumes in the Kubernetes cluster based on the label.
List persistent volumes in the Kubernetes cluster based on the label .
// pretty print output // allowWatchBookmarks requests watch events with type "BOOKMARK" // set when retrieving more results from the server // selector to restrict the list of returned objects by their fields // selector to restrict the list of returned objects by their labels // maximum number of responses to return for a list call // shows changes that occur after that particular version of a resource // Timeout for the list/watch call // Watch for changes to the described resources