mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-29 08:43:50 +00:00
Migrate to built-in Go vendoring.
This also removes `godep` calls from make scripts. Of note is that currently `./...` checking in acceptance tests is disabled.
This commit is contained in:
23
vendor/github.com/go-ldap/ldap/client.go
generated
vendored
Normal file
23
vendor/github.com/go-ldap/ldap/client.go
generated
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
package ldap
|
||||
|
||||
import "crypto/tls"
|
||||
|
||||
// Client knows how to interact with an LDAP server
|
||||
type Client interface {
|
||||
Start()
|
||||
StartTLS(config *tls.Config) error
|
||||
Close()
|
||||
|
||||
Bind(username, password string) error
|
||||
SimpleBind(simpleBindRequest *SimpleBindRequest) (*SimpleBindResult, error)
|
||||
|
||||
Add(addRequest *AddRequest) error
|
||||
Del(delRequest *DelRequest) error
|
||||
Modify(modifyRequest *ModifyRequest) error
|
||||
|
||||
Compare(dn, attribute, value string) (bool, error)
|
||||
PasswordModify(passwordModifyRequest *PasswordModifyRequest) (*PasswordModifyResult, error)
|
||||
|
||||
Search(searchRequest *SearchRequest) (*SearchResult, error)
|
||||
SearchWithPaging(searchRequest *SearchRequest, pagingSize uint32) (*SearchResult, error)
|
||||
}
|
||||
Reference in New Issue
Block a user