Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LDAPClient ¶
LDAPClient is an autogenerated mock type for the LDAPClient type
func NewLDAPClient ¶
func NewLDAPClient(t interface { mock.TestingT Cleanup(func()) }) *LDAPClient
NewLDAPClient creates a new instance of LDAPClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*LDAPClient) CreateEphemeralConnection ¶
func (_m *LDAPClient) CreateEphemeralConnection() (ldapauth.LDAPConn, error)
CreateEphemeralConnection provides a mock function with given fields:
type LDAPConn ¶
LDAPConn is an autogenerated mock type for the LDAPConn type
func NewLDAPConn ¶
NewLDAPConn creates a new instance of LDAPConn. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*LDAPConn) Search ¶
func (_m *LDAPConn) Search(searchRequest *ldap.SearchRequest) (*ldap.SearchResult, error)
Search provides a mock function with given fields: searchRequest