Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AROCluster predicate.Predicate = predicate.NewPredicateFuncs(func(o client.Object) bool { return strings.EqualFold(arov1alpha1.SingletonClusterName, o.GetName()) })
View Source
var BackupPullSecret predicate.Predicate = predicate.NewPredicateFuncs(func(o client.Object) bool {
return (o.GetName() == backupPullSecretName.Name && o.GetNamespace() == backupPullSecretName.Namespace)
})
View Source
var ClusterVersion predicate.Predicate = predicate.NewPredicateFuncs(func(o client.Object) bool {
return o.GetName() == "version"
})
View Source
var MachineRoleMaster predicate.Predicate = predicate.NewPredicateFuncs(func(o client.Object) bool { role, ok := o.GetLabels()["machine.openshift.io/cluster-api-machine-role"] return ok && strings.EqualFold("master", role) })
View Source
var MachineRoleWorker predicate.Predicate = predicate.NewPredicateFuncs(func(o client.Object) bool { role, ok := o.GetLabels()["machine.openshift.io/cluster-api-machine-role"] return ok && strings.EqualFold("worker", role) })
View Source
var PullSecret predicate.Predicate = predicate.NewPredicateFuncs(func(o client.Object) bool {
return (o.GetName() == pullSecretName.Name && o.GetNamespace() == pullSecretName.Namespace)
})
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.