# Functions
Add inserts the identity into the GlobalIdentityManager.
GetIdentityModels returns the API model of all identities in the GlobalIdentityManager.
NewIdentityManager returns an initialized IdentityManager.
Remove deletes the identity from the GlobalIdentityManager.
RemoveOldAddNew removes old from and inserts new into the GlobalIdentityManager.
Subscribe adds the specified Observer to the global identity manager, to be notified upon changes to local identity usage.
# Variables
GlobalIdentityManager is a singleton instance of an IdentityManager, used for easy updating / tracking lifecycles of identities on the local node without having to pass around a specific instance of an IdentityManager throughout Cilium.
# Structs
IdentityManager caches information about a set of identities, currently a reference count of how many users there are for each identity.
# Interfaces
Observer can sign up to receive events whenever local identities are removed.
# Type aliases
IdentitiesModel is a wrapper so that we can implement the sort.Interface to sort the slice by ID.