Documentation ¶ Index ¶ func NewPlugin(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 NewPlugin ¶ func NewPlugin(scope *scope.Scope, rawParams manifest.RawParams, log log.Logger) (plugins.Plugin, error) NewPlugin creates a new plugin instance Types ¶ type Plugin ¶ type Plugin struct { // contains filtered or unexported fields } Plugin implements gilbert plugin func (*Plugin) Call ¶ func (p *Plugin) Call(ctx *job.RunContext, r plugins.JobRunner) error Call implements plugins.plugin func (*Plugin) Cancel ¶ added in v0.4.0 func (p *Plugin) Cancel(ctx *job.RunContext) error Cancel cancels plugin execution Source Files ¶ View all Source files params.go plugin.go Click to show internal directories. Click to hide internal directories.