package
1.6.3
Repository: https://github.com/form3tech-oss/cilium.git
Documentation: pkg.go.dev

# Functions

AddUserDefinedNumericIdentitySet adds all key-value pairs from the given map to the map of user defined numeric identities and reserved identities.
AllocateIdentity allocates an identity described by the specified labels.
Close closes the identity allocator and allows to call InitIdentityAllocator() again.
GetIdentities returns all known identities.
GetIdentityCache returns a cache of all known identities.
IdentityAllocationIsLocal returns true if a call to AllocateIdentity with the given labels would not require accessing the KV store to allocate the identity.
InitIdentityAllocator creates the the identity allocator.
LookupIdentity looks up the identity by its labels but does not create it.
LookupIdentityByID returns the identity by ID.
LookupReservedIdentityByLabels looks up a reserved identity by its labels and returns it if found.
Release is the reverse operation of AllocateIdentity() and releases the identity again.
ReleaseSlice attempts to release a set of identities.
WaitForInitialGlobalIdentities waits for the initial set of global security identities to have been received and populated into the allocator cache.
WatchRemoteIdentities starts watching for identities in another kvstore and syncs all identities to the local identity cache.

# Variables

GlobalIdentityAllocatorInitialized is closed whenever the global identity allocator is initialized.
IdentitiesPath is the path to where identities are stored in the key-value store.
IdentityAllocator is an allocator for security identities from the kvstore.

# Structs

GlobalIdentity is the structure used to store an identity.

# Interfaces

IdentityAllocatorOwner is the interface the owner of an identity allocator must implement.

# Type aliases

IdentitiesModel is a wrapper so that we can implement the sort.Interface to sort the slice by ID.
IdentityCache is a cache of identity to labels mapping.