opcache

package
v1.0.77 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultIdGenerator

func DefaultIdGenerator() operation.IdGenerator

DefaultIdGenerator returns a nano ID generator, falling back to UUID

Types

type Registry

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

Registry implements operation.Registry with in-memory storage

func NewRegistry

func NewRegistry(idGenerator operation.IdGenerator) *Registry

NewRegistry creates a new operation registry

func (*Registry) ActiveOperations

func (r *Registry) ActiveOperations() int

func (*Registry) Cancel

func (r *Registry) Cancel(opID operation.ID) error

func (*Registry) HasChanges

func (r *Registry) HasChanges() bool

func (*Registry) ListReports

func (r *Registry) ListReports() []operation.UnifiedReport

func (*Registry) MarkTerminated

func (r *Registry) MarkTerminated(opID operation.ID) error

func (*Registry) MutateReport

func (r *Registry) MutateReport(opID operation.ID, mutator func(report *operation.Report)) error

func (*Registry) NewOperation

func (r *Registry) NewOperation(vault library.VaultName, action operation.Action) operation.Handle

Jump to

Keyboard shortcuts

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