reporter

package
v0.41.1 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCapturedOutputEnricher added in v0.40.0

func NewCapturedOutputEnricher(reporters ...ginkgo.Reporter) *capturedOutputEnricher

NewCapturedOutputEnricher captures additional interesting cluster info and adds it to the captured output to enrich existing reporters, like the junit reporter, with additional data.

Types

type KubernetesReporter

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

func NewKubernetesReporter

func NewKubernetesReporter(artifactsDir string, maxFailures int) *KubernetesReporter

func (*KubernetesReporter) AfterSuiteDidRun

func (r *KubernetesReporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)

func (*KubernetesReporter) BeforeSuiteDidRun

func (r *KubernetesReporter) BeforeSuiteDidRun(_ *types.SetupSummary)

func (*KubernetesReporter) Cleanup added in v0.22.0

func (r *KubernetesReporter) Cleanup()

Cleanup cleans up the current content of the artifactsDir

func (*KubernetesReporter) Dump added in v0.22.0

func (r *KubernetesReporter) Dump(duration time.Duration)

Dump dumps the current state of the cluster. The relevant logs are collected starting from the since parameter.

func (*KubernetesReporter) SpecDidComplete

func (r *KubernetesReporter) SpecDidComplete(specSummary *types.SpecSummary)

func (*KubernetesReporter) SpecSuiteDidEnd

func (r *KubernetesReporter) SpecSuiteDidEnd(_ *types.SuiteSummary)

func (*KubernetesReporter) SpecSuiteWillBegin

func (r *KubernetesReporter) SpecSuiteWillBegin(_ config.GinkgoConfigType, _ *types.SuiteSummary)

func (*KubernetesReporter) SpecWillRun

func (r *KubernetesReporter) SpecWillRun(_ *types.SpecSummary)

Jump to

Keyboard shortcuts

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