Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FailNowSentinel = fmt.Errorf("platformtest: FailNow called on context")
View Source
var SkipNowSentinel = fmt.Errorf("platformtest: SkipNow called on context")
View Source
var ZpoolExportTimeout time.Duration = 500 * time.Millisecond
Functions ¶
Types ¶
type BookmarkOp ¶ added in v0.3.0
type Context ¶
type Context struct {
context.Context
RootDataset string
// Use this callback from a top-level test case to queue the
// execution of sub-tests after this test case is complete.
//
// Note that the testing harness executes the subtest
// _after_ the current top-level test. Hence, the subtest
// cannot use any ZFS state of the top-level test.
QueueSubtest func(id string, stf func(*Context))
}
type DestroyRootOp ¶
type DestroyRootOp struct {
Path string
}
type Execer ¶
type Zpool ¶
type Zpool struct {
// contains filtered or unexported fields
}
func CreateOrReplaceZpool ¶
type ZpoolCreateArgs ¶
func (ZpoolCreateArgs) Validate ¶
func (a ZpoolCreateArgs) Validate() error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.