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 NewFakeZCommandFromMockers ¶ added in v1.12.0
func NewFakeZCommandFromMockers(poolMocker *zpool.PoolMocker, volumeMocker *zfs.VolumeMocker) *FakeZcmd
NewFakeZCommandFromMockers returns new instance of FakeZcmd from MockPoolInfo
Click to show internal directories.
Click to hide internal directories.