models

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LazyNode

type LazyNode struct {
	Name     string
	Ref      any
	Children []*LazyNode
}

func NewLazyNode

func NewLazyNode(name string, ref any) *LazyNode

func (*LazyNode) AddChild

func (n *LazyNode) AddChild(node *LazyNode)

func (*LazyNode) FindChild

func (n *LazyNode) FindChild(name string) *LazyNode

func (*LazyNode) IsDir

func (n *LazyNode) IsDir() bool

func (*LazyNode) IsTest

func (n *LazyNode) IsTest() bool

func (*LazyNode) IsTestSuite

func (n *LazyNode) IsTestSuite() bool

func (*LazyNode) SetReference

func (n *LazyNode) SetReference(ref any)

type LazyTest

type LazyTest struct {
	Name   string
	RunCmd string
}

type LazyTestResult

type LazyTestResult struct {
	Passed   bool
	Output   string
	Duration time.Duration
}

type LazyTestSuite

type LazyTestSuite struct {
	Tests []*LazyTest
	Path  string
}

type LazyTree

type LazyTree struct {
	Root *LazyNode
}

func NewLazyTree

func NewLazyTree(root *LazyNode) *LazyTree

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL