Documentation
¶
Index ¶
Constants ¶
View Source
const ( ContainerRegExp = ".*-container\\.json" ResultRegExp = ".*-result\\.json" )
View Source
const (
StaticDir = "static"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContainerProcessor ¶
type ContainerProcessor struct {
Processor[common.TestResultContainer]
}
func (*ContainerProcessor) Read ¶
func (cp *ContainerProcessor) Read(ctx context.Context, path string) *common.TestResultContainer
type IProcessor ¶
type IProcessor[T any] interface { SetSources(...string) *Processor[T] Process(context.Context, *sync.WaitGroup, *mpb.Bar, *common.PluginResult, func(context.Context, string) *T, func(context.Context, *T)) Read(context.Context, string) *T Write(context.Context, *T) GetPlugins() []IPlugin[T] }
func BundledContainerProcessor ¶
func BundledContainerProcessor() IProcessor[common.TestResultContainer]
func BundledResultProcessor ¶
func BundledResultProcessor() IProcessor[common.Test]
type Processor ¶
type Processor[T any] struct { // contains filtered or unexported fields }
func NewProcessor ¶
func (*Processor[T]) GetPlugins ¶
func (*Processor[T]) SetSources ¶
Click to show internal directories.
Click to hide internal directories.