mock_v3

package
v0.0.0-...-7ff62be Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_v3 is a generated GoMock package.

Index

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) Bind

func (m *MockClient) Bind(arg0, arg1 string) error

Bind mocks base method.

func (*MockClient) Close

func (m *MockClient) Close() error

Close 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) DirSync

func (m *MockClient) DirSync(arg0 *ldap.SearchRequest, arg1, arg2 int64, arg3 []byte) (*ldap.SearchResult, error)

DirSync mocks base method.

func (*MockClient) DirSyncAsync

func (m *MockClient) DirSyncAsync(arg0 context.Context, arg1 *ldap.SearchRequest, arg2 int, arg3, arg4 int64, arg5 []byte) ldap.Response

DirSyncAsync 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) GetLastError

func (m *MockClient) GetLastError() error

GetLastError mocks base method.

func (*MockClient) IsClosing

func (m *MockClient) IsClosing() bool

IsClosing 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) ModifyWithResult

func (m *MockClient) ModifyWithResult(arg0 *ldap.ModifyRequest) (*ldap.ModifyResult, error)

ModifyWithResult mocks base method.

func (*MockClient) NTLMUnauthenticatedBind

func (m *MockClient) NTLMUnauthenticatedBind(arg0, arg1 string) error

NTLMUnauthenticatedBind 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) SearchAsync

func (m *MockClient) SearchAsync(arg0 context.Context, arg1 *ldap.SearchRequest, arg2 int) ldap.Response

SearchAsync 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) Start

func (m *MockClient) Start()

Start mocks base method.

func (*MockClient) StartTLS

func (m *MockClient) StartTLS(arg0 *tls.Config) error

StartTLS mocks base method.

func (*MockClient) Syncrepl

func (m *MockClient) Syncrepl(arg0 context.Context, arg1 *ldap.SearchRequest, arg2 int, arg3 ldap.ControlSyncRequestMode, arg4 []byte, arg5 bool) ldap.Response

Syncrepl mocks base method.

func (*MockClient) TLSConnectionState

func (m *MockClient) TLSConnectionState() (tls.ConnectionState, bool)

TLSConnectionState mocks base method.

func (*MockClient) UnauthenticatedBind

func (m *MockClient) UnauthenticatedBind(arg0 string) error

UnauthenticatedBind mocks base method.

func (*MockClient) Unbind

func (m *MockClient) Unbind() error

Unbind 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) DirSync

func (mr *MockClientMockRecorder) DirSync(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DirSync indicates an expected call of DirSync.

func (*MockClientMockRecorder) DirSyncAsync

func (mr *MockClientMockRecorder) DirSyncAsync(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

DirSyncAsync indicates an expected call of DirSyncAsync.

func (*MockClientMockRecorder) ExternalBind

func (mr *MockClientMockRecorder) ExternalBind() *gomock.Call

ExternalBind indicates an expected call of ExternalBind.

func (*MockClientMockRecorder) GetLastError

func (mr *MockClientMockRecorder) GetLastError() *gomock.Call

GetLastError indicates an expected call of GetLastError.

func (*MockClientMockRecorder) IsClosing

func (mr *MockClientMockRecorder) IsClosing() *gomock.Call

IsClosing indicates an expected call of IsClosing.

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) ModifyWithResult

func (mr *MockClientMockRecorder) ModifyWithResult(arg0 interface{}) *gomock.Call

ModifyWithResult indicates an expected call of ModifyWithResult.

func (*MockClientMockRecorder) NTLMUnauthenticatedBind

func (mr *MockClientMockRecorder) NTLMUnauthenticatedBind(arg0, arg1 interface{}) *gomock.Call

NTLMUnauthenticatedBind indicates an expected call of NTLMUnauthenticatedBind.

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) SearchAsync

func (mr *MockClientMockRecorder) SearchAsync(arg0, arg1, arg2 interface{}) *gomock.Call

SearchAsync indicates an expected call of SearchAsync.

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) Syncrepl

func (mr *MockClientMockRecorder) Syncrepl(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

Syncrepl indicates an expected call of Syncrepl.

func (*MockClientMockRecorder) TLSConnectionState

func (mr *MockClientMockRecorder) TLSConnectionState() *gomock.Call

TLSConnectionState indicates an expected call of TLSConnectionState.

func (*MockClientMockRecorder) UnauthenticatedBind

func (mr *MockClientMockRecorder) UnauthenticatedBind(arg0 interface{}) *gomock.Call

UnauthenticatedBind indicates an expected call of UnauthenticatedBind.

func (*MockClientMockRecorder) Unbind

func (mr *MockClientMockRecorder) Unbind() *gomock.Call

Unbind indicates an expected call of Unbind.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL