Temporarily remove zfs as built in plugin

Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
Derek McGowan
2023-10-10 15:51:31 -07:00
parent a7333657af
commit cb969085f5
31 changed files with 8 additions and 2677 deletions

View File

@@ -1,19 +0,0 @@
//go:build solaris
// +build solaris
package zfs
import "strings"
var (
// List of ZFS properties to retrieve from zfs list command on a Solaris platform
dsPropList = []string{"name", "origin", "used", "available", "mountpoint", "compression", "type", "volsize", "quota", "referenced"}
dsPropListOptions = strings.Join(dsPropList, ",")
// List of Zpool properties to retrieve from zpool list command on a non-Solaris platform
zpoolPropList = []string{"name", "health", "allocated", "size", "free", "readonly", "dedupratio"}
zpoolPropListOptions = strings.Join(zpoolPropList, ",")
zpoolArgs = []string{"get", "-Hp", zpoolPropListOptions}
)