Documentation ¶
Overview ¶
Package services mediates all the business logic of the application via a manager.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager mediate the whole business logic of the application.
func NewManager ¶
func NewManager(ctx context.Context, cacheDir, brokersConfPath string, configuredBrokers []string, usersConfig users.Config) (m Manager, err error)
NewManager returns a new manager after creating all necessary items for our business logic.
func (Manager) RegisterGRPCServices ¶
RegisterGRPCServices returns a new grpc Server after registering both NSS and PAM services.
Directories ¶
Path | Synopsis |
---|---|
Package errmessages formats the error messages that are sent to the client.
|
Package errmessages formats the error messages that are sent to the client. |
Package nss implements the nss grpc service protocol to the daemon.
|
Package nss implements the nss grpc service protocol to the daemon. |
Package pam implements the pam grpc service protocol to the daemon.
|
Package pam implements the pam grpc service protocol to the daemon. |
Package permissions handles peer user detection and permissions.
|
Package permissions handles peer user detection and permissions. |
testutils
Package permissionstestutils are exported functions to be run in 3rd party package or integration tests.
|
Package permissionstestutils are exported functions to be run in 3rd party package or integration tests. |
Click to show internal directories.
Click to hide internal directories.