report

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OperationReport

type OperationReport struct {
	// contains filtered or unexported fields
}

func (*OperationReport) SetEndTime added in v0.2.0

func (r *OperationReport) SetEndTime(t time.Time)

func (*OperationReport) SetStartTime added in v0.2.0

func (r *OperationReport) SetStartTime(t time.Time)

type OperationType

type OperationType string
const (
	OperationTypeCreate  OperationType = "create"
	OperationTypeDelete  OperationType = "delete"
	OperationTypeApply   OperationType = "apply"
	OperationTypeAssert  OperationType = "assert"
	OperationTypeError   OperationType = "error"
	OperationTypeScript  OperationType = "script"
	OperationTypeSleep   OperationType = "sleep"
	OperationTypeCommand OperationType = "command"
)

type Report added in v0.2.0

type Report struct {
	// contains filtered or unexported fields
}

func New added in v0.2.0

func New(name string) *Report

func (*Report) ForTest added in v0.2.0

func (r *Report) ForTest(test *discovery.Test) *TestReport

func (*Report) Save added in v0.2.0

func (r *Report) Save(format v1alpha1.ReportFormatType, path, name string) error

func (*Report) SetEndTime added in v0.2.0

func (r *Report) SetEndTime(t time.Time)

func (*Report) SetStartTime added in v0.2.0

func (r *Report) SetStartTime(t time.Time)

type StepReport added in v0.2.0

type StepReport struct {
	// contains filtered or unexported fields
}

func (*StepReport) ForOperation added in v0.2.0

func (r *StepReport) ForOperation(name string, operationType OperationType) *OperationReport

func (*StepReport) SetEndTime added in v0.2.0

func (r *StepReport) SetEndTime(t time.Time)

func (*StepReport) SetStartTime added in v0.2.0

func (r *StepReport) SetStartTime(t time.Time)

type TestReport

type TestReport struct {
	// contains filtered or unexported fields
}

func (*TestReport) Fail added in v0.2.0

func (r *TestReport) Fail()

func (*TestReport) ForStep added in v0.2.0

func (r *TestReport) ForStep(step *v1alpha1.TestStep) *StepReport

func (*TestReport) SetEndTime added in v0.2.0

func (r *TestReport) SetEndTime(t time.Time)

func (*TestReport) SetNamespace added in v0.2.0

func (r *TestReport) SetNamespace(namespace string)

func (*TestReport) SetStartTime added in v0.2.0

func (r *TestReport) SetStartTime(t time.Time)

func (*TestReport) Skip

func (r *TestReport) Skip()

Jump to

Keyboard shortcuts

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