bring back aufs and zfs

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
Akihiro Suda
2019-10-30 17:33:54 +09:00
parent 4a1a1bc626
commit a2688b972c
16 changed files with 2517 additions and 9 deletions

18
vendor/github.com/mistifyio/go-zfs/error.go generated vendored Normal file
View File

@@ -0,0 +1,18 @@
package zfs
import (
"fmt"
)
// Error is an error which is returned when the `zfs` or `zpool` shell
// commands return with a non-zero exit code.
type Error struct {
Err error
Debug string
Stderr string
}
// Error returns the string representation of an Error.
func (e Error) Error() string {
return fmt.Sprintf("%s: %q => %s", e.Err, e.Debug, e.Stderr)
}