-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_ldap_conf.go
32 lines (30 loc) · 1.08 KB
/
model_ldap_conf.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
* Harbor API
*
* These APIs provide services for manipulating Harbor project.
*
* API version: 2.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package swagger
// The ldap configure properties
type LdapConf struct {
// The url of ldap service.
LdapUrl string `json:"ldap_url,omitempty"`
// The search dn of ldap service.
LdapSearchDn string `json:"ldap_search_dn,omitempty"`
// The search password of ldap service.
LdapSearchPassword string `json:"ldap_search_password,omitempty"`
// The base dn of ldap service.
LdapBaseDn string `json:"ldap_base_dn,omitempty"`
// The serach filter of ldap service.
LdapFilter string `json:"ldap_filter,omitempty"`
// The serach uid from ldap service attributes.
LdapUid string `json:"ldap_uid,omitempty"`
// The serach scope of ldap service.
LdapScope int64 `json:"ldap_scope,omitempty"`
// The connect timeout of ldap service(second).
LdapConnectionTimeout int64 `json:"ldap_connection_timeout,omitempty"`
// Verify Ldap server certificate.
LdapVerifyCert bool `json:"ldap_verify_cert,omitempty"`
}