filewatcher

package
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Files

type Files map[string]*dependencies.File

map [ref] : *File

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL