package
0.0.0-20250310201526-dc68de2e30cb
Repository: https://github.com/openshift/cluster-logging-operator.git
Documentation: pkg.go.dev

# Packages

package client provides a client for tests.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
package runtime provides conveniences based on "k8s.io/apimachinery/pkg/runtime".

# Functions

No description provided by the author
No description provided by the author
GinkgoCurrentTest tries to get the current Ginkgo test description.
GitRoot joins paths to the root of the git repository.
HTMLBodyText extracts text from the <body> of a HTML document.
HTTPError returns an error constructed from resp.Body if resp.Status is not 2xx.
JSONLine returns a one-line JSON string, or an error message.
LogBeginEnd logs an l.V(3) begin message, returns func to log an lV(2) end message.
MapIndices indexes into a multi-level map[string]interface{} unmarshalled from JSON.
Must panics if err is not nil.
MustUnmarshal unmarshals JSON or YAML into a value, panic on error.
No description provided by the author
TrimLines trims leading and trailing whitespace from every line in lines.
UniqueName generates a unique DNS label string starting with prefix.
UniqueNameForTest generates a unique name for a test.
Unmarshal JSON or YAML string into a value according to k8s rules.
Writer for log or error output from tests when there is nowhere better to send it.
YAMLString returns a YAML string of a value, using the sigs.k8s.io/yaml package, or an error message.

# Constants

DefaultFailureTimeout for operations that are *expected* to time out.
DefaultSuccessTimeout for operations that are expected to succeed.
No description provided by the author

# Variables

JSONString returns a JSON string of a value, or an error message.

# Structs

A FailGroup is a collection of goroutines running concurrently as part of a Ginkgo test.