reportinterfaces

package
v0.13.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReportRunReady    ReportRunStatus = "ready"
	ReportRunComplete                 = "complete"
	ReportRunError                    = "error"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ReportNodeParent

type ReportNodeParent interface {
	GetName() string
	ChildCompleteChan() chan ReportNodeRun
}

type ReportNodeRun

type ReportNodeRun interface {
	Execute(ctx context.Context) error
	GetName() string
	GetPath() modconfig.NodePath
	GetRunStatus() ReportRunStatus
	SetError(err error)
	SetComplete()
	RunComplete() bool
	ChildrenComplete() bool
}

type ReportRunStatus

type ReportRunStatus string

Jump to

Keyboard shortcuts

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