Versions in this module Expand all Collapse all v0 v0.7.0 Feb 15, 2026 Changes in this version + var FailNowSentinel = fmt.Errorf("platformtest: FailNow called on context") + var SkipNowSentinel = fmt.Errorf("platformtest: SkipNow called on context") + var ZpoolExportTimeout time.Duration = 500 * time.Millisecond + func Run(ctx context.Context, rk RunKind, rootds string, stmtsStr string) + type BookmarkOp struct + Bookmark string + Existing string + Op Op + func (o *BookmarkOp) Run(ctx context.Context, e Execer) error + type Context struct + QueueSubtest func(id string, stf func(*Context)) + RootDataset string + func (c *Context) Errorf(format string, args ...interface{}) + func (c *Context) FailNow() + func (c *Context) Logf(format string, args ...interface{}) + func (c *Context) SkipNow() + type DestroyRootOp struct + Path string + func (o *DestroyRootOp) Run(ctx context.Context, e Execer) error + type Execer interface + RunExpectFailureNoOutput func(ctx context.Context, cmd string, args ...string) error + RunExpectSuccessNoOutput func(ctx context.Context, cmd string, args ...string) error + func NewEx(log Logger) Execer + type FSOp struct + Encrypted bool + Op Op + Path string + func (o *FSOp) Run(ctx context.Context, e Execer) error + type LineError struct + Line string + What string + func (e LineError) Error() string + type Logger = logger.Logger + func GetLog(ctx context.Context) Logger + type Op string + const Add + const AssertExists + const AssertNotExists + const Comment + const CreateRoot + const Del + const DestroyRoot + const RunCmd + type RunKind int + const PanicErr + const RunAll + type RunOp struct + RootDS string + Script string + func (o *RunOp) Run(ctx context.Context, e Execer) error + type SnapOp struct + Op Op + Path string + func (o *SnapOp) Run(ctx context.Context, e Execer) error + type Stmt interface + Run func(context context.Context, e Execer) error + type Zpool struct + func CreateOrReplaceZpool(ctx context.Context, e Execer, args ZpoolCreateArgs) (*Zpool, error) + func (p *Zpool) Destroy(ctx context.Context, e Execer) error + func (p *Zpool) Name() string + type ZpoolCreateArgs struct + ImagePath string + ImageSize int64 + Mountpoint string + PoolName string + func (a ZpoolCreateArgs) Validate() error