code: func (u *RBDUtil) DeleteImage(image string, pOpts *rbdProvisionOptions) error {
  	var output []byte
  	found, err := u.rbdStatus(image, pOpts)
  	if err != nil {
  		return err
  	}
  	if found {
  		klog.Info("rbd is still being used ", image)
  		return fmt.Errorf("rbd %s is still being used", image)
  	}
  	// rbd rm
  	mon := u.kernelRBDMonitorsOpt(pOpts.monitors)
  	klog.V(4).Infof("rbd: rm %s using mon %s, pool %s id %s key %s", image, mon, pOpts.pool, pOpts.adminID, pOpts.adminSecret)
  	args := []string{"rm", image, "--pool", pOpts.pool, "--id", pOpts.adminID, "-m", mon, "--key=" + pOpts.adminSecret}
  	output, err = u.execCommand("rbd", args)
  	if err == nil {
  		return nil
  	}
  	klog.Errorf("failed to delete rbd image: %v, command output: %s", err, string(output))
  	return err
  }
docs: // DeleteImage deletes a ceph image with provision and volume options.