predicates

package
v0.1.0-latest-stable Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NSIPredicate

type NSIPredicate struct {
	predicate.Funcs
}

NSIPredicate fires only on NSI changes the ServiceInterfaceSet reconciler needs to act on, avoiding spurious reconciles for unrelated changes.

It fires on UPDATE when:

  • spec changed (entries added, removed, or modified by any manager)
  • any status.interfaceStatuses entry Ready condition changed (downstream reconcilers update SIS readiness from NSI entry status)
  • any status.interfaceStatuses entry just transitioned to ResourceReleased=True (the termination handshake completed; the producer must now remove the entry)

It always fires on Create and Delete.

func (NSIPredicate) Update

func (NSIPredicate) Update(e event.UpdateEvent) bool

Jump to

Keyboard shortcuts

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