Versions in this module Expand all Collapse all v0 v0.70.0 Jun 16, 2025 Changes in this version + const Name + type Config struct + Bundles map[string]*Source + Name string + Prefix *string + Service string + func ParseBundlesConfig(config []byte, services []string) (*Config, error) + func ParseConfig(config []byte, services []string) (*Config, error) + func (c *Config) IsMultiBundle() bool + type ConfigBuilder struct + func NewConfigBuilder() *ConfigBuilder + func (b *ConfigBuilder) Parse() (*Config, error) + func (b *ConfigBuilder) WithBytes(config []byte) *ConfigBuilder + func (b *ConfigBuilder) WithKeyConfigs(keys map[string]*keys.Config) *ConfigBuilder + func (b *ConfigBuilder) WithServices(services []string) *ConfigBuilder + func (b *ConfigBuilder) WithTriggerMode(trigger *plugins.TriggerMode) *ConfigBuilder + type Loader interface + ClearCache func() + SetCache func(string) + Start func(context.Context) + Stop func(context.Context) + Trigger func(context.Context) error + type Plugin struct + func Lookup(manager *plugins.Manager) *Plugin + func New(parsedConfig *Config, manager *plugins.Manager) *Plugin + func (p *Plugin) Config() *Config + func (p *Plugin) Loaders() map[string]Loader + func (p *Plugin) Reconfigure(ctx context.Context, config interface{}) + func (p *Plugin) Register(name interface{}, listener func(Status)) + func (p *Plugin) RegisterBulkListener(name interface{}, listener func(map[string]*Status)) + func (p *Plugin) Start(ctx context.Context) error + func (p *Plugin) Stop(ctx context.Context) + func (p *Plugin) Trigger(ctx context.Context) error + func (p *Plugin) Unregister(name interface{}) + func (p *Plugin) UnregisterBulkListener(name interface{}) + type Source struct + Persist bool + Resource string + Service string + Signing *bundle.VerificationConfig + SizeLimitBytes int64 + type Status struct + ActiveRevision string + Code string + Errors []error + HTTPCode json.Number + LastRequest time.Time + LastSuccessfulActivation time.Time + LastSuccessfulDownload time.Time + LastSuccessfulRequest time.Time + Message string + Metrics metrics.Metrics + Name string + Size int + Type string + func (s *Status) SetActivateSuccess(revision string) + func (s *Status) SetBundleSize(size int) + func (s *Status) SetDownloadSuccess() + func (s *Status) SetError(err error) + func (s *Status) SetRequest()