Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustRegister ¶
func MustRegister(reg prometheus.Registerer, cs ...prometheus.Collector)
MustRegister registers all rtm metrics with the provided registerer and panics upon the first registration that causes an error.
func NewLDAPServerCollector ¶
func NewLDAPServerCollector(s *ldapserver.Server) prometheus.Collector
Types ¶
type Config ¶
type Config struct {
Logger logrus.FieldLogger
LDAPListenAddr string
LDAPBaseDN string
LDAPAllowLocalAnonymousBind bool
LDIFMain string
LDIFConfig string
LDIFDefaultCompany string
LDIFDefaultMailDomain string
LDIFTemplateExtraVars map[string]interface{}
Metrics prometheus.Registerer
OnReady func(*Server)
}
Config bundles server configuration settings.
Click to show internal directories.
Click to hide internal directories.