Documentation ¶ Index ¶ func NewWatchPlugin(scope *scope.Scope, rawParams manifest.RawParams, log log.Logger) (plugins.Plugin, error) type Plugin func (p *Plugin) Call(ctx *job.RunContext, r plugins.JobRunner) error func (p *Plugin) Cancel(ctx *job.RunContext) error 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 Source Files ¶ View all Source files config.go plugin.go watch.go Click to show internal directories. Click to hide internal directories.