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

# Functions

Deleted is a condition for Client.WaitFor true when the event is of type Deleted.
ForTest returns a Test for a testing.T.
Get returns a process-wide singleton client, created on demand.
IgnoreAlreadyExists returns nil on AlreadyExists errors, other values returned unmodified.
IgnoreNotFound returns nil on NotFound errors, other values returned unmodified.
DaemonSetIsReady returns (true, nil) when the pods of the set are ready on all nodes in the cluster and (false, nil) otherwise.
New client.
No description provided by the author
NewTest creates a new Test, which includes creating a new test namespace.
PodFailed returns (true,nil) when e.Object is a Pod with phase PodFailed.
PodRunning returns (true,nil) when e.Object is a Pod with phase PodRunning.
PodSucceeded returns (true,nil) when e.Object is a Pod with phase PodSucceeded.
No description provided by the author

# Constants

DryRunTestOption is a hint to use in testing to not actually create resources against cluster (e.g.
LabelKey is the create label key for the Get() client.
LabelValue is the create label value for the Get() client.
UseInfraNamespaceTestOption is the option to hint the test should be run in an infrastructure namespace.

# Variables

No description provided by the author
No description provided by the author

# Structs

Client operates on any runtime.Object (core or custom) and has Watch to wait efficiently.
NamespaceClient wraps the singleton test client for use with hack testing.
Test wraps the singleton test client with setup/teardown and convenience methods for testing.

# Type aliases

Condition returns true if an event meets the condition, error if something goes wrong.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
List options aliased from crclient.
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
TestOption is an option to alter a test in some way.
No description provided by the author