Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(c Config) (stableunixusersv1.StableUNIXUsersServiceServer, error)
New returns the auth server implementation for the stable UNIX users service, including the gRPC interface, authz enforcement, and business logic.
Types ¶
type Config ¶
type Config struct { Authorizer authz.Authorizer Emitter apievents.Emitter Logger *slog.Logger Backend backend.Backend ReadOnlyCache *readonly.Cache StableUNIXUsers services.StableUNIXUsersInternal ClusterConfiguration services.ClusterConfigurationInternal // CacheClock, if set, is used by the internal time-based UID cache. CacheClock clockwork.Clock // CacheContext, if set, is used as the context for the operations spawned // by the internal time-based UID cache. CacheContext context.Context }
Config contains the parameters for New.
Click to show internal directories.
Click to hide internal directories.