Documentation
¶
Index ¶
- func AddSeccompProfileForOpenShift(client client.Client, podspec *corev1.PodSpec)
- func BoolPtr(val bool) *bool
- func GetClusterVersion(client client.Client) (string, error)
- func InspectCluster() error
- func IsConsoleAPIFound() bool
- func NewClusterVersion(version string) *configv1.ClusterVersion
- func ProxyEnvVars(vars ...corev1.EnvVar) []corev1.EnvVar
- func SetConsoleAPIFound(found bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSeccompProfileForOpenShift ¶ added in v1.8.0
func GetClusterVersion ¶
GetClusterVersion returns the OpenShift Cluster version in which the operator is installed
func InspectCluster ¶ added in v1.6.5
func InspectCluster() error
func IsConsoleAPIFound ¶ added in v1.6.5
func IsConsoleAPIFound() bool
func NewClusterVersion ¶
func NewClusterVersion(version string) *configv1.ClusterVersion
NewClusterVersion returns a cluster version object
func SetConsoleAPIFound ¶ added in v1.6.5
func SetConsoleAPIFound(found bool)
*** THIS SHOULD ONLY BE USED FOR UNIT TESTING ***
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.