engine

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: AGPL-3.0, AGPL-3.0-only Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotSupported = errors.New("operation not supported")

ErrNotSupported indicates an operation is not available for a given engine.

Functions

func Unsupported

func Unsupported(op, eng string) error

Unsupported returns a consistent error for unsupported operation+engine combinations. All operation registries use this so error shape is predictable.

Types

type NopSink

type NopSink struct{}

NopSink discards all step events.

func (NopSink) Step

func (NopSink) Step(string, string)

type StepSink

type StepSink interface {
	Step(name, status string)
}

StepSink receives lifecycle step events from operation services.

Directories

Path Synopsis
Package cnpgjob provides the shared "offline PVC job" primitive used by every HASteward operation that needs EXCLUSIVE ownership of a CNPG instance's RWO PVC while the instance is down — repair (clear + pg_basebackup), the deadlock breaker (clear-only), and WAL pruning.
Package cnpgjob provides the shared "offline PVC job" primitive used by every HASteward operation that needs EXCLUSIVE ownership of a CNPG instance's RWO PVC while the instance is down — repair (clear + pg_basebackup), the deadlock breaker (clear-only), and WAL pruning.
Package escrow provides storage-agnostic, verified, reversible escrow of a recovery set (a set of PVCs) before a destructive in-place operation.
Package escrow provides storage-agnostic, verified, reversible escrow of a recovery set (a set of PVCs) before a destructive in-place operation.

Jump to

Keyboard shortcuts

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