Documentation
¶
Overview ¶
Package credentialrekeysvc owns the privileged, resumable product-key sweep.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchResult ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(txm postgres.TransactionManager, repo credentialrekey.Repository, ring *crypto.CredentialKeyring, audit eventssvc.Service) (*Service, error)
func (*Service) Batch ¶
func (s *Service) Batch(ctx context.Context, after credentialrekey.Cursor, limit int32) (BatchResult, error)
Batch commits a bounded sweep and its audit together. Advance the caller's checkpoint only on success; repeat a full sweep after concurrent conflicts.
Click to show internal directories.
Click to hide internal directories.