Documentation ¶
Index ¶
- func NewCapturedOutputEnricher(reporters ...ginkgo.Reporter) *capturedOutputEnricher
- type KubernetesReporter
- func (r *KubernetesReporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)
- func (r *KubernetesReporter) BeforeSuiteDidRun(_ *types.SetupSummary)
- func (r *KubernetesReporter) Cleanup()
- func (r *KubernetesReporter) Dump(duration time.Duration)
- func (r *KubernetesReporter) SpecDidComplete(specSummary *types.SpecSummary)
- func (r *KubernetesReporter) SpecSuiteDidEnd(_ *types.SuiteSummary)
- func (r *KubernetesReporter) SpecSuiteWillBegin(_ config.GinkgoConfigType, _ *types.SuiteSummary)
- func (r *KubernetesReporter) SpecWillRun(_ *types.SpecSummary)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCapturedOutputEnricher ¶ added in v0.40.0
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)
Click to show internal directories.
Click to hide internal directories.