kubernetes/test/e2e/framework/flake_reporting_util.go

type FlakeReport

// NewFlakeReport returns a new flake report.
func NewFlakeReport() *FlakeReport {}

func buildDescription(optionalDescription ...interface{}

// RecordFlakeIfError records the error (if non-nil) as a flake along with an optional description.
// This can be used as a replacement of framework.ExpectNoError() for non-critical errors that can
// be considered as 'flakes' to avoid causing failures in tests.
func (f *FlakeReport) RecordFlakeIfError(err error, optionalDescription ...interface{}

// GetFlakeCount returns the flake count.
func (f *FlakeReport) GetFlakeCount() int {}

// PrintHumanReadable returns string of flake report.
func (f *FlakeReport) PrintHumanReadable() string {}

// PrintJSON returns the summary of frake report with JSON format.
func (f *FlakeReport) PrintJSON() string {}

// SummaryKind returns the summary of flake report.
func (f *FlakeReport) SummaryKind() string {}