Documentation
¶
Index ¶
- func ParseDN(dn string) string
- func RequiredAttrs(attrType string, enabledMappers []string) []string
- func ValidMappers() []string
- type Mapper
- type UserGID
- type UserGroups
- func (m UserGroups) ConfigMapName() string
- func (m UserGroups) GetData(users *ldap.SearchResult, groups *ldap.SearchResult) (map[string]string, error)
- func (m UserGroups) GetGroupsMember(members []string, userDNs map[string]string) []string
- func (m UserGroups) GetGroupsMemberOf(memberOf []string, groupDNs map[string]string) []string
- func (m UserGroups) Name() string
- type UserUID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequiredAttrs ¶
func ValidMappers ¶
func ValidMappers() []string
Types ¶
type Mapper ¶
type Mapper interface {
Name() string
ConfigMapName() string
GetData(users *ldap.SearchResult, groups *ldap.SearchResult) (map[string]string, error)
}
func NewUserGroupsMapper ¶
type UserGID ¶
type UserGID struct {
// contains filtered or unexported fields
}
func (UserGID) ConfigMapName ¶
func (UserGID) GetData ¶
func (m UserGID) GetData(users *ldap.SearchResult, groups *ldap.SearchResult) (map[string]string, error)
type UserGroups ¶
type UserGroups struct {
// contains filtered or unexported fields
}
func (UserGroups) ConfigMapName ¶
func (m UserGroups) ConfigMapName() string
func (UserGroups) GetData ¶
func (m UserGroups) GetData(users *ldap.SearchResult, groups *ldap.SearchResult) (map[string]string, error)
func (UserGroups) GetGroupsMember ¶
func (m UserGroups) GetGroupsMember(members []string, userDNs map[string]string) []string
func (UserGroups) GetGroupsMemberOf ¶
func (m UserGroups) GetGroupsMemberOf(memberOf []string, groupDNs map[string]string) []string
func (UserGroups) Name ¶
func (m UserGroups) Name() string
type UserUID ¶
type UserUID struct {
// contains filtered or unexported fields
}
func (UserUID) ConfigMapName ¶
func (UserUID) GetData ¶
func (m UserUID) GetData(users *ldap.SearchResult, groups *ldap.SearchResult) (map[string]string, error)
Click to show internal directories.
Click to hide internal directories.