package
0.3.3
Repository: https://github.com/ubuntu/authd.git
Documentation: pkg.go.dev

# Packages

Package cache handles transaction with an underlying database to cache user and group information.
Package localgroups handles the synchronization of local groups the users.
Package userstestutils export cache test functionalities used by other packages.

# Functions

GenerateID generates an integer number based on the provided string lowercased.
NewManager creates a new user manager.
WithUserExpirationDate overrides the default time for when a user should be cleaned from the cache.

# Structs

GroupEntry is the group information sent to the NSS service.
GroupInfo is the group information returned by the broker.
Manager is the manager for any user related operation.
ShadowEntry is the shadow information sent to the NSS service.
UserEntry is the user information sent to the NSS service.
UserInfo is the user information returned by the broker.

# Type aliases

ErrNoDataFound is the error returned when no entry is found in the cache.
Option is a function that allows changing some of the default behaviors of the manager.