kubernetes/vendor/github.com/onsi/ginkgo/v2/types/types.go

const GINKGO_FOCUS_EXIT_CODE

var GINKGO_TIME_FORMAT

func init() {}

type Report

type PreRunStats

// Add is used by Ginkgo's parallel aggregation mechanisms to combine test run reports form individual parallel processes
// to form a complete final report.
func (report Report) Add(other Report) Report {}

type SpecReport

func (report SpecReport) MarshalJSON() ([]byte, error) {}

// CombinedOutput returns a single string representation of both CapturedStdOutErr and CapturedGinkgoWriterOutput
// Note that both are empty when using CurrentSpecReport() so CurrentSpecReport().CombinedOutput() will always be empty.
// CombinedOutput() is used internally by Ginkgo's reporter.
func (report SpecReport) CombinedOutput() string {}

// Failed returns true if report.State is one of the SpecStateFailureStates
// (SpecStateFailed, SpecStatePanicked, SpecStateinterrupted, SpecStateAborted)
func (report SpecReport) Failed() bool {}

// FullText returns a concatenation of all the report.ContainerHierarchyTexts and report.LeafNodeText
func (report SpecReport) FullText() string {}

// Labels returns a deduped set of all the spec's Labels.
func (report SpecReport) Labels() []string {}

// MatchesLabelFilter returns true if the spec satisfies the passed in label filter query
func (report SpecReport) MatchesLabelFilter(query string) (bool, error) {}

// FileName() returns the name of the file containing the spec
func (report SpecReport) FileName() string {}

// LineNumber() returns the line number of the leaf node
func (report SpecReport) LineNumber() int {}

// FailureMessage() returns the failure message (or empty string if the test hasn't failed)
func (report SpecReport) FailureMessage() string {}

// FailureLocation() returns the location of the failure (or an empty CodeLocation if the test hasn't failed)
func (report SpecReport) FailureLocation() CodeLocation {}

// Timeline() returns a timeline view of the report
func (report SpecReport) Timeline() Timeline {}

type SpecReports

// WithLeafNodeType returns the subset of SpecReports with LeafNodeType matching one of the requested NodeTypes
func (reports SpecReports) WithLeafNodeType(nodeTypes NodeType) SpecReports {}

// WithState returns the subset of SpecReports with State matching one of the requested SpecStates
func (reports SpecReports) WithState(states SpecState) SpecReports {}

// CountWithState returns the number of SpecReports with State matching one of the requested SpecStates
func (reports SpecReports) CountWithState(states SpecState) int {}

// If the Spec passes, CountOfFlakedSpecs returns the number of SpecReports that failed after multiple attempts.
func (reports SpecReports) CountOfFlakedSpecs() int {}

// If the Spec fails, CountOfRepeatedSpecs returns the number of SpecReports that passed after multiple attempts
func (reports SpecReports) CountOfRepeatedSpecs() int {}

type TimelineLocation

type TimelineEvent

type Timeline

func (t Timeline) Len() int {}

func (t Timeline) Less(i, j int) bool {}

func (t Timeline) Swap(i, j int) {}

func (t Timeline) WithoutHiddenReportEntries() Timeline {}

func (t Timeline) WithoutVeryVerboseSpecEvents() Timeline {}

type Failure

func (f Failure) IsZero() bool {}

func (f Failure) GetTimelineLocation() TimelineLocation {}

type FailureNodeContext

const FailureNodeContextInvalid

const FailureNodeIsLeafNode

const FailureNodeAtTopLevel

const FailureNodeInContainer

var fncEnumSupport

func (fnc FailureNodeContext) String() string {}

func (fnc *FailureNodeContext) UnmarshalJSON(b []byte) error {}

func (fnc FailureNodeContext) MarshalJSON() ([]byte, error) {}

type AdditionalFailure

func (f AdditionalFailure) GetTimelineLocation() TimelineLocation {}

type SpecState

const SpecStateInvalid

const SpecStatePending

const SpecStateSkipped

const SpecStatePassed

const SpecStateFailed

const SpecStateAborted

const SpecStatePanicked

const SpecStateInterrupted

const SpecStateTimedout

var ssEnumSupport

func (ss SpecState) String() string {}

func (ss SpecState) GomegaString() string {}

func (ss *SpecState) UnmarshalJSON(b []byte) error {}

func (ss SpecState) MarshalJSON() ([]byte, error) {}

var SpecStateFailureStates

func (ss SpecState) Is(states SpecState) bool {}

type ProgressReport

func (pr ProgressReport) IsZero() bool {}

func (pr ProgressReport) Time() time.Time {}

func (pr ProgressReport) SpecGoroutine() Goroutine {}

func (pr ProgressReport) HighlightedGoroutines() []Goroutine {}

func (pr ProgressReport) OtherGoroutines() []Goroutine {}

func (pr ProgressReport) WithoutCapturedGinkgoWriterOutput() ProgressReport {}

func (pr ProgressReport) WithoutOtherGoroutines() ProgressReport {}

func (pr ProgressReport) GetTimelineLocation() TimelineLocation {}

type Goroutine

func (g Goroutine) IsZero() bool {}

func (g Goroutine) HasHighlights() bool {}

type FunctionCall

type NodeType

const NodeTypeInvalid

const NodeTypeContainer

const NodeTypeIt

const NodeTypeBeforeEach

const NodeTypeJustBeforeEach

const NodeTypeAfterEach

const NodeTypeJustAfterEach

const NodeTypeBeforeAll

const NodeTypeAfterAll

const NodeTypeBeforeSuite

const NodeTypeSynchronizedBeforeSuite

const NodeTypeAfterSuite

const NodeTypeSynchronizedAfterSuite

const NodeTypeReportBeforeEach

const NodeTypeReportAfterEach

const NodeTypeReportBeforeSuite

const NodeTypeReportAfterSuite

const NodeTypeCleanupInvalid

const NodeTypeCleanupAfterEach

const NodeTypeCleanupAfterAll

const NodeTypeCleanupAfterSuite

var NodeTypesForContainerAndIt

var NodeTypesForSuiteLevelNodes

var NodeTypesAllowedDuringCleanupInterrupt

var NodeTypesAllowedDuringReportInterrupt

var ntEnumSupport

func (nt NodeType) String() string {}

func (nt *NodeType) UnmarshalJSON(b []byte) error {}

func (nt NodeType) MarshalJSON() ([]byte, error) {}

func (nt NodeType) Is(nodeTypes NodeType) bool {}

type SpecEvent

func (se SpecEvent) GetTimelineLocation() TimelineLocation {}

func (se SpecEvent) IsOnlyVisibleAtVeryVerbose() bool {}

func (se SpecEvent) GomegaString() string {}

type SpecEvents

func (se SpecEvents) WithType(seType SpecEventType) SpecEvents {}

type SpecEventType

const SpecEventInvalid

const SpecEventByStart

const SpecEventByEnd

const SpecEventNodeStart

const SpecEventNodeEnd

const SpecEventSpecRepeat

const SpecEventSpecRetry

var seEnumSupport

func (se SpecEventType) String() string {}

func (se *SpecEventType) UnmarshalJSON(b []byte) error {}

func (se SpecEventType) MarshalJSON() ([]byte, error) {}

func (se SpecEventType) Is(specEventTypes SpecEventType) bool {}