Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockLDAPClient ¶
type MockLDAPClient struct {
// contains filtered or unexported fields
}
MockLDAPClient is a mock of LDAPClient interface.
func NewMockLDAPClient ¶
func NewMockLDAPClient(ctrl *gomock.Controller) *MockLDAPClient
NewMockLDAPClient creates a new mock instance.
func (*MockLDAPClient) EXPECT ¶
func (m *MockLDAPClient) EXPECT() *MockLDAPClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLDAPClient) GetUserLDAPData ¶
func (m *MockLDAPClient) GetUserLDAPData(ctx context.Context, userID string) (map[string]interface{}, error)
GetUserLDAPData mocks base method.
type MockLDAPClientMockRecorder ¶
type MockLDAPClientMockRecorder struct {
// contains filtered or unexported fields
}
MockLDAPClientMockRecorder is the mock recorder for MockLDAPClient.
func (*MockLDAPClientMockRecorder) GetUserLDAPData ¶
func (mr *MockLDAPClientMockRecorder) GetUserLDAPData(ctx, userID interface{}) *gomock.Call
GetUserLDAPData indicates an expected call of GetUserLDAPData.
type MockLDAPConnClient ¶
type MockLDAPConnClient struct {
// contains filtered or unexported fields
}
MockLDAPConnClient is a mock of LDAPConnClient interface.
func NewMockLDAPConnClient ¶
func NewMockLDAPConnClient(ctrl *gomock.Controller) *MockLDAPConnClient
NewMockLDAPConnClient creates a new mock instance.
func (*MockLDAPConnClient) EXPECT ¶
func (m *MockLDAPConnClient) EXPECT() *MockLDAPConnClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLDAPConnClient) IsClosing ¶
func (m *MockLDAPConnClient) IsClosing() bool
IsClosing mocks base method.
func (*MockLDAPConnClient) Search ¶
func (m *MockLDAPConnClient) Search(arg0 *ldap.SearchRequest) (*ldap.SearchResult, error)
Search mocks base method.
type MockLDAPConnClientMockRecorder ¶
type MockLDAPConnClientMockRecorder struct {
// contains filtered or unexported fields
}
MockLDAPConnClientMockRecorder is the mock recorder for MockLDAPConnClient.
func (*MockLDAPConnClientMockRecorder) IsClosing ¶
func (mr *MockLDAPConnClientMockRecorder) IsClosing() *gomock.Call
IsClosing indicates an expected call of IsClosing.
func (*MockLDAPConnClientMockRecorder) Search ¶
func (mr *MockLDAPConnClientMockRecorder) Search(arg0 interface{}) *gomock.Call
Search indicates an expected call of Search.