Documentation ¶
Index ¶
- func Provider() terraform.ResourceProvider
- type API
- type APIInterface
- type Computer
- type MockAPIInterface
- type MockClient
- func (_m *MockClient) Add(_a0 *ldap.AddRequest) error
- func (_m *MockClient) Bind(username string, password string) error
- func (_m *MockClient) Close()
- func (_m *MockClient) Compare(dn string, attribute string, value string) (bool, error)
- func (_m *MockClient) Del(_a0 *ldap.DelRequest) error
- func (_m *MockClient) ExternalBind() error
- func (_m *MockClient) Modify(_a0 *ldap.ModifyRequest) error
- func (_m *MockClient) ModifyDN(_a0 *ldap.ModifyDNRequest) error
- func (_m *MockClient) PasswordModify(_a0 *ldap.PasswordModifyRequest) (*ldap.PasswordModifyResult, error)
- func (_m *MockClient) Search(_a0 *ldap.SearchRequest) (*ldap.SearchResult, error)
- func (_m *MockClient) SearchWithPaging(searchRequest *ldap.SearchRequest, pagingSize uint32) (*ldap.SearchResult, error)
- func (_m *MockClient) SetTimeout(_a0 time.Duration)
- func (_m *MockClient) SimpleBind(_a0 *ldap.SimpleBindRequest) (*ldap.SimpleBindResult, error)
- func (_m *MockClient) Start()
- func (_m *MockClient) StartTLS(_a0 *tls.Config) error
- func (_m *MockClient) UnauthenticatedBind(username string) error
- type Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
MockAPIInterface is an autogenerated mock type for the APIInterface type
type MockClient ¶
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 ¶
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