Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { Run(<-chan struct{}) TrackFiles(fileRefs []string) // artifacts are pushed here whenever they are read Files() <-chan Files // should show valid if the most recent update passed, otherwise a useful error Error() <-chan error }
Interface is responsible for watching artifacts referenced by a config
func NewFileWatcher ¶
func NewFileWatcher(filestore dependencies.FileStorage) (Interface, error)
Click to show internal directories.
Click to hide internal directories.