Documentation ¶
Index ¶
- func AreMultipleOdfOperatorCsvsPresent(csvs *opv1a1.ClusterServiceVersionList) bool
- func CheckCSVPhase(c client.Client, namespace string, csvNames ...string) healthz.Checker
- func DetermineOpenShiftVersion(client client.Client) (string, error)
- func Find[T any](list []T, f func(item *T) bool) *T
- func FindInSlice(slice []string, s string) bool
- func GetConditionName(client client.Client) (string, error)
- func GetOperatorNamespace() (string, error)
- func NewUpgradeableCondition(client client.Client) (conditions.Condition, error)
- func RemoveFromSlice(slice []string, s string) (result []string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreMultipleOdfOperatorCsvsPresent ¶
func AreMultipleOdfOperatorCsvsPresent(csvs *opv1a1.ClusterServiceVersionList) bool
func CheckCSVPhase ¶
func FindInSlice ¶
FindInSlice find given string in given slice
func GetOperatorNamespace ¶
GetOperatorNamespace returns the namespace where the operator is deployed.
func NewUpgradeableCondition ¶
func NewUpgradeableCondition(client client.Client) (conditions.Condition, error)
func RemoveFromSlice ¶
RemoveFromSlice removes given string from given slice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.