mocks

package
v0.0.0-...-fae0776 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2018 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) Add

func (_m *Client) Add(addRequest *ldap.AddRequest) error

Add provides a mock function with given fields: addRequest

func (*Client) Bind

func (_m *Client) Bind(username string, password string) error

Bind provides a mock function with given fields: username, password

func (*Client) Close

func (_m *Client) Close()

Close provides a mock function with given fields:

func (*Client) Compare

func (_m *Client) Compare(dn string, attribute string, value string) (bool, error)

Compare provides a mock function with given fields: dn, attribute, value

func (*Client) Del

func (_m *Client) Del(delRequest *ldap.DelRequest) error

Del provides a mock function with given fields: delRequest

func (*Client) Modify

func (_m *Client) Modify(modifyRequest *ldap.ModifyRequest) error

Modify provides a mock function with given fields: modifyRequest

func (*Client) PasswordModify

func (_m *Client) PasswordModify(passwordModifyRequest *ldap.PasswordModifyRequest) (*ldap.PasswordModifyResult, error)

PasswordModify provides a mock function with given fields: passwordModifyRequest

func (*Client) Search

func (_m *Client) Search(searchRequest *ldap.SearchRequest) (*ldap.SearchResult, error)

Search provides a mock function with given fields: searchRequest

func (*Client) SearchWithPaging

func (_m *Client) SearchWithPaging(searchRequest *ldap.SearchRequest, pagingSize uint32) (*ldap.SearchResult, error)

SearchWithPaging provides a mock function with given fields: searchRequest, pagingSize

func (*Client) SetTimeout

func (_m *Client) SetTimeout(_a0 time.Duration)

SetTimeout provides a mock function with given fields: _a0

func (*Client) SimpleBind

func (_m *Client) SimpleBind(simpleBindRequest *ldap.SimpleBindRequest) (*ldap.SimpleBindResult, error)

SimpleBind provides a mock function with given fields: simpleBindRequest

func (*Client) Start

func (_m *Client) Start()

Start provides a mock function with given fields:

func (*Client) StartTLS

func (_m *Client) StartTLS(config *tls.Config) error

StartTLS provides a mock function with given fields: config

Source Files

  • Client.go

Jump to

Keyboard shortcuts

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