func DeleteTarget(tid int) error {
	opts := []string{
		"--lld", "iscsi",
		"--op", "delete",
		"--mode", "target",
		"--tid", strconv.Itoa(tid),
	}
	_, err := util.Execute(tgtBinary, opts)
	if err != nil {
		return err
	}
	return nil
}
DeleteTarget will remove a iSCSI target specified by tid
package iscsi
import (
	"bufio"
	"fmt"
	"io"
	"os"
	"os/exec"
	"strconv"
	"strings"
	"time"
	"github.com/longhorn/go-iscsi-helper/util"
)
var (
	TgtdRetryCounts   = 5
	TgtdRetryInterval = 1 * time.Second
)
const (
	tgtBinary = "tgtadm"
	maxTargetID = 4095
)
func CreateTarget(tid int, name string) error {
	opts := []string{
		"--lld", "iscsi",
		"--op", "new",
		"--mode", "target",
		"--tid", strconv.Itoa(tid),
		"-T", name,
	}
	_, err := util.Execute(tgtBinary, opts)
	if err != nil {
		return err
	}
	return nil
}