processors

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: Apache-2.0 Imports: 45 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OperationInfo added in v0.1.9

type OperationInfo struct {
	Id         int
	ResourceId int
}

type StepInfo added in v0.1.9

type StepInfo struct {
	Id int
}

type StepProcessor

type StepProcessor interface {
	Run(context.Context, binding.Bindings)
}

func NewStepProcessor

func NewStepProcessor(
	config model.Configuration,
	clusters clusters.Registry,
	namespacer namespacer.Namespacer,
	clock clock.PassiveClock,
	test discovery.Test,
	step v1alpha1.TestStep,
	report *report.StepReport,
) StepProcessor

type TestInfo added in v0.1.9

type TestInfo struct {
	Id         int
	ScenarioId int
	Metadata   metav1.ObjectMeta
}

type TestProcessor

type TestProcessor interface {
	Run(context.Context, binding.Bindings, namespacer.Namespacer)
	CreateStepProcessor(namespacer.Namespacer, clusters.Registry, v1alpha1.TestStep) StepProcessor
}

func NewTestProcessor

func NewTestProcessor(
	config model.Configuration,
	clusters clusters.Registry,
	clock clock.PassiveClock,
	summary *summary.Summary,
	report *report.TestReport,
	test discovery.Test,
	shouldFailFast *atomic.Bool,
) TestProcessor

type TestsProcessor

type TestsProcessor interface {
	Run(context.Context, binding.Bindings)
	CreateTestProcessor(discovery.Test) TestProcessor
}

func NewTestsProcessor

func NewTestsProcessor(
	config model.Configuration,
	clusters clusters.Registry,
	clock clock.PassiveClock,
	summary *summary.Summary,
	report *report.Report,
	tests ...discovery.Test,
) TestsProcessor

Jump to

Keyboard shortcuts

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