Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages CT log watchers
type ManagerInterface ¶
type ManagerInterface interface {
Start(ctx context.Context) error
GetStats() map[string]models.WorkerStats
}
func NewManager ¶
func NewManager(config *configs.Config, logger *zap.Logger, clientManager client.ManagerInterface, certBuffer buffer.CertificateBufferInterface) ManagerInterface
NewManager creates a new watcher manager
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
Watcher watches a single CT log for new certificates
func (*Watcher) GetStats ¶
func (w *Watcher) GetStats() models.WorkerStats
GetStats returns watcher statistics
type WatcherInterface ¶
type WatcherInterface interface {
// Start starts the watcher
Start(ctx context.Context)
// GetStats returns watcher statistics
GetStats() models.WorkerStats
}
func NewWatcher ¶
func NewWatcher(config *configs.Config, logger *zap.Logger, log models.CTLog, operatorName string, clientManager client.ManagerInterface, certBuffer buffer.CertificateBufferInterface) WatcherInterface
NewWatcher creates a new CT log watcher
Click to show internal directories.
Click to hide internal directories.