Versions in this module Expand all Collapse all v0 v0.8.7 Oct 18, 2024 v0.8.6 Oct 18, 2024 v0.8.5 Oct 12, 2024 v0.8.4 Sep 30, 2024 v0.8.3 Sep 18, 2024 v0.8.2 Aug 28, 2024 v0.8.1 Aug 22, 2024 v0.8.0 Aug 18, 2024 v0.7.11 Jul 15, 2024 v0.7.10 Jul 10, 2024 v0.7.9 Jun 20, 2024 v0.7.8 Jun 15, 2024 v0.7.7 Jun 7, 2024 v0.7.6 May 25, 2024 v0.7.5 May 21, 2024 v0.7.4 May 8, 2024 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