Documentation ¶
Index ¶
- func DeletingPredicate() predicate.Predicate
- func HasLabel(label string) predicate.Predicate
- func NodeLabelModuleVersionUpdatePredicate(logger logr.Logger) predicate.Predicate
- func NodeUpdateKernelChangedPredicate() predicate.Predicate
- func PodHasSpecNodeName() predicate.Predicate
- func PodReadinessChangedPredicate(logger logr.Logger) predicate.Predicate
- func PreflightReconcilerUpdatePredicate() predicate.Predicate
- type Filter
- func (f *Filter) EnqueueAllPreflightValidations(ctx context.Context, mod client.Object) []reconcile.Request
- func (f *Filter) FindManagedClusterModulesForCluster(ctx context.Context, cluster client.Object) []reconcile.Request
- func (f *Filter) FindModulesForNode(ctx context.Context, node client.Object) []reconcile.Request
- func (f *Filter) ManagedClusterModuleReconcilerManagedClusterPredicate() predicate.Predicate
- func (f *Filter) ModuleReconcilerNodePredicate(kernelLabel string) predicate.Predicate
- func (f *Filter) NodeKernelReconcilerPredicate(labelName string) predicate.Predicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeletingPredicate ¶
DeletingPredicate returns a predicate that returns true if the object is being deleted.
func NodeLabelModuleVersionUpdatePredicate ¶ added in v1.1.0
func PodHasSpecNodeName ¶
PodHasSpecNodeName returns a predicate that returns true if the object is a *v1.Pod and its .spec.nodeName property is set.
func PodReadinessChangedPredicate ¶
PodReadinessChangedPredicate returns a predicate for Update events that only returns true if the Ready condition changed.
Types ¶
type Filter ¶
type Filter struct {
// contains filtered or unexported fields
}
func (*Filter) EnqueueAllPreflightValidations ¶
func (*Filter) FindManagedClusterModulesForCluster ¶
func (*Filter) FindModulesForNode ¶
func (*Filter) ManagedClusterModuleReconcilerManagedClusterPredicate ¶
func (*Filter) ModuleReconcilerNodePredicate ¶
Click to show internal directories.
Click to hide internal directories.