Documentation
¶
Overview ¶
package modules allows external packages override certain behavioral aspects of teleport
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Modules ¶
type Modules interface {
// EmptyRoles handler is called when a new trusted cluster with empty roles
// is being created
EmptyRolesHandler() error
// DefaultAllowedLogins returns default allowed logins for a new admin role
DefaultAllowedLogins() []string
// PrintVersion prints teleport version
PrintVersion()
// RolesFromLogins returns roles for external user based on the logins
// extracted from the connector
RolesFromLogins([]string) []string
// TraitsFromLogins returns traits for external user based on the logins
// extracted from the connector
TraitsFromLogins([]string) map[string][]string
}
Modules defines interface that external libraries can implement customizing default teleport behavior
Click to show internal directories.
Click to hide internal directories.