ldap

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Provider

func Provider() terraform.ResourceProvider

Provider for terraform ldap provider

Types

type API

type API struct {
	// contains filtered or unexported fields
}

API is the basic struct which should implement the interface

type APIInterface

type APIInterface interface {
	// contains filtered or unexported methods
}

APIInterface is the basic interface for LDAP API

type Computer

type Computer struct {
	// contains filtered or unexported fields
}

Computer is the base implementation of ldap computer object

type MockAPIInterface

type MockAPIInterface struct {
	mock.Mock
}

MockAPIInterface is an autogenerated mock type for the APIInterface type

type MockClient

type MockClient struct {
	mock.Mock
}

MockClient is an autogenerated mock type for the Client type

func (*MockClient) Add

func (_m *MockClient) Add(_a0 *ldap.AddRequest) error

Add provides a mock function with given fields: _a0

func (*MockClient) Bind

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

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

func (*MockClient) Close

func (_m *MockClient) Close()

Close provides a mock function with given fields:

func (*MockClient) Compare

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

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

func (*MockClient) Del

func (_m *MockClient) Del(_a0 *ldap.DelRequest) error

Del provides a mock function with given fields: _a0

func (*MockClient) ExternalBind

func (_m *MockClient) ExternalBind() error

ExternalBind provides a mock function with given fields:

func (*MockClient) Modify

func (_m *MockClient) Modify(_a0 *ldap.ModifyRequest) error

Modify provides a mock function with given fields: _a0

func (*MockClient) ModifyDN

func (_m *MockClient) ModifyDN(_a0 *ldap.ModifyDNRequest) error

ModifyDN provides a mock function with given fields: _a0

func (*MockClient) PasswordModify

func (_m *MockClient) PasswordModify(_a0 *ldap.PasswordModifyRequest) (*ldap.PasswordModifyResult, error)

PasswordModify provides a mock function with given fields: _a0

func (*MockClient) Search

func (_m *MockClient) Search(_a0 *ldap.SearchRequest) (*ldap.SearchResult, error)

Search provides a mock function with given fields: _a0

func (*MockClient) SearchWithPaging

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

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

func (*MockClient) SetTimeout

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

SetTimeout provides a mock function with given fields: _a0

func (*MockClient) SimpleBind

func (_m *MockClient) SimpleBind(_a0 *ldap.SimpleBindRequest) (*ldap.SimpleBindResult, error)

SimpleBind provides a mock function with given fields: _a0

func (*MockClient) Start

func (_m *MockClient) Start()

Start provides a mock function with given fields:

func (*MockClient) StartTLS

func (_m *MockClient) StartTLS(_a0 *tls.Config) error

StartTLS provides a mock function with given fields: _a0

func (*MockClient) UnauthenticatedBind

func (_m *MockClient) UnauthenticatedBind(username string) error

UnauthenticatedBind provides a mock function with given fields: username

type Object

type Object struct {
	// contains filtered or unexported fields
}

Object is the base implementation of ldap object

Jump to

Keyboard shortcuts

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