Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { common.DBService Create(ldap *v1Ldap.Ldap, options common.DBOptions) error List(options common.DBOptions) ([]v1Ldap.Ldap, error) Update(id string, ldap *v1Ldap.Ldap, options common.DBOptions) error GetById(id string, options common.DBOptions) (*v1Ldap.Ldap, error) Delete(id string, options common.DBOptions) error Sync(id string, options common.DBOptions) error Login(user v1User.User, password string, options common.DBOptions) error TestConnect(ldap *v1Ldap.Ldap) (int, error) TestLogin(username string, password string) error ImportUsers(users []v1User.ImportUser) (v1User.ImportResult, error) CheckStatus() bool GetLdapUser() ([]v1User.ImportUser, error) }
func NewService ¶
func NewService() Service
Click to show internal directories.
Click to hide internal directories.