new-integration-tests/src/test/java/oracle/weblogic/kubernetes/actions/impl/primitive/Kubernetes.java
public static boolean deleteClusterRoleBinding(String name) {
    KubernetesApiResponse<V1ClusterRoleBinding> response = roleBindingClient.delete(name, deleteOptions);

    if (!response.isSuccess()) {
      getLogger().warning(
              "Failed to delete Cluster Role Binding '" + name + " with HTTP status code: " + response
                      .getHttpStatusCode());
      return false;
    }

    if (response.getObject() != null) {
      getLogger().info(
              "Received after-deletion status of the requested object, will be deleting "
                      + "Cluster Role Binding " + name + " in background!");
    }

    return true;
  }
/**
   * Delete Cluster Role Binding.
   *
   * @param name name of cluster role binding
   * @return true if successful, false otherwise
   */
Delete Cluster Role Binding.
@param name name of cluster role binding
@return true if successful, false otherwise
Delete Cluster Role Binding . @param name name of cluster role binding @return true if successful false otherwise
public static boolean deleteClusterRoleBinding(String name) {
    KubernetesApiResponse<V1ClusterRoleBinding> response = roleBindingClient.delete(name, deleteOptions);
    if (!response.isSuccess()) {
      getLogger().warning(
              "Failed to delete Cluster Role Binding '" + name + " with HTTP status code: " + response
                      .getHttpStatusCode());
      return false;
    }
    if (response.getObject() != null) {
      getLogger().info(
              "Received after-deletion status of the requested object, will be deleting "
                      + "Cluster Role Binding " + name + " in background!");
    }
    return true;
  }
public static boolean deleteClusterRoleBinding ( String name ) { KubernetesApiResponse < V1ClusterRoleBinding > response = roleBindingClient . delete ( name , deleteOptions ) ; if ( ! response . isSuccess ( ) ) { getLogger ( ) . warning ( "Failed to delete Cluster Role Binding '" + name + " with HTTP status code: " + response . getHttpStatusCode ( ) ) ; return false ; } if ( response . getObject ( ) != null ) { getLogger ( ) . info ( "Received after-deletion status of the requested object, will be deleting " + "Cluster Role Binding " + name + " in background!" ) ; } return true ; }
Delete Cluster Role Binding.
Delete Cluster Role Binding .