Documentation
¶
Overview ¶
Package hintsfilter deduplicates registration entries (and the identities derived from them) so that callers of the agent's local APIs see at most one entry per hint. Used by both the Workload API and the SPIFFE Broker API so that hint semantics are consistent across them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterIdentities ¶
FilterIdentities returns identities whose underlying registration entries survive hint deduplication. Same tie-breaking rules as FilterRegistrations.
func FilterRegistrations ¶
func FilterRegistrations(entries []*common.RegistrationEntry, log logrus.FieldLogger) []*common.RegistrationEntry
FilterRegistrations returns entries with duplicate hints removed, preferring the older entry (by CreatedAt) with EntryId as the deterministic tie-breaker.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.