watch

package
v0.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

type Watcher interface {
	// Start watches a set of files for changes, and calls `onChange`
	// on each file change.
	Start(ctx context.Context, out io.Writer, onChange func([]string) error) error
}

Watcher provides a watch trigger for the skaffold pipeline to begin

func NewWatcher added in v0.3.0

func NewWatcher(paths []string) (Watcher, error)

NewWatcher creates a new Watcher on a list of files.

type WatcherFactory added in v0.3.0

type WatcherFactory func(paths []string) (Watcher, error)

WatcherFactory can build Watchers from a list of files to be watched for changes

Jump to

Keyboard shortcuts

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