# Functions
AllocateCIDRIdentities allocates identities for each of the specified CIDR prefixes so they will be available later during policy resolution.
AllocateIdentity allocates an identity described by the specified labels.
GetAllReservedIdentities returns a list of all reserved numeric identities.
GetIdentities returns all known identities.
GetIdentityCache returns a cache of all known identities.
No description provided by the author
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.
LookupCIDRIdentities finds identities corresponding to each of the specified prefixes.
LookupIdentity looks up the identity by its labels but does not create it.
LookupIdentityByID returns the identity by ID.
LookupReservedIdentity looks up a reserved identity by its labels and returns it if found.
NewIdentity creates a new identity.
No description provided by the author
No description provided by the author
ReleaseSlice attempts to release a set of identities.
# Constants
IdentityUnknown represents an unknown identity.
InvalidIdentity is the identity assigned if the identity is invalid or not determined yet.
MaxIdentity is the maximum identity value.
MinimalNumericIdentity represents the minimal numeric identity not used for reserved purposes.
ReservedIdentityCluster represents any endpoint inside the cluster that does not have a more specific identity.
ReservedIdentityHealth represents the local cilium-health endpoint.
ReservedIdentityHost represents the local host.
ReservedIdentityInit is the identity given to endpoints that have not received any labels yet.
ReservedIdentityWorld represents any endpoint outside of the cluster.
# Variables
IdentitiesPath is the path to where identities are stored in the key-value store.
No description provided by the author
No description provided by the author
# Structs
Identity is the representation of the security context for a particular set of labels.
IPIdentityPair is a pairing of an IP and the security identity to which that IP corresponds.
# Interfaces
IdentityAllocatorOwner is the interface the owner of an identity allocator must implement.
# Type aliases
IdentityCache is a cache of identity to labels mapping.
NumericIdentity is the numeric representation of a security identity / a security policy.