Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RotationConfig ¶
type RotationPolicy ¶
type RotationPolicy struct {
// contains filtered or unexported fields
}
func NewRotationPolicy ¶
func NewRotationPolicy( keyStore *keystore.HSMKeyStore, metrics *metrics.QuantumStorageMetrics, tracer tracing.Tracer, config RotationConfig, ) *RotationPolicy
func (*RotationPolicy) EmergencyRotation ¶
func (r *RotationPolicy) EmergencyRotation(ctx context.Context, keyID string) error
func (*RotationPolicy) Stop ¶
func (r *RotationPolicy) Stop()
type RotationSchedule ¶
type RotationScheduler ¶
type RotationScheduler struct {
// contains filtered or unexported fields
}
func NewRotationScheduler ¶
func NewRotationScheduler( policy *RotationPolicy, keyStore *keystore.HSMKeyStore, metrics *metrics.QuantumStorageMetrics, tracer tracing.Tracer, ) *RotationScheduler
func (*RotationScheduler) AddSchedule ¶
func (rs *RotationScheduler) AddSchedule(ctx context.Context, schedule *RotationSchedule) error
func (*RotationScheduler) Start ¶
func (rs *RotationScheduler) Start()
func (*RotationScheduler) Stop ¶
func (rs *RotationScheduler) Stop()
type ScheduleStatus ¶
type ScheduleStatus string
const ( ScheduleStatusActive ScheduleStatus = "active" ScheduleStatusInactive ScheduleStatus = "inactive" ScheduleStatusError ScheduleStatus = "error" )
Click to show internal directories.
Click to hide internal directories.