Versions in this module Expand all Collapse all v0 v0.8.1 Apr 30, 2018 v0.8.0 Apr 11, 2018 Changes in this version + type Config struct + Name string + Polling PollingConfig + Service string + type Plugin struct + func New(config []byte, manager *plugins.Manager) (*Plugin, error) + func (p *Plugin) Register(name interface{}, listener func(Status)) + func (p *Plugin) Start(ctx context.Context) error + func (p *Plugin) Stop(ctx context.Context) + func (p *Plugin) Unregister(name interface{}) + type PollingConfig struct + MaxDelaySeconds *int64 + MinDelaySeconds *int64 + type Status struct + ActiveRevision string + Code string + Errors []error + LastSuccessfulActivation time.Time + LastSuccessfulDownload time.Time + Message string + Name string