# Functions
GetNamespace gets the namespace of the operator by checking GetOperatorNamespace and GetWatchNamespace in that order.
GetOperatorNamespace returns the namespace the operator should be running in.
GetWatchNamespace returns the namespace the operator should be watching for changes
This function was ported over from Operator SDK 0.17.0.
Initialize attempts to determine the type of cluster its currently running on (OpenShift or Kubernetes).
InitializeForTesting is used to mock running on a specific type of cluster (Kubernetes, OpenShift) in testing code.
No description provided by the author
IsOpenShift returns true if the current cluster is an OpenShift (v4.x) cluster.
IsWebhookConfigurationEnabled returns true if both of mutating and validating webhook configurations are enabled.
# Constants
No description provided by the author
No description provided by the author
Unsupported represents an Unsupported cluster version (e.g.
No description provided by the author
# Type aliases
Type specifies what kind of infrastructure we're operating in.