watch

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAction

func NewAction(scope sdk.ScopeAccessor, rawParams sdk.ActionParams) (sdk.ActionHandler, error)

NewAction creates a new watch action handler instance

Types

type Action

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

Action implements plugins.Action interface

func (*Action) Call

func (a *Action) Call(ctx sdk.JobContextAccessor, r sdk.JobRunner) error

Call starts watch plugin

func (*Action) Cancel

func (a *Action) Cancel(ctx sdk.JobContextAccessor) error

Cancel stops watch plugin

Jump to

Keyboard shortcuts

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