new-integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/primitive/Kubernetes.java
public static boolean deleteClusterRole(String name) throws ApiException {
    try {
      rbacAuthApi.deleteClusterRole(
              name, // String | name of the role.
              PRETTY, // String | pretty print output.
              null, // String | When present, indicates that modifications should not be persisted.
              GRACE_PERIOD, // Integer | The duration in seconds before the object should be deleted.
              null, // Boolean | Deprecated: use the PropagationPolicy.
              FOREGROUND, // String | Whether and how garbage collection will be performed.
              null // V1DeleteOptions.
      );
    } catch (ApiException apex) {
      getLogger().warning(apex.getResponseBody());
      throw apex;
    }
    return true;
  }
/**
   * Delete a cluster role.
   *
   * @param name name of the cluster role to delete
   * @return true if deletion was successful
   * @throws ApiException when delete cluster role fails
   */
Delete a cluster role.
@param name name of the cluster role to delete
@return true if deletion was successful
@throws ApiException when delete cluster role fails
Delete a cluster role . @param name name of the cluster role to delete @return true if deletion was successful @throws ApiException when delete cluster role fails
public static boolean deleteClusterRole(String name) throws ApiException {
    try {
      rbacAuthApi.deleteClusterRole(
              name, 
              PRETTY, 
              null, 
              GRACE_PERIOD, 
              null, 
              FOREGROUND, 
              null 
      );
    } catch (ApiException apex) {
      getLogger().warning(apex.getResponseBody());
      throw apex;
    }
    return true;
  }
public static boolean deleteClusterRole ( String name ) throws ApiException { try { rbacAuthApi . deleteClusterRole ( name , PRETTY , null , GRACE_PERIOD , null , FOREGROUND , null ) ; } catch ( ApiException apex ) { getLogger ( ) . warning ( apex . getResponseBody ( ) ) ; throw apex ; } return true ; }
Delete a cluster role.
Delete a cluster role .
// String | name of the role. // String | pretty print output. // String | When present, indicates that modifications should not be persisted. // Integer | The duration in seconds before the object should be deleted. // Boolean | Deprecated: use the PropagationPolicy. // String | Whether and how garbage collection will be performed. // V1DeleteOptions.