Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func (*API) RegisterEndpoints ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func (*Collector) Collect ¶
func (c *Collector) Collect(ch chan<- prometheus.Metric)
func (*Collector) Describe ¶
func (c *Collector) Describe(ch chan<- *prometheus.Desc)
type LDAPMonitorWatcher ¶
type LDAPMonitorWatcher struct {
// contains filtered or unexported fields
}
func NewLDAPMonitorWatcher ¶
func NewLDAPMonitorWatcher(ldap LDAPServerInterface, monitor MonitorInterface, logger *zerolog.Logger) *LDAPMonitorWatcher
type LDAPServerAdapter ¶ added in v2.5.0
type LDAPServerAdapter struct {
// contains filtered or unexported fields
}
LDAPServerAdapter wraps ldap.Server to implement LDAPServerInterface without copying mutexes in the Stats struct
func NewLDAPServerAdapter ¶ added in v2.5.0
func NewLDAPServerAdapter(server *ldap.Server) *LDAPServerAdapter
NewLDAPServerAdapter creates a new adapter for ldap.Server
func (*LDAPServerAdapter) GetStats ¶ added in v2.5.0
func (a *LDAPServerAdapter) GetStats() StatsData
GetStats implements LDAPServerInterface.GetStats Returns stats data without the mutex to avoid copying issues
func (*LDAPServerAdapter) SetStats ¶ added in v2.5.0
func (a *LDAPServerAdapter) SetStats(enabled bool)
SetStats implements LDAPServerInterface.SetStats
type LDAPServerInterface ¶
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
func NewMonitor ¶
func (*Monitor) SetLDAPMetric ¶
type MonitorInterface ¶
Click to show internal directories.
Click to hide internal directories.