new-integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/primitive/Kubernetes.java
public static V1ClusterRoleBindingList listClusterRoleBindings(String labelSelector) throws ApiException {
    V1ClusterRoleBindingList clusterRoleBindingList;
    try {
      clusterRoleBindingList = rbacAuthApi.listClusterRoleBinding(
              PRETTY, // String | If true, then the output is pretty printed.
              ALLOW_WATCH_BOOKMARKS, // Boolean | allowWatchBookmarks requests watch events with type "BOOKMARK".
              null, // String | The continue option should be set when retrieving more results from the server.
              null, // String | A selector to restrict the list of returned objects by their fields.
              labelSelector, // String | A selector to restrict the list of returned objects by their labels.
              null, // Integer | limit is a maximum number of responses to return for a list call.
              RESOURCE_VERSION, // String | Shows changes that occur after that particular version of a resource.
              TIMEOUT_SECONDS, // Integer | Timeout for the list/watch call.
              Boolean.FALSE // Boolean | Watch for changes to the described resources
      );
    } catch (ApiException apex) {
      getLogger().warning(apex.getResponseBody());
      throw apex;
    }
    return clusterRoleBindingList;
  }
/**
   * List cluster role bindings.
   *
   * @param labelSelector labels to narrow the list
   * @return V1ClusterRoleBindingList list of {@link V1CLusterRoleBinding} objects
   * @throws ApiException if Kubernetes client API call fails
   */
List cluster role bindings.
@param labelSelector labels to narrow the list
@return V1ClusterRoleBindingList list of  V1CLusterRoleBinding objects
@throws ApiException if Kubernetes client API call fails
List cluster role bindings . @param labelSelector labels to narrow the list @return V1ClusterRoleBindingList list of V1CLusterRoleBinding objects @throws ApiException if Kubernetes client API call fails
public static V1ClusterRoleBindingList listClusterRoleBindings(String labelSelector) throws ApiException {
    V1ClusterRoleBindingList clusterRoleBindingList;
    try {
      clusterRoleBindingList = rbacAuthApi.listClusterRoleBinding(
              PRETTY, 
              ALLOW_WATCH_BOOKMARKS, 
              null, 
              null, 
              labelSelector, 
              null, 
              RESOURCE_VERSION, 
              TIMEOUT_SECONDS, 
              Boolean.FALSE 
      );
    } catch (ApiException apex) {
      getLogger().warning(apex.getResponseBody());
      throw apex;
    }
    return clusterRoleBindingList;
  }
public static V1ClusterRoleBindingList listClusterRoleBindings ( String labelSelector ) throws ApiException { V1ClusterRoleBindingList clusterRoleBindingList ; try { clusterRoleBindingList = rbacAuthApi . listClusterRoleBinding ( PRETTY , ALLOW_WATCH_BOOKMARKS , null , null , labelSelector , null , RESOURCE_VERSION , TIMEOUT_SECONDS , Boolean . FALSE ) ; } catch ( ApiException apex ) { getLogger ( ) . warning ( apex . getResponseBody ( ) ) ; throw apex ; } return clusterRoleBindingList ; }
List cluster role bindings.
List cluster role bindings .
// String | If true, then the output is pretty printed. // Boolean | allowWatchBookmarks requests watch events with type "BOOKMARK". // String | The continue option should be set when retrieving more results from the server. // String | A selector to restrict the list of returned objects by their fields. // String | A selector to restrict the list of returned objects by their labels. // Integer | limit is a maximum number of responses to return for a list call. // String | Shows changes that occur after that particular version of a resource. // Integer | Timeout for the list/watch call. // Boolean | Watch for changes to the described resources