credentialrekeysvc

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

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 BatchResult struct {
	After     credentialrekey.Cursor `json:"after"`
	Scanned   int                    `json:"scanned"`
	Rekeyed   int                    `json:"rekeyed"`
	Current   int                    `json:"current"`
	Conflicts int                    `json:"conflicts"`
	Done      bool                   `json:"done"`
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL