Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeLdap
- func (fake *FakeLdap) Dial(arg1 string, arg2 string) (ldapshim.LdapConnection, error)
- func (fake *FakeLdap) DialArgsForCall(i int) (string, string)
- func (fake *FakeLdap) DialCallCount() int
- func (fake *FakeLdap) DialCalls(stub func(string, string) (ldapshim.LdapConnection, error))
- func (fake *FakeLdap) DialReturns(result1 ldapshim.LdapConnection, result2 error)
- func (fake *FakeLdap) DialReturnsOnCall(i int, result1 ldapshim.LdapConnection, result2 error)
- func (fake *FakeLdap) DialTLS(arg1 string, arg2 string, arg3 *tls.Config) (ldapshim.LdapConnection, error)
- func (fake *FakeLdap) DialTLSArgsForCall(i int) (string, string, *tls.Config)
- func (fake *FakeLdap) DialTLSCallCount() int
- func (fake *FakeLdap) DialTLSCalls(stub func(string, string, *tls.Config) (ldapshim.LdapConnection, error))
- 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) NewSearchRequestCalls(...)
- 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) BindCalls(stub func(string, string) error)
- 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) CloseCalls(stub func())
- 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) SearchCalls(stub func(*ldap.SearchRequest) (*ldap.SearchResult, error))
- func (fake *FakeLdapConnection) SearchReturns(result1 *ldap.SearchResult, result2 error)
- func (fake *FakeLdapConnection) SearchReturnsOnCall(i int, result1 *ldap.SearchResult, result2 error)
- func (fake *FakeLdapConnection) SetTimeout(arg1 time.Duration)
- func (fake *FakeLdapConnection) SetTimeoutArgsForCall(i int) time.Duration
- func (fake *FakeLdapConnection) SetTimeoutCallCount() int
- func (fake *FakeLdapConnection) SetTimeoutCalls(stub func(time.Duration))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeLdap ¶
type FakeLdap struct { DialStub func(string, string) (ldapshim.LdapConnection, error) DialTLSStub func(string, string, *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) DialTLSCalls ¶ added in v0.40.0
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) NewSearchRequestCalls ¶ added in v0.40.0
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 { BindStub func(string, string) error CloseStub func() SearchStub func(*ldap.SearchRequest) (*ldap.SearchResult, error) SetTimeoutStub func(time.Duration) // 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) BindCalls ¶ added in v0.40.0
func (fake *FakeLdapConnection) BindCalls(stub func(string, string) error)
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) CloseCalls ¶ added in v0.40.0
func (fake *FakeLdapConnection) CloseCalls(stub func())
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) SearchCalls ¶ added in v0.40.0
func (fake *FakeLdapConnection) SearchCalls(stub func(*ldap.SearchRequest) (*ldap.SearchResult, error))
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(arg1 time.Duration)
func (*FakeLdapConnection) SetTimeoutArgsForCall ¶
func (fake *FakeLdapConnection) SetTimeoutArgsForCall(i int) time.Duration
func (*FakeLdapConnection) SetTimeoutCallCount ¶
func (fake *FakeLdapConnection) SetTimeoutCallCount() int
func (*FakeLdapConnection) SetTimeoutCalls ¶ added in v0.40.0
func (fake *FakeLdapConnection) SetTimeoutCalls(stub func(time.Duration))
Click to show internal directories.
Click to hide internal directories.