Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
authctl
command
Package main implements Cobra commands for management operations on authd.
|
Package main implements Cobra commands for management operations on authd. |
|
authctl/group
Package group provides utilities for managing group operations.
|
Package group provides utilities for managing group operations. |
|
authctl/internal/client
Package client provides a utility function to create a gRPC client for the authd service.
|
Package client provides a utility function to create a gRPC client for the authd service. |
|
authctl/internal/completion
Package completion provides completion functions for authctl.
|
Package completion provides completion functions for authctl. |
|
authctl/internal/docgen
command
Package main generates CLI reference documentation.
|
Package main generates CLI reference documentation. |
|
authctl/internal/log
Package log provides logging functions for authctl.
|
Package log provides logging functions for authctl. |
|
authctl/root
Package root contains the root command for authctl.
|
Package root contains the root command for authctl. |
|
authctl/user
Package user provides utilities for managing user operations.
|
Package user provides utilities for managing user operations. |
|
authd
command
Package main is the entry point.
|
Package main is the entry point. |
|
authd/daemon
Package daemon represents the connection between the broker and pam/nss.
|
Package daemon represents the connection between the broker and pam/nss. |
|
Package examplebroker implements an example broker that will be used by the authentication daemon.
|
Package examplebroker implements an example broker that will be used by the authentication daemon. |
|
internal
|
|
|
brokers
Package brokers contains the broker object definitions, implementations and manager that will be used by the daemon for authentication.
|
Package brokers contains the broker object definitions, implementations and manager that will be used by the daemon for authentication. |
|
brokers/auth
Package auth contains the authentication related code.
|
Package auth contains the authentication related code. |
|
brokers/layouts
Package layouts lists all the broker UI layouts we support.
|
Package layouts lists all the broker UI layouts we support. |
|
brokers/layouts/entries
Package entries lists all the broker entries we support.
|
Package entries lists all the broker entries we support. |
|
consts
Package consts defines the constants used by the project
|
Package consts defines the constants used by the project |
|
daemon
Package daemon handles the GRPC daemon with systemd support.
|
Package daemon handles the GRPC daemon with systemd support. |
|
decorate
Package decorate contains various helpers to decorate errors with fewer lines of code in functions.
|
Package decorate contains various helpers to decorate errors with fewer lines of code in functions. |
|
errno
Package errno provide utilities to use C errno from the Go side.
|
Package errno provide utilities to use C errno from the Go side. |
|
fileutils
Package fileutils provides utility functions for file operations.
|
Package fileutils provides utility functions for file operations. |
|
grpcutils
Package grpcutils provides utility functions for GRPC operations.
|
Package grpcutils provides utility functions for GRPC operations. |
|
proto/authd
Package authd holds the authd protocol implementation.
|
Package authd holds the authd protocol implementation. |
|
services
Package services mediates all the business logic of the application via a manager.
|
Package services mediates all the business logic of the application via a manager. |
|
services/errmessages
Package errmessages formats the error messages that are sent to the client.
|
Package errmessages formats the error messages that are sent to the client. |
|
services/pam
Package pam implements the pam grpc service protocol to the daemon.
|
Package pam implements the pam grpc service protocol to the daemon. |
|
services/permissions
Package permissions handles peer user detection and permissions.
|
Package permissions handles peer user detection and permissions. |
|
services/user
Package user provides the gRPC service for user and group management.
|
Package user provides the gRPC service for user and group management. |
|
sliceutils
Package sliceutils provides utility functions for slices.
|
Package sliceutils provides utility functions for slices. |
|
testlog
Package testlog provides utilities for logging test output.
|
Package testlog provides utilities for logging test output. |
|
testsdetection
Package testsdetection helps in deciding if we are currently running under integration or tests.
|
Package testsdetection helps in deciding if we are currently running under integration or tests. |
|
testutils
Package testutils provides utility functions and behaviors for testing.
|
Package testutils provides utility functions and behaviors for testing. |
|
testutils/golden
Package golden provides utilities to compare and update golden files in tests.
|
Package golden provides utilities to compare and update golden files in tests. |
|
users
Code generated by "idlimitsgenerator"; DO NOT EDIT.
|
Code generated by "idlimitsgenerator"; DO NOT EDIT. |
|
users/db
Package db handles transaction with an underlying database to store user and group information.
|
Package db handles transaction with an underlying database to store user and group information. |
|
users/db/bbolt
Package bbolt handles transaction with the deprecated bbolt database
|
Package bbolt handles transaction with the deprecated bbolt database |
|
users/localentries
Package localentries provides functions to access the local user and group database.
|
Package localentries provides functions to access the local user and group database. |
|
users/localentries/testutils
Package localgrouptestutils export users test functionalities used by other packages to change cmdline and group file.
|
Package localgrouptestutils export users test functionalities used by other packages to change cmdline and group file. |
|
users/locking
Package userslocking implements locking of the local user and group files (/etc/passwd, /etc/groups, /etc/shadow, /etc/gshadow) via the libc lckpwdf() function.
|
Package userslocking implements locking of the local user and group files (/etc/passwd, /etc/groups, /etc/shadow, /etc/gshadow) via the libc lckpwdf() function. |
|
users/proc
Package proc contains utilities for checking processes via /proc.
|
Package proc contains utilities for checking processes via /proc. |
|
users/tempentries
Package tempentries provides a temporary pre-authentication records.
|
Package tempentries provides a temporary pre-authentication records. |
|
users/testutils
Package userstestutils export db test functionalities used by other packages.
|
Package userstestutils export db test functionalities used by other packages. |
|
users/types
Package types provides types for the users package.
|
Package types provides types for the users package. |
|
Package log is a temporary package until we forge our log structure.
|
Package log is a temporary package until we forge our log structure. |
|
Package coverage file is only here so that it’s recognized as a go package when computing coverage
|
Package coverage file is only here so that it’s recognized as a go package when computing coverage |
|
src
Package coverage file is only here so that it’s recognized as a go package when computing coverage
|
Package coverage file is only here so that it’s recognized as a go package when computing coverage |
|
src/client
Package coverage file is only here so that it’s recognized as a go package when computing coverage
|
Package coverage file is only here so that it’s recognized as a go package when computing coverage |
|
src/group
Package coverage file is only here so that it’s recognized as a go package when computing coverage
|
Package coverage file is only here so that it’s recognized as a go package when computing coverage |
|
src/logs
Package coverage file is only here so that it’s recognized as a go package when computing coverage
|
Package coverage file is only here so that it’s recognized as a go package when computing coverage |
|
src/passwd
Package coverage file is only here so that it’s recognized as a go package when computing coverage
|
Package coverage file is only here so that it’s recognized as a go package when computing coverage |
|
src/shadow
Package coverage file is only here so that it’s recognized as a go package when computing coverage
|
Package coverage file is only here so that it’s recognized as a go package when computing coverage |
|
Package main is the package for the PAM library.
|
Package main is the package for the PAM library. |
|
internal/adapter
Package adapter is the package for the PAM library
|
Package adapter is the package for the PAM library |
|
internal/dbusmodule
Package dbusmodule includes the tool for DBus PAM module interactions.
|
Package dbusmodule includes the tool for DBus PAM module interactions. |
|
internal/gdm
Package gdm is the package for the GDM pam module handing.
|
Package gdm is the package for the GDM pam module handing. |
|
internal/pam_test
Package pam_test includes test tools for the PAM module
|
Package pam_test includes test tools for the PAM module |
Click to show internal directories.
Click to hide internal directories.