watch

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2018 License: Apache-2.0 Imports: 13 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 artifacts for changes, and on the first change
	// returns a reference to the changed artifact
	Start(ctx context.Context, onChange func([]*config.Artifact))
}

Watcher provides a watch trigger for the skaffold pipeline to begin

func NewWatcher added in v0.3.0

func NewWatcher(artifacts []*config.Artifact) (Watcher, error)

NewWatcher creates a new Watcher on a list of artifacts.

type WatcherFactory added in v0.3.0

type WatcherFactory func(artifacts []*config.Artifact) (Watcher, error)

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

Jump to

Keyboard shortcuts

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