watch

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2019 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWatchPlugin

func NewWatchPlugin(scope *scope.Scope, rawParams manifest.RawParams, log log.Logger) (plugins.Plugin, error)

NewWatchPlugin creates a new plugin instance

Types

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

Plugin implements plugins.Plugin interface

func (*Plugin) Call

func (p *Plugin) Call(ctx *job.RunContext, r plugins.JobRunner) error

Call starts watch plugin

func (*Plugin) Cancel

func (p *Plugin) Cancel(ctx *job.RunContext) error

Cancel stops watch plugin

Jump to

Keyboard shortcuts

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