keydeletion

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyDeletionServer

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

func NewServer

func NewServer(db *pgxpool.Pool, encryptor interface {
	DecryptCredentials(accessKey, secretKey string) (string, string, error)
}) *KeyDeletionServer

func (*KeyDeletionServer) DeleteKeys

func (s *KeyDeletionServer) DeleteKeys(ctx context.Context, log *slog.Logger) (int, error)

DeleteKeys provides backward compatibility for tests - uses the old HTTP-based deletion method

func (*KeyDeletionServer) DeleteObjects added in v0.1.12

func (s *KeyDeletionServer) DeleteObjects(ctx context.Context, log *slog.Logger) (int, error)

func (*KeyDeletionServer) Start

func (s *KeyDeletionServer) Start(ctx context.Context, log *slog.Logger)

func (*KeyDeletionServer) WithConcurrency added in v0.1.13

func (s *KeyDeletionServer) WithConcurrency(concurrency int) *KeyDeletionServer

WithConcurrency sets the number of concurrent deletion workers

Jump to

Keyboard shortcuts

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