Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeZcmd ¶
type FakeZcmd struct {
// contains filtered or unexported fields
}
FakeZcmd holds the Pool and Volumes information which will helpful to mocking zpool and zfs commands
func NewFakeZCommand ¶
func NewFakeZCommand() *FakeZcmd
NewFakeZCommand returns new instance of FakeZcmd
func NewFakeZCommandFromPoolMocker ¶
func NewFakeZCommandFromPoolMocker(poolMocker *zpool.PoolMocker) *FakeZcmd
NewFakeZCommandFromPoolMocker returns new instance of FakeZcmd from MockPoolInfo
Click to show internal directories.
Click to hide internal directories.