Versions in this module Expand all Collapse all v0 v0.0.2 Oct 15, 2024 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 any) (*BuildableConfig, error) + func (bc *BuildableConfig) Build(opts BuildOptions) (Provider, error) + func (bc *BuildableConfig) String() string + type Builder interface + Name func() string + ParseConfig func(any) (*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 any, opts BuildOptions) (Provider, error)