Versions in this module Expand all Collapse all v1 v1.0.2 May 18, 2023 Changes in this version + type Cache interface + Bundle func() *bundleutil.Bundle + CountSVIDs func() int + Entries func() []*common.RegistrationEntry + FetchWorkloadUpdate func(selectors []*common.Selector) *cache.WorkloadUpdate + GetJWTSVID func(id spiffeid.ID, audience []string) (*client.JWTSVID, bool) + Identities func() []cache.Identity + MatchingRegistrationEntries func(selectors []*common.Selector) []*common.RegistrationEntry + SetJWTSVID func(id spiffeid.ID, audience []string, svid *client.JWTSVID) + SubscribeToBundleChanges func() *cache.BundleStream + SubscribeToWorkloadUpdates func(ctx context.Context, selectors cache.Selectors) (cache.Subscriber, error) + SyncSVIDsWithSubscribers func() + type Config struct + Bundle *managerCache.Bundle + Catalog catalog.Catalog + Clk clock.Clock + Log logrus.FieldLogger + Metrics telemetry.Metrics + NodeAttestor nodeattestor.NodeAttestor + Reattestable bool + RotationInterval time.Duration + SVID []*x509.Certificate + SVIDCacheMaxSize int + SVIDKey keymanager.Key + SVIDStoreCache *storecache.Cache + ServerAddr string + Storage storage.Storage + SyncInterval time.Duration + TrustDomain spiffeid.TrustDomain + WorkloadKeyType workloadkey.KeyType + type Manager interface + CountSVIDs func() int + FetchJWTSVID func(ctx context.Context, spiffeID spiffeid.ID, audience []string) (*client.JWTSVID, error) + FetchWorkloadUpdate func(selectors []*common.Selector) *cache.WorkloadUpdate + GetBundle func() *cache.Bundle + GetCurrentCredentials func() svid.State + GetLastSync func() time.Time + GetRotationMtx func() *sync.RWMutex + Initialize func(ctx context.Context) error + MatchingRegistrationEntries func(selectors []*common.Selector) []*common.RegistrationEntry + Run func(ctx context.Context) error + SetRotationFinishedHook func(func()) + SubscribeToBundleChanges func() *cache.BundleStream + SubscribeToCacheChanges func(ctx context.Context, key cache.Selectors) (cache.Subscriber, error) + SubscribeToSVIDChanges func() observer.Stream + func New(c *Config) Manager + type SVIDCache interface + GetStaleEntries func() []*cache.StaleEntry + UpdateEntries func(update *cache.UpdateEntries, ...) + UpdateSVIDs func(update *cache.UpdateSVIDs)