Versions in this module Expand all Collapse all v1 v1.0.0 Dec 20, 2024 Changes in this version + const Name + func BootConfig(bootConfig map[string]interface{}) func(*Discovery) + func Factories(fs map[string]plugins.Factory) func(*Discovery) + func Hooks(hs hooks.Hooks) func(*Discovery) + func Metrics(m metrics.Metrics) func(*Discovery) + type Config struct + Decision *string + Name *string + Persist bool + Prefix *string + Resource *string + Service string + Signing *bundle.VerificationConfig + func ParseConfig(bs []byte, services []string) (*Config, error) + 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 + type Discovery struct + func Lookup(manager *plugins.Manager) *Discovery + func New(manager *plugins.Manager, opts ...func(*Discovery)) (*Discovery, error) + func (*Discovery) Reconfigure(context.Context, interface{}) + func (c *Discovery) RegisterListener(name interface{}, f func(bundle.Status)) + func (c *Discovery) Start(ctx context.Context) error + func (c *Discovery) Stop(ctx context.Context) + func (c *Discovery) Trigger(ctx context.Context) error + func (c *Discovery) TriggerMode() *plugins.TriggerMode + func (c *Discovery) Unregister(name interface{})