package
4.1.0+incompatible
Repository: https://github.com/openshift/origin.git
Documentation: pkg.go.dev

# Packages

# Functions

DetermineLDAPFilter determines the LDAP search filter.
DetermineLDAPHost determines the host and port for the LDAP connection.
DetermineLDAPScheme determines the LDAP connection scheme.
DetermineLDAPScope determines the LDAP search scope.
GetAttributeValue finds the first attribute of those given that the LDAP entry has, and returns it.
IsNoSuchObjectError determines if the error is a NoSuchObjectError or if it is the upstream version of the error If this returns true, you are *not* safe to cast the error to a NoSuchObjectError.
NewLDAPClientConfig returns a new LDAP client config.
NewLDAPQuery converts a user-provided LDAPQuery into a version we can use.
NewLDAPQueryOnAttribute converts a user-provided LDAPQuery into a version we can use by parsing the input and combining it with a set of name attributes.
ParseURL parsed the given ldapURL as an RFC 2255 URL The syntax of the URL is ldap://host:port/basedn?attribute?scope?filter.
QueryForEntries queries for LDAP with the given searchRequest.
QueryForUniqueEntry queries for an LDAP entry with the given searchRequest.
SplitLDAPQuery splits the query in the URL into the substituent parts.

# Constants

LDAPHostLabel is the Label value that stores the host of the LDAP server TODO: we don't store port here because labels don't allow for colons.
LDAPSyncTime is the Annotation value that stores the last time this Group was synced with LDAP.
LDAPUIDAnnotation is the Annotation value that stores the corresponding LDAP group UID for the Group.
LDAPURLAnnotation is the Annotation value that stores the host:port of the LDAP server.

# Structs

DefaultLDAPUserIdentityFactory creates Identities for LDAP user entries using an LDAPUserAttributeDefiner.
LDAPQuery encodes an LDAP query.
LDAPQueryOnAttribute encodes an LDAP query that conjoins two filters to extract a specific LDAP entry This query is not self-sufficient and needs the value of the QueryAttribute to construct the final filter.
LDAPURL holds a parsed RFC 2255 URL.
LDAPUserAttributeDefiner defines the values corresponding to OpenShift Identities in LDAP entries by using a deterministic mapping of LDAP entry attributes to OpenShift Identity fields.

# Interfaces

LDAPUserIdentityFactory creates Identites for LDAP user entries.

# Type aliases

DerefAliases is a valid LDAP alias dereference parameter.
Scheme is a valid ldap scheme.
Scope is a valid LDAP search scope.