Versions in this module Expand all Collapse all v1 v1.0.2 May 18, 2023 Changes in this version + const DefaultRotatorInterval + type Observer interface + State func() State + type ObserverFunc func() State + func (fn ObserverFunc) State() State + type Rotator struct + func NewRotator(c *RotatorConfig) *Rotator + func (r *Rotator) Initialize(ctx context.Context) error + func (r *Rotator) Interval() time.Duration + func (r *Rotator) Run(ctx context.Context) error + func (r *Rotator) State() State + func (r *Rotator) Subscribe() observer.Stream + type RotatorConfig struct + Clock clock.Clock + Interval time.Duration + KeyType keymanager.KeyType + Log logrus.FieldLogger + Metrics telemetry.Metrics + ServerCA ca.ServerCA + TrustDomain spiffeid.TrustDomain + type State struct + Key crypto.Signer + SVID []*x509.Certificate