Versions in this module Expand all Collapse all v0 v0.1.0 Oct 12, 2026 Changes in this version + type BackupFunc func(ctx context.Context) (BackupInfo, error) + func LocalBackup(p *local.Provider) BackupFunc + type BackupInfo struct + Acknowledged uint64 + AcknowledgedAt time.Time + Behind uint64 + Generation uint64 + Note string + UpToDate bool + type CryptoStatus struct + Algorithms []string + FIPSEnforced bool + FIPSMode bool + ModuleVersion string + Profile string + type FailedJob struct + Consecutive int + KEKID string + Kind string + Purpose string + Version uint32 + type JobsStatus struct + Failed []FailedJob + InFlight int + Waiting int + type Options struct + Backups map[string]BackupFunc + Clock keyforge.Clock + Logger *slog.Logger + Policy policy.Set + Providers []provider.Provider + Purposes []keyforge.Purpose + Rotator *rotate.Rotator + Scheduler *jobs.Scheduler + Selector *algorithm.Selector + Store registry.Store + type PolicyStatus struct + DEKMaxAge time.Duration + DEKMaxEncryptions uint64 + KEKInterval time.Duration + RequireBackup bool + RetainVersions int + RetirementDelay time.Duration + type ProviderStatus struct + Backup *BackupInfo + BackupError string + Error string + Healthy bool + Name string + type PurposeStatus struct + ActiveVersion uint32 + DataKeys map[string]int + Error string + KEKID string + NextRotation time.Time + Overdue bool + OverdueBy time.Duration + Policy PolicyStatus + Provider string + Purpose string + Versions []VersionStatus + type Report struct + Crypto CryptoStatus + GeneratedAt time.Time + Healthy bool + Jobs *JobsStatus + Problems []string + Providers []ProviderStatus + Purposes []PurposeStatus + Shreds []ShredSummary + type Reporter struct + func New(o Options) (*Reporter, error) + func (r *Reporter) Purpose(ctx context.Context, purpose keyforge.Purpose) PurposeStatus + func (r *Reporter) Report(ctx context.Context) Report + type ShredSummary struct + ExpectedBy time.Time + PendingVersions int + Purpose string + RequestedAt time.Time + Subject string + type VersionStatus struct + ActivatedAt time.Time + Reasons []string + References int + Retirable bool + RetireAfter time.Time + RotatedAt time.Time + State string + Version uint32