Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Check ¶
type Check struct { Name string CheckFunc CheckFunction // contains filtered or unexported fields }
func (*Check) ExecutionTime ¶
type CheckFunction ¶
type CheckSuite ¶
type CheckSuite struct { Name string Checks []*Check OnCompletion OnCompletionHook ErrOnSetup error // contains filtered or unexported fields }
func NewCheckSuite ¶
func NewCheckSuite(name string) *CheckSuite
func (*CheckSuite) AddCheck ¶
func (h *CheckSuite) AddCheck(name string, checkFunc CheckFunction) *Check
func (*CheckSuite) Passed ¶
func (h *CheckSuite) Passed() bool
func (*CheckSuite) Process ¶
func (h *CheckSuite) Process(parentCtx context.Context)
func (*CheckSuite) RawResult ¶
func (h *CheckSuite) RawResult() string
func (*CheckSuite) Result ¶
func (h *CheckSuite) Result() string
type OnCompletionHook ¶
type OnCompletionHook func()
Click to show internal directories.
Click to hide internal directories.