Documentation ¶
Index ¶
- type LoggerMock
- func (l *LoggerMock) CompareLogging(expected string)
- func (l *LoggerMock) Error(msg string, args ...interface{})
- func (l *LoggerMock) Fatal(msg string, args ...interface{})
- func (l *LoggerMock) Info(msg string, args ...interface{})
- func (l *LoggerMock) InfoV(v int, msg string, args ...interface{})
- func (l *LoggerMock) Warn(msg string, args ...interface{})
- type MetricsMock
- func (m *MetricsMock) AddIdleFactor(idle int)
- func (m *MetricsMock) ClearCertExpire()
- func (m *MetricsMock) ControllerProcTime(task string, duration time.Duration)
- func (m *MetricsMock) HAProxySetServerResponseTime(duration time.Duration)
- func (m *MetricsMock) HAProxyShowInfoResponseTime(duration time.Duration)
- func (m *MetricsMock) IncCertSigningExpiring(domains string, success bool)
- func (m *MetricsMock) IncCertSigningMissing(domains string, success bool)
- func (m *MetricsMock) IncCertSigningOutdated(domains string, success bool)
- func (m *MetricsMock) IncUpdateDynamic()
- func (m *MetricsMock) IncUpdateFull()
- func (m *MetricsMock) IncUpdateNoop()
- func (m *MetricsMock) SetCertExpireDate(domain, cn string, notAfter *time.Time)
- func (m *MetricsMock) UpdateSuccessful(success bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggerMock ¶
LoggerMock ...
func (*LoggerMock) CompareLogging ¶
func (l *LoggerMock) CompareLogging(expected string)
CompareLogging ...
func (*LoggerMock) InfoV ¶
func (l *LoggerMock) InfoV(v int, msg string, args ...interface{})
InfoV ...
type MetricsMock ¶ added in v0.10.1
MetricsMock ...
func (*MetricsMock) AddIdleFactor ¶ added in v0.10.1
func (m *MetricsMock) AddIdleFactor(idle int)
AddIdleFactor ...
func (*MetricsMock) ClearCertExpire ¶ added in v0.11.2
func (m *MetricsMock) ClearCertExpire()
ClearCertExpire ...
func (*MetricsMock) ControllerProcTime ¶ added in v0.10.1
func (m *MetricsMock) ControllerProcTime(task string, duration time.Duration)
ControllerProcTime ...
func (*MetricsMock) HAProxySetServerResponseTime ¶ added in v0.10.1
func (m *MetricsMock) HAProxySetServerResponseTime(duration time.Duration)
HAProxySetServerResponseTime ...
func (*MetricsMock) HAProxyShowInfoResponseTime ¶ added in v0.10.1
func (m *MetricsMock) HAProxyShowInfoResponseTime(duration time.Duration)
HAProxyShowInfoResponseTime ...
func (*MetricsMock) IncCertSigningExpiring ¶ added in v0.10.1
func (m *MetricsMock) IncCertSigningExpiring(domains string, success bool)
IncCertSigningExpiring ...
func (*MetricsMock) IncCertSigningMissing ¶ added in v0.10.1
func (m *MetricsMock) IncCertSigningMissing(domains string, success bool)
IncCertSigningMissing ...
func (*MetricsMock) IncCertSigningOutdated ¶ added in v0.10.1
func (m *MetricsMock) IncCertSigningOutdated(domains string, success bool)
IncCertSigningOutdated ...
func (*MetricsMock) IncUpdateDynamic ¶ added in v0.10.1
func (m *MetricsMock) IncUpdateDynamic()
IncUpdateDynamic ...
func (*MetricsMock) IncUpdateFull ¶ added in v0.10.1
func (m *MetricsMock) IncUpdateFull()
IncUpdateFull ...
func (*MetricsMock) IncUpdateNoop ¶ added in v0.10.1
func (m *MetricsMock) IncUpdateNoop()
IncUpdateNoop ...
func (*MetricsMock) SetCertExpireDate ¶ added in v0.10.1
func (m *MetricsMock) SetCertExpireDate(domain, cn string, notAfter *time.Time)
SetCertExpireDate ...
func (*MetricsMock) UpdateSuccessful ¶ added in v0.10.1
func (m *MetricsMock) UpdateSuccessful(success bool)
UpdateSuccessful ...
Click to show internal directories.
Click to hide internal directories.