model

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration = v1alpha2.ConfigurationSpec

type OperationReport added in v0.2.10

type OperationReport struct {
	Name      string
	Type      OperationType
	StartTime time.Time
	EndTime   time.Time
	Err       error
}

type OperationType added in v0.2.10

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

type Report added in v0.2.10

type Report struct {
	Name      string
	StartTime time.Time
	EndTime   time.Time
	Tests     []*TestReport
	// contains filtered or unexported fields
}

func (*Report) Add added in v0.2.10

func (r *Report) Add(report *TestReport)

type StepReport added in v0.2.10

type StepReport struct {
	Name       string
	StartTime  time.Time
	EndTime    time.Time
	Operations []*OperationReport
}

func (*StepReport) Add added in v0.2.10

func (r *StepReport) Add(report *OperationReport)

func (*StepReport) Failed added in v0.2.10

func (r *StepReport) Failed() bool

type Summary added in v0.2.8

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

func (*Summary) Failed added in v0.2.8

func (s *Summary) Failed() int32

func (*Summary) IncFailed added in v0.2.8

func (s *Summary) IncFailed()

func (*Summary) IncPassed added in v0.2.8

func (s *Summary) IncPassed()

func (*Summary) IncSkipped added in v0.2.8

func (s *Summary) IncSkipped()

func (*Summary) Passed added in v0.2.8

func (s *Summary) Passed() int32

func (*Summary) Skipped added in v0.2.8

func (s *Summary) Skipped() int32

type SummaryResult added in v0.2.8

type SummaryResult interface {
	Passed() int32
	Failed() int32
	Skipped() int32
}

type Test

type Test = v1alpha1.Test

type TestReport added in v0.2.10

type TestReport struct {
	BasePath   string
	Name       string
	Concurrent *bool
	StartTime  time.Time
	EndTime    time.Time
	Namespace  string
	Skipped    bool
	Steps      []*StepReport
}

func (*TestReport) Add added in v0.2.10

func (r *TestReport) Add(report *StepReport)

Jump to

Keyboard shortcuts

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