vendor: github.com/containerd/zfs v1.1.0
- update github.com/mistifyio/go-zfs dependency to github.com/mistifyio/go-zfs/v3, which contains various bugfixes, and adds go module support (which required a major version update): https://github.com/mistifyio/go-zfs/compare/f784269be439...v3.0.1 - remove github.com/pkg/errors dependency - various minor cleanups/fixes Full diff: https://github.com/containerd/zfs/compare/v1.0.0...v1.1.0 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
19
vendor/github.com/mistifyio/go-zfs/v3/utils_solaris.go
generated
vendored
Normal file
19
vendor/github.com/mistifyio/go-zfs/v3/utils_solaris.go
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
//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}
|
||||
)
|
||||
Reference in New Issue
Block a user