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

# Functions

NewTestClient returns a new test client with safe default return values.
NewConfig creates a new Config impl that regurgitates the given data.
NewDNMappingClient returns a new DNMappingClient sitting on top of the parent client.
NewMatchingSearchErrorClient returns a new MatchingSearchError client sitting on top of the parent client.
NewPagingOnlyClient returns a new PagingOnlyClient sitting on top of the parent client.

# Structs

DNMappingClient returns the LDAP entry mapped to by the base dn given, or if no mapping happens, defers to the parent.
Fake is a mock client for an LDAP server The following methods define safe defaults for the return values.
MatchingSearchErrClient returns the ReturnErr on every Search() where the search base DN matches the given DN or defers the search to the parent client.
PagingOnlyClient responds with a canned search result for any calls to SearchWithPaging.