package
0.0.0-20250228164547-bad2d1bf3a37
Repository: https://github.com/openshift/library-go.git
Documentation: pkg.go.dev
# Functions
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
No description provided by the author
No description provided by the author
EnsureFinalizer adds a new finalizer to the operator CR, if it does not exists.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FlagsFromUnstructured process the unstructured arguments usually retrieved from an operator's configuration file under a specific key.
InjectObservedProxyIntoContainers injects proxy environment variables in containers specified in containerNames.
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
No description provided by the author
No description provided by the author
IsUpdatingTooLong determines if updating operands condition takes too long.
MapToEnvVars converts a string-string map to a slice of corev1.EnvVar-s.
No description provided by the author
NewFakeNodeLister returns a fake node lister suitable to use in node controller unit test.
NewFakeOperatorClient returns a fake operator client suitable to use in static pod controller unit tests.
No description provided by the author
NewFakeSharedIndexInformer returns a fake shared index informer, suitable to use in static pod controller unit tests.
NewFakeStaticPodOperatorClient returns a fake operator client suitable to use in static pod controller unit tests.
No description provided by the author
NewMultiLineAggregate returns an aggregate error with multi-line output.
No description provided by the author
RemoveFinalizer removes a finalizer from the operator CR, if it is there.
No description provided by the author
No description provided by the author
No description provided by the author
SetOperandVersion sets the new version and returns the previous value.
No description provided by the author
ToFlagSlice transforms the provided arguments to a slice of string flags.
ToStaticPodOperator returns the equivalent typed kind for the applyconfiguration.
UpdateConditionFn returns a func to update a condition.
UpdateObservedConfigFn returns a func to update the config.
UpdateSpec applies the update funcs to the oldStatus and tries to update via the client.
UpdateStaticPodConditionFn returns a func to update a condition.
UpdateStaticPodStatus applies the update funcs to the oldStatus abd tries to update via the client.
UpdateStatus applies the update funcs to the oldStatus and tries to update via the client.
# Interfaces
No description provided by the author
KubeInformersForNamespaces is a simple way to combine several shared informers into a single struct with unified listing power.
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
UpdateOperatorSpecFunc is a func that mutates an operator spec.
UpdateStaticPodStatusFunc is a func that mutates an operator status.
UpdateStatusFunc is a func that mutates an operator status.