Documentation ¶
Index ¶
- func CleanMappingsLDAPData(tomldata []string) []string
- func CreateGroupMappings(groupdn, role, header string, orgid int, root bool) []string
- func GetAllLDAPGroups(namespace string) map[string]string
- func GetLDAPData(namespace, datakey string) ([]string, error)
- func GetLDAPGroup(namespace, tenantname string) string
- func GetLDAPSecret(namespace string) *v1.Secret
- func GetOrgIDFromLDAPSecret(namespace string, toml []string) []string
- func UpdateLDAPSecret(namespace, datakey string, toml *v1.Secret, tomldata []string) *v1.Secret
- type GroupMapping
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanMappingsLDAPData ¶
clean all the current group mappings from the ldap-toml secret
func CreateGroupMappings ¶
build the new group mappings object containing all the ldap-groups and group mappings for the ldap-toml config
func GetAllLDAPGroups ¶
get all the groups from the ldap-groups configmap
func GetLDAPData ¶
get ldap-toml secret data field in given namespace
func GetLDAPGroup ¶
get a specific group from the ldap-groups configmap the tenant/namespace name is input for search
func GetLDAPSecret ¶
get ldap-toml secret in given namespace
func GetOrgIDFromLDAPSecret ¶
get all organization ids from the ldap-toml secret
Types ¶
Click to show internal directories.
Click to hide internal directories.