Versions in this module Expand all Collapse all v1 v1.50.0 Sep 24, 2021 v1.41.0 Sep 23, 2021 Changes in this version + func Register(b Builder) + type BuildOptions struct + CertName string + WantIdentity bool + WantRoot bool + type BuildableConfig struct + func NewBuildableConfig(name string, config []byte, starter func(BuildOptions) Provider) *BuildableConfig + func ParseConfig(name string, config interface{}) (*BuildableConfig, error) + func (bc *BuildableConfig) Build(opts BuildOptions) (Provider, error) + func (bc *BuildableConfig) String() string + type Builder interface + Name func() string + ParseConfig func(interface{}) (*BuildableConfig, error) + type Distributor struct + func NewDistributor() *Distributor + func (d *Distributor) KeyMaterial(ctx context.Context) (*KeyMaterial, error) + func (d *Distributor) Set(km *KeyMaterial, err error) + func (d *Distributor) Stop() + type KeyMaterial struct + Certs []tls.Certificate + Roots *x509.CertPool + type Provider interface + Close func() + KeyMaterial func(ctx context.Context) (*KeyMaterial, error) + func GetProvider(name string, config interface{}, opts BuildOptions) (Provider, error)