Documentation ¶
Overview ¶
Package mock_v3 is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Add(arg0 *ldap.AddRequest) error
- func (m *MockClient) Bind(arg0, arg1 string) error
- func (m *MockClient) Close()
- func (m *MockClient) Compare(arg0, arg1, arg2 string) (bool, error)
- func (m *MockClient) Del(arg0 *ldap.DelRequest) error
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) ExternalBind() error
- func (m *MockClient) Modify(arg0 *ldap.ModifyRequest) error
- func (m *MockClient) ModifyDN(arg0 *ldap.ModifyDNRequest) error
- func (m *MockClient) PasswordModify(arg0 *ldap.PasswordModifyRequest) (*ldap.PasswordModifyResult, error)
- func (m *MockClient) Search(arg0 *ldap.SearchRequest) (*ldap.SearchResult, error)
- func (m *MockClient) SearchWithPaging(arg0 *ldap.SearchRequest, arg1 uint32) (*ldap.SearchResult, error)
- func (m *MockClient) SetTimeout(arg0 time.Duration)
- func (m *MockClient) SimpleBind(arg0 *ldap.SimpleBindRequest) (*ldap.SimpleBindResult, error)
- func (m *MockClient) Start()
- func (m *MockClient) StartTLS(arg0 *tls.Config) error
- func (m *MockClient) UnauthenticatedBind(arg0 string) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Add(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Bind(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Close() *gomock.Call
- func (mr *MockClientMockRecorder) Compare(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Del(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ExternalBind() *gomock.Call
- func (mr *MockClientMockRecorder) Modify(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ModifyDN(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) PasswordModify(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Search(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SearchWithPaging(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SimpleBind(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Start() *gomock.Call
- func (mr *MockClientMockRecorder) StartTLS(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) UnauthenticatedBind(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) Add ¶
func (m *MockClient) Add(arg0 *ldap.AddRequest) error
Add mocks base method
func (*MockClient) Compare ¶
func (m *MockClient) Compare(arg0, arg1, arg2 string) (bool, error)
Compare mocks base method
func (*MockClient) Del ¶
func (m *MockClient) Del(arg0 *ldap.DelRequest) error
Del mocks base method
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) ExternalBind ¶
func (m *MockClient) ExternalBind() error
ExternalBind mocks base method
func (*MockClient) Modify ¶
func (m *MockClient) Modify(arg0 *ldap.ModifyRequest) error
Modify mocks base method
func (*MockClient) ModifyDN ¶
func (m *MockClient) ModifyDN(arg0 *ldap.ModifyDNRequest) error
ModifyDN mocks base method
func (*MockClient) PasswordModify ¶
func (m *MockClient) PasswordModify(arg0 *ldap.PasswordModifyRequest) (*ldap.PasswordModifyResult, error)
PasswordModify mocks base method
func (*MockClient) Search ¶
func (m *MockClient) Search(arg0 *ldap.SearchRequest) (*ldap.SearchResult, error)
Search mocks base method
func (*MockClient) SearchWithPaging ¶
func (m *MockClient) SearchWithPaging(arg0 *ldap.SearchRequest, arg1 uint32) (*ldap.SearchResult, error)
SearchWithPaging mocks base method
func (*MockClient) SetTimeout ¶
func (m *MockClient) SetTimeout(arg0 time.Duration)
SetTimeout mocks base method
func (*MockClient) SimpleBind ¶
func (m *MockClient) SimpleBind(arg0 *ldap.SimpleBindRequest) (*ldap.SimpleBindResult, error)
SimpleBind mocks base method
func (*MockClient) StartTLS ¶
func (m *MockClient) StartTLS(arg0 *tls.Config) error
StartTLS mocks base method
func (*MockClient) UnauthenticatedBind ¶
func (m *MockClient) UnauthenticatedBind(arg0 string) error
UnauthenticatedBind mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) Add ¶
func (mr *MockClientMockRecorder) Add(arg0 interface{}) *gomock.Call
Add indicates an expected call of Add
func (*MockClientMockRecorder) Bind ¶
func (mr *MockClientMockRecorder) Bind(arg0, arg1 interface{}) *gomock.Call
Bind indicates an expected call of Bind
func (*MockClientMockRecorder) Close ¶
func (mr *MockClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockClientMockRecorder) Compare ¶
func (mr *MockClientMockRecorder) Compare(arg0, arg1, arg2 interface{}) *gomock.Call
Compare indicates an expected call of Compare
func (*MockClientMockRecorder) Del ¶
func (mr *MockClientMockRecorder) Del(arg0 interface{}) *gomock.Call
Del indicates an expected call of Del
func (*MockClientMockRecorder) ExternalBind ¶
func (mr *MockClientMockRecorder) ExternalBind() *gomock.Call
ExternalBind indicates an expected call of ExternalBind
func (*MockClientMockRecorder) Modify ¶
func (mr *MockClientMockRecorder) Modify(arg0 interface{}) *gomock.Call
Modify indicates an expected call of Modify
func (*MockClientMockRecorder) ModifyDN ¶
func (mr *MockClientMockRecorder) ModifyDN(arg0 interface{}) *gomock.Call
ModifyDN indicates an expected call of ModifyDN
func (*MockClientMockRecorder) PasswordModify ¶
func (mr *MockClientMockRecorder) PasswordModify(arg0 interface{}) *gomock.Call
PasswordModify indicates an expected call of PasswordModify
func (*MockClientMockRecorder) Search ¶
func (mr *MockClientMockRecorder) Search(arg0 interface{}) *gomock.Call
Search indicates an expected call of Search
func (*MockClientMockRecorder) SearchWithPaging ¶
func (mr *MockClientMockRecorder) SearchWithPaging(arg0, arg1 interface{}) *gomock.Call
SearchWithPaging indicates an expected call of SearchWithPaging
func (*MockClientMockRecorder) SetTimeout ¶
func (mr *MockClientMockRecorder) SetTimeout(arg0 interface{}) *gomock.Call
SetTimeout indicates an expected call of SetTimeout
func (*MockClientMockRecorder) SimpleBind ¶
func (mr *MockClientMockRecorder) SimpleBind(arg0 interface{}) *gomock.Call
SimpleBind indicates an expected call of SimpleBind
func (*MockClientMockRecorder) Start ¶
func (mr *MockClientMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start
func (*MockClientMockRecorder) StartTLS ¶
func (mr *MockClientMockRecorder) StartTLS(arg0 interface{}) *gomock.Call
StartTLS indicates an expected call of StartTLS
func (*MockClientMockRecorder) UnauthenticatedBind ¶
func (mr *MockClientMockRecorder) UnauthenticatedBind(arg0 interface{}) *gomock.Call
UnauthenticatedBind indicates an expected call of UnauthenticatedBind