util

package
v1.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSeccompProfileForOpenShift added in v1.8.0

func AddSeccompProfileForOpenShift(client client.Client, podspec *corev1.PodSpec)

func BoolPtr added in v1.8.0

func BoolPtr(val bool) *bool

BoolPtr returns a pointer to val

func GetClusterVersion

func GetClusterVersion(client client.Client) (string, error)

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 ProxyEnvVars added in v1.7.1

func ProxyEnvVars(vars ...corev1.EnvVar) []corev1.EnvVar

func SetConsoleAPIFound added in v1.6.5

func SetConsoleAPIFound(found bool)

*** THIS SHOULD ONLY BE USED FOR UNIT TESTING ***

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL