Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsReporter ¶
type MetricsReporter interface {
handlercommand.MetricsReporter
}
type Options ¶
type Options struct {
Logger *zap.Logger
Config *config.Handler
Journal *journal.Journal
// Path to the changed file.
ChangedFile string
// Directory for storing execution-related files.
BaseDir string
// Whether the attempt is the last one before giving up.
Final bool
// Function to acquire a lock preventing concurrent file changes by handler
// logic.
AcquireLock func()
// Interface for reporting metrics.
Metrics MetricsReporter
}
Click to show internal directories.
Click to hide internal directories.