util

package
v0.0.0-...-7ec6a69 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Find

func Find[T any](list []T, f func(item *T) bool) *T

Find returns the first entry matching the function "f" or else return nil

func GetConditionName

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

func GetOpenShiftVersion

func GetOpenShiftVersion(ctx context.Context, cl client.Client) (string, error)

func GetOperatorNamespace

func GetOperatorNamespace() (string, error)

GetOperatorNamespace returns the namespace where the operator is deployed.

func IsOCPUpgradeIncomplete

func IsOCPUpgradeIncomplete(ctx context.Context, cl client.Client) (bool, error)

func NewUpgradeableCondition

func NewUpgradeableCondition(client client.Client) (conditions.Condition, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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