Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeLdap
- func (fake *FakeLdap) Dial(network string, addr string) (ldapshim.LdapConnection, error)
- func (fake *FakeLdap) DialArgsForCall(i int) (string, string)
- func (fake *FakeLdap) DialCallCount() int
- func (fake *FakeLdap) DialReturns(result1 ldapshim.LdapConnection, result2 error)
- func (fake *FakeLdap) DialReturnsOnCall(i int, result1 ldapshim.LdapConnection, result2 error)
- func (fake *FakeLdap) DialTLS(network string, addr string, config *tls.Config) (ldapshim.LdapConnection, error)
- func (fake *FakeLdap) DialTLSArgsForCall(i int) (string, string, *tls.Config)
- func (fake *FakeLdap) DialTLSCallCount() int
- func (fake *FakeLdap) DialTLSReturns(result1 ldapshim.LdapConnection, result2 error)
- func (fake *FakeLdap) DialTLSReturnsOnCall(i int, result1 ldapshim.LdapConnection, result2 error)
- func (fake *FakeLdap) Invocations() map[string][][]interface{}
- func (fake *FakeLdap) NewSearchRequest(arg1 string, arg2 int, arg3 int, arg4 int, arg5 int, arg6 bool, arg7 string, ...) *ldap.SearchRequest
- func (fake *FakeLdap) NewSearchRequestArgsForCall(i int) (string, int, int, int, int, bool, string, []string, []ldap.Control)
- func (fake *FakeLdap) NewSearchRequestCallCount() int
- func (fake *FakeLdap) NewSearchRequestReturns(result1 *ldap.SearchRequest)
- func (fake *FakeLdap) NewSearchRequestReturnsOnCall(i int, result1 *ldap.SearchRequest)
- type FakeLdapConnection
- func (fake *FakeLdapConnection) Bind(arg1 string, arg2 string) error
- func (fake *FakeLdapConnection) BindArgsForCall(i int) (string, string)
- func (fake *FakeLdapConnection) BindCallCount() int
- func (fake *FakeLdapConnection) BindReturns(result1 error)
- func (fake *FakeLdapConnection) BindReturnsOnCall(i int, result1 error)
- func (fake *FakeLdapConnection) Close()
- func (fake *FakeLdapConnection) CloseCallCount() int
- func (fake *FakeLdapConnection) Invocations() map[string][][]interface{}
- func (fake *FakeLdapConnection) Search(arg1 *ldap.SearchRequest) (*ldap.SearchResult, error)
- func (fake *FakeLdapConnection) SearchArgsForCall(i int) *ldap.SearchRequest
- func (fake *FakeLdapConnection) SearchCallCount() int
- func (fake *FakeLdapConnection) SearchReturns(result1 *ldap.SearchResult, result2 error)
- func (fake *FakeLdapConnection) SearchReturnsOnCall(i int, result1 *ldap.SearchResult, result2 error)
- func (fake *FakeLdapConnection) SetTimeout(timeout time.Duration)
- func (fake *FakeLdapConnection) SetTimeoutArgsForCall(i int) time.Duration
- func (fake *FakeLdapConnection) SetTimeoutCallCount() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeLdap ¶
type FakeLdap struct { DialStub func(network, addr string) (ldapshim.LdapConnection, error) DialTLSStub func(network, addr string, config *tls.Config) (ldapshim.LdapConnection, error) NewSearchRequestStub func(string, int, int, int, int, bool, string, []string, []ldap.Control) *ldap.SearchRequest // contains filtered or unexported fields }
func (*FakeLdap) DialCallCount ¶
func (*FakeLdap) DialReturns ¶
func (fake *FakeLdap) DialReturns(result1 ldapshim.LdapConnection, result2 error)
func (*FakeLdap) DialReturnsOnCall ¶
func (fake *FakeLdap) DialReturnsOnCall(i int, result1 ldapshim.LdapConnection, result2 error)
func (*FakeLdap) DialTLSArgsForCall ¶
func (*FakeLdap) DialTLSCallCount ¶
func (*FakeLdap) DialTLSReturns ¶
func (fake *FakeLdap) DialTLSReturns(result1 ldapshim.LdapConnection, result2 error)
func (*FakeLdap) DialTLSReturnsOnCall ¶
func (fake *FakeLdap) DialTLSReturnsOnCall(i int, result1 ldapshim.LdapConnection, result2 error)
func (*FakeLdap) Invocations ¶
func (*FakeLdap) NewSearchRequest ¶
func (*FakeLdap) NewSearchRequestArgsForCall ¶
func (*FakeLdap) NewSearchRequestCallCount ¶
func (*FakeLdap) NewSearchRequestReturns ¶
func (fake *FakeLdap) NewSearchRequestReturns(result1 *ldap.SearchRequest)
func (*FakeLdap) NewSearchRequestReturnsOnCall ¶
func (fake *FakeLdap) NewSearchRequestReturnsOnCall(i int, result1 *ldap.SearchRequest)
type FakeLdapConnection ¶
type FakeLdapConnection struct { SetTimeoutStub func(timeout time.Duration) CloseStub func() BindStub func(string, string) error SearchStub func(*ldap.SearchRequest) (*ldap.SearchResult, error) // contains filtered or unexported fields }
func (*FakeLdapConnection) Bind ¶
func (fake *FakeLdapConnection) Bind(arg1 string, arg2 string) error
func (*FakeLdapConnection) BindArgsForCall ¶
func (fake *FakeLdapConnection) BindArgsForCall(i int) (string, string)
func (*FakeLdapConnection) BindCallCount ¶
func (fake *FakeLdapConnection) BindCallCount() int
func (*FakeLdapConnection) BindReturns ¶
func (fake *FakeLdapConnection) BindReturns(result1 error)
func (*FakeLdapConnection) BindReturnsOnCall ¶
func (fake *FakeLdapConnection) BindReturnsOnCall(i int, result1 error)
func (*FakeLdapConnection) Close ¶
func (fake *FakeLdapConnection) Close()
func (*FakeLdapConnection) CloseCallCount ¶
func (fake *FakeLdapConnection) CloseCallCount() int
func (*FakeLdapConnection) Invocations ¶
func (fake *FakeLdapConnection) Invocations() map[string][][]interface{}
func (*FakeLdapConnection) Search ¶
func (fake *FakeLdapConnection) Search(arg1 *ldap.SearchRequest) (*ldap.SearchResult, error)
func (*FakeLdapConnection) SearchArgsForCall ¶
func (fake *FakeLdapConnection) SearchArgsForCall(i int) *ldap.SearchRequest
func (*FakeLdapConnection) SearchCallCount ¶
func (fake *FakeLdapConnection) SearchCallCount() int
func (*FakeLdapConnection) SearchReturns ¶
func (fake *FakeLdapConnection) SearchReturns(result1 *ldap.SearchResult, result2 error)
func (*FakeLdapConnection) SearchReturnsOnCall ¶
func (fake *FakeLdapConnection) SearchReturnsOnCall(i int, result1 *ldap.SearchResult, result2 error)
func (*FakeLdapConnection) SetTimeout ¶
func (fake *FakeLdapConnection) SetTimeout(timeout time.Duration)
func (*FakeLdapConnection) SetTimeoutArgsForCall ¶
func (fake *FakeLdapConnection) SetTimeoutArgsForCall(i int) time.Duration
func (*FakeLdapConnection) SetTimeoutCallCount ¶
func (fake *FakeLdapConnection) SetTimeoutCallCount() int
Click to show internal directories.
Click to hide internal directories.