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 (*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 (*Report) SetStartTime ¶ added in v0.2.0
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()
Click to show internal directories.
Click to hide internal directories.