stableunixusers

package
v0.0.0-...-6ea8ea9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2025 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL