Deletes a resource based on its resource path (the URL path modulo host part).

        :Parameters:
           - `resource_path`: The path of the resource to delete, for example, `/api/v1/namespaces/default/replicationcontrollers/webserver-rc`

def delete_resource(self, resource_path):
        """
        Deletes a resource based on its resource path (the URL path modulo host part).

        :Parameters:
           - `resource_path`: The path of the resource to delete, for example, `/api/v1/namespaces/default/replicationcontrollers/webserver-rc`
        """
        res = self.execute_operation(method="DELETE", ops_path=resource_path)
        logging.info("Deleted resource %s" %(resource_path))
        return res