Documentation ¶
Overview ¶
Package mockldapconn is a generated GoMock package.
Index ¶
- type MockConn
- func (m *MockConn) Bind(username, password string) error
- func (m *MockConn) Close() error
- func (m *MockConn) EXPECT() *MockConnMockRecorder
- func (m *MockConn) Search(searchRequest *ldap.SearchRequest) (*ldap.SearchResult, error)
- func (m *MockConn) SearchWithPaging(searchRequest *ldap.SearchRequest, pagingSize uint32) (*ldap.SearchResult, error)
- type MockConnMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConn ¶
type MockConn struct {
// contains filtered or unexported fields
}
MockConn is a mock of Conn interface.
func NewMockConn ¶
func NewMockConn(ctrl *gomock.Controller) *MockConn
NewMockConn creates a new mock instance.
func (*MockConn) EXPECT ¶
func (m *MockConn) EXPECT() *MockConnMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConn) Search ¶
func (m *MockConn) Search(searchRequest *ldap.SearchRequest) (*ldap.SearchResult, error)
Search mocks base method.
func (*MockConn) SearchWithPaging ¶
func (m *MockConn) SearchWithPaging(searchRequest *ldap.SearchRequest, pagingSize uint32) (*ldap.SearchResult, error)
SearchWithPaging mocks base method.
type MockConnMockRecorder ¶
type MockConnMockRecorder struct {
// contains filtered or unexported fields
}
MockConnMockRecorder is the mock recorder for MockConn.
func (*MockConnMockRecorder) Bind ¶
func (mr *MockConnMockRecorder) Bind(username, password any) *gomock.Call
Bind indicates an expected call of Bind.
func (*MockConnMockRecorder) Close ¶
func (mr *MockConnMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockConnMockRecorder) Search ¶
func (mr *MockConnMockRecorder) Search(searchRequest any) *gomock.Call
Search indicates an expected call of Search.
func (*MockConnMockRecorder) SearchWithPaging ¶
func (mr *MockConnMockRecorder) SearchWithPaging(searchRequest, pagingSize any) *gomock.Call
SearchWithPaging indicates an expected call of SearchWithPaging.
Click to show internal directories.
Click to hide internal directories.